HenryHaoson_Yuque-MCP-Server

HenryHaoson_Yuque-MCP-Server

3.5

A Model-Context-Protocol (MCP) server for integrating with the Yuque API, inspired by Figma-Context-MCP.

Top Comments

The Yuque MCP Server provides tools for interacting with the Yuque knowledge base platform, allowing AI models to perform operations such as retrieving user and document information, creating, reading, updating, and deleting documents, searching content within Yuque, and obtaining knowledge base information and analytics. This server is designed to facilitate seamless integration with AI models that support the Model-Context-Protocol, enabling them to interact with Yuque data through defined tools.

Features

  • User and Document Management: Retrieve and manage user and document information within Yuque.
  • Content Search: Search for documents or content within the Yuque platform with filtering options.
  • Team Statistics: Obtain comprehensive statistics and analytics for teams, members, and documents.
  • Document Management: Create, update, and delete documents in various formats (Markdown, HTML, Lake).
  • Dynamic Configuration: Override environment settings using query parameters for flexible service configuration.

MCP Tools

  • {'get_current_user': 'Retrieve information about the currently authenticated user.'}
  • {'get_user_docs': 'Get a list of all documents for the current user, including private and collaborative documents.'}
  • {'create_doc': 'Create a new document in a specified knowledge base with support for multiple content formats.'}
  • {'update_doc': 'Update an existing document in Yuque, including title, content, or permission settings.'}
  • {'search': 'Search for documents or content within the Yuque platform with scope and author filters.'}

Usage with Different Platforms

docker_compose

bash
docker-compose up -d

docker_manual

bash
docker build -t yuque-mcp-server .
docker run -d -p 3000:3000 --name yuque-mcp-server yuque-mcp-server

sse_endpoint

http
http://localhost:3000/sse?accessToken=your_token_here&baseUrl=https://custom.yuque.api/v2