Yuque MCP for VS Code
io.github.wwwwujl/yuque-mcp
Yuque MCP server with safe read/write tools for groups, group members, repositories, docs, and TOC.
client:VS Code
transport:stdio
runtime:npm
Install Yuque MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "yuque-token",
"description": "YUQUE_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "yuque-endpoint",
"description": "YUQUE_ENDPOINT",
"password": true
},
{
"type": "promptString",
"id": "yuque-timeout-ms",
"description": "YUQUE_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "yuque-max-retries",
"description": "YUQUE_MAX_RETRIES",
"password": true
},
{
"type": "promptString",
"id": "yuque-allow-write",
"description": "YUQUE_ALLOW_WRITE",
"password": true
},
{
"type": "promptString",
"id": "yuque-write-namespace-allowlist",
"description": "YUQUE_WRITE_NAMESPACE_ALLOWLIST",
"password": true
},
{
"type": "promptString",
"id": "yuque-write-group-allowlist",
"description": "YUQUE_WRITE_GROUP_ALLOWLIST",
"password": true
},
{
"type": "promptString",
"id": "yuque-allow-delete",
"description": "YUQUE_ALLOW_DELETE",
"password": true
},
{
"type": "promptString",
"id": "yuque-delete-namespace-allowlist",
"description": "YUQUE_DELETE_NAMESPACE_ALLOWLIST",
"password": true
},
{
"type": "promptString",
"id": "yuque-file-root",
"description": "YUQUE_FILE_ROOT",
"password": true
},
{
"type": "promptString",
"id": "yuque-file-max-bytes",
"description": "YUQUE_FILE_MAX_BYTES",
"password": true
},
{
"type": "promptString",
"id": "yuque-file-allowed-extensions",
"description": "YUQUE_FILE_ALLOWED_EXTENSIONS",
"password": true
}
],
"servers": {
"yuque-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@wwwwwujl/yuque-mcp"
],
"env": {
"YUQUE_TOKEN": "${input:yuque-token}",
"YUQUE_ENDPOINT": "${input:yuque-endpoint}",
"YUQUE_TIMEOUT_MS": "${input:yuque-timeout-ms}",
"YUQUE_MAX_RETRIES": "${input:yuque-max-retries}",
"YUQUE_ALLOW_WRITE": "${input:yuque-allow-write}",
"YUQUE_WRITE_NAMESPACE_ALLOWLIST": "${input:yuque-write-namespace-allowlist}",
"YUQUE_WRITE_GROUP_ALLOWLIST": "${input:yuque-write-group-allowlist}",
"YUQUE_ALLOW_DELETE": "${input:yuque-allow-delete}",
"YUQUE_DELETE_NAMESPACE_ALLOWLIST": "${input:yuque-delete-namespace-allowlist}",
"YUQUE_FILE_ROOT": "${input:yuque-file-root}",
"YUQUE_FILE_MAX_BYTES": "${input:yuque-file-max-bytes}",
"YUQUE_FILE_ALLOWED_EXTENSIONS": "${input:yuque-file-allowed-extensions}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs