Skip to content
VS Code

Docmost (self-hosted) for VS Code

io.github.punyamsingh/docmost-mcp

Read, search, edit and comment on self-hosted Docmost pages in Markdown. No Enterprise API key.

client:VS Code transport:stdio runtime:npm

Install Docmost (self-hosted) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "docmost-url",
      "description": "DOCMOST_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "docmost-email",
      "description": "DOCMOST_EMAIL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "docmost-password",
      "description": "DOCMOST_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "docmost-collab-url",
      "description": "DOCMOST_COLLAB_URL",
      "password": true
    }
  ],
  "servers": {
    "docmost-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@punyamsingh/docmost-mcp"
      ],
      "env": {
        "DOCMOST_URL": "${input:docmost-url}",
        "DOCMOST_EMAIL": "${input:docmost-email}",
        "DOCMOST_PASSWORD": "${input:docmost-password}",
        "DOCMOST_COLLAB_URL": "${input:docmost-collab-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Docmost (self-hosted) in other clients