About Server Yuque.git
Server Yuque.git is an MCP server for managing Yuque accounts, teams, knowledge bases and documents. It suits users who want an MCP client or language model to search and maintain Yuque content through the Yuque API.
Key features
- 01Check Yuque API connectivity
- 02Search documents, knowledge bases, users and teams
- 03Manage teams and team members
- 04Create and maintain knowledge bases
- 05Create, edit and inspect documents
- 06Manage tables of contents and version history
Use cases
- 01Find documents or knowledge bases across Yuque
- 02Update team membership and roles
- 03Create or revise knowledge bases and documents
- 04Inspect document versions and table of contents
MCP support
Exposes Yuque API operations as tools for MCP clients, including search and user, team, knowledge base and document management. Access uses a Yuque API token.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEYuque API MCP Server
An MCP (Model Context Protocol) server for Yuque APIs, enabling large language models to interact with Yuque API seamlessly.
Features
This server provides the following tools for interacting with Yuque API:
User Management
hello- Check if Yuque API connection is working properlyget-current-user- Get detailed information of the current authorized user
Search
search- Search for documents, knowledge bases, users, or teams
Team (Group) Management
get-user-groups- Get list of teams a user has joinedget-group-users- Get list of members in a teamupdate-group-user- Update a team member's roledelete-group-user- Remove a member from a teamget-group-stats- Get statistics of a teamget-group-repos- Get list of knowledge bases created by a team
Repository (Knowledge Base) Management
get-user-repos- Get list of knowledge bases created by a usercreate-repo- Create a new knowledge baseupdate-repo- Update knowledge base informationdelete-repo- Delete a knowledge baseget-repo-detail- Get detailed information about a knowledge base
Document Management
get-book-docs-list- Get document list of a knowledge baseget-book-doc-detail- Get detailed information of a document in a knowledge basecreate-book-doc- Create a new document in a knowledge baseupdate-book-doc- Update a document in a knowledge basedelete-book-doc- Delete a document from a knowledge baseget-group-docs-list- Get document list of a team knowledge baseget-group-doc-detail- Get detailed information of a document in a team knowledge basecreate-group-doc- Create a new document in a team knowledge baseupdate-group-doc- Update a document in a team knowledge basedelete-group-doc- Delete a document from a team knowledge baseget-doc-versions- Get document version historyget-doc-version-detail- Get document version details
Table of Contents (TOC) Management
get-book-toc- Get table of contents (TOC) for a knowledge baseupdate-book-toc- Update table of contents (TOC) for a knowledge baseget-group-book-toc- Get table of contents (TOC) for a team knowledge baseupdate-group-book-toc- Update table of contents (TOC) for a team knowledge base
Installation and Usage
Prerequisites
- Node.js 16.x or higher
- Yuque API Token
Installation
# Install dependencies
pnpm install
# Build the project
pnpm build
Configuration
Set the YUQUE_API_TOKEN environment variable to authorize access to the Yuque API:
export YUQUE_API_TOKEN="your-api-token-here"
Running
# Start the server
pnpm start
Using in VS Code
This project is configured to be recognized by the VS Code MCP plugin. If you have the VS Code MCP plugin installed, you can use this server directly in VS Code:
- Select MCP as "server-yuque"
- Enter your Yuque API Token
- Start using Yuque MCP Server in VS Code
{
"servers": {
"yuque-api": {
"type": "stdio",
"command": "node",
"args": ["server-yuque"],
"env": {
"YUQUE_API_TOKEN": "YOUR_YUQUE_API_TOKEN"
}
}
}
}
How to Get a Yuque API Token
- Log in to the Yuque website (www.yuque.com)
- Go to your personal settings page
- Click on "Developer Settings"
- Create a new API Token
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.