MCP Server
MCP
Yuque MCP
Yuque MCP server with safe read/write tools for groups, group members, repositories, docs, and TOC.
Install
npx -y @wwwwwujl/[email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "@wwwwwujl/yuque-mcp",
"version": "1.1.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Yuque API token",
"isRequired": true,
"format": "string",
"isSecret": true,
"name": "YUQUE_TOKEN"
},
{
"description": "Yuque API endpoint (optional)",
"format": "string",
"name": "YUQUE_ENDPOINT"
},
{
"description": "Yuque API timeout in milliseconds (optional)",
"format": "number",
"name": "YUQUE_TIMEOUT_MS"
},
{
"description": "Read-only retry count (optional)",
"format": "number",
"name": "YUQUE_MAX_RETRIES"
},
{
"description": "Enable write tools when true (optional, default false)",
"format": "boolean",
"name": "YUQUE_ALLOW_WRITE"
},
{
"description": "Comma-separated namespace allowlist for repo/doc/toc writes (optional)",
"format": "string",
"name": "YUQUE_WRITE_NAMESPACE_ALLOWLIST"
},
{
"description": "Comma-separated group login allowlist for group writes (optional)",
"format": "string",
"name": "YUQUE_WRITE_GROUP_ALLOWLIST"
},
{
"description": "Enable delete tools when true (optional, default false)",
"format": "boolean",
"name": "YUQUE_ALLOW_DELETE"
},
{
"description": "Comma-separated delete allowlist targets (optional)",
"format": "string",
"name": "YUQUE_DELETE_NAMESPACE_ALLOWLIST"
},
{
"description": "Allowed root directory for file-based doc tools (optional, default current working directory)",
"format": "string",
"name": "YUQUE_FILE_ROOT"
},
{
"description": "Maximum size for file-based doc tools (optional, default 1048576)",
"format": "number",
"name": "YUQUE_FILE_MAX_BYTES"
},
{
"description": "Comma-separated allowed extensions for file-based doc tools (optional, default .md,.markdown,.txt)",
"format": "string",
"name": "YUQUE_FILE_ALLOWED_EXTENSIONS"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment