Skip to content
VS Code

Wiki.js for VS Code

io.github.ni-c/wikijs-mcp

Search, read and edit Wiki.js pages, and manage its assets, users, groups and comments

client:VS Code transport:stdio runtime:npm

Install Wiki.js in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wikijs-url",
      "description": "WIKIJS_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wikijs-token",
      "description": "WIKIJS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wikijs-locale",
      "description": "WIKIJS_LOCALE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wikijs-read-only",
      "description": "WIKIJS_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wikijs-allowed-paths",
      "description": "WIKIJS_ALLOWED_PATHS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wikijs-allow-tools",
      "description": "WIKIJS_ALLOW_TOOLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wikijs-deny-tools",
      "description": "WIKIJS_DENY_TOOLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wikijs-insecure-tls",
      "description": "WIKIJS_INSECURE_TLS",
      "password": true
    }
  ],
  "servers": {
    "wikijs-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/wikijs-mcp"
      ],
      "env": {
        "WIKIJS_URL": "${input:wikijs-url}",
        "WIKIJS_TOKEN": "${input:wikijs-token}",
        "WIKIJS_LOCALE": "${input:wikijs-locale}",
        "WIKIJS_READ_ONLY": "${input:wikijs-read-only}",
        "WIKIJS_ALLOWED_PATHS": "${input:wikijs-allowed-paths}",
        "WIKIJS_ALLOW_TOOLS": "${input:wikijs-allow-tools}",
        "WIKIJS_DENY_TOOLS": "${input:wikijs-deny-tools}",
        "WIKIJS_INSECURE_TLS": "${input:wikijs-insecure-tls}"
      }
    }
  }
}

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

Wiki.js in other clients