Skip to content
VS Code

Docmost (self-hosted) for VS Code

io.github.bbik52/docmost-mcp-remote

Self-hosted remote MCP server for Docmost CE: members read and edit the wiki as themselves

client:VS Code transport:stdio runtime:oci

Install Docmost (self-hosted) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "public-url",
      "description": "PUBLIC_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "docmost-url",
      "description": "DOCMOST_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "database-url",
      "description": "DATABASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "secret-key",
      "description": "SECRET_KEY",
      "password": true
    }
  ],
  "servers": {
    "docmost-mcp-remote": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bbik52/docmost-mcp-remote:1.1.0"
      ],
      "env": {
        "PUBLIC_URL": "${input:public-url}",
        "DOCMOST_URL": "${input:docmost-url}",
        "DATABASE_URL": "${input:database-url}",
        "SECRET_KEY": "${input:secret-key}"
      }
    }
  }
}

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