Skip to content
VS Code

yuque mcp for VS Code

io.github.yuque/yuque-mcp

MCP server for Yuque — expose your knowledge base to AI assistants.

client:VS Code transport:stdio runtime:npm

Install yuque mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "yuque-personal-token",
      "description": "YUQUE_PERSONAL_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yuque-group-token",
      "description": "YUQUE_GROUP_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yuque-token",
      "description": "YUQUE_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "yuque-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yuque-mcp"
      ],
      "env": {
        "YUQUE_PERSONAL_TOKEN": "${input:yuque-personal-token}",
        "YUQUE_GROUP_TOKEN": "${input:yuque-group-token}",
        "YUQUE_TOKEN": "${input:yuque-token}"
      }
    }
  }
}

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

yuque mcp in other clients