McpDocServer
@ruan11223344
关于 McpDocServer
一个基于MCP协议的开发文档服务器,专为各类开发框架文档设计
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is McpDocServer?
McpDocServer is an MCP (Model Context Protocol) server for development framework documentation. It provides multi-threaded documentation crawling, local document loading, keyword search, and document detail retrieval. It is designed to solve AI hallucination problems in Cursor by delivering accurate, up-to-date API information directly from official sources.
How to use McpDocServer?
Clone the repository, optionally set PUPPETEER_SKIP_DOWNLOAD to skip Puppeteer’s Chrome download, then run npm install. Create a crawler config in config/doc-sources.js and run npm run crawl to fetch documentation into the docs/ folder. Start the server with npm start. The server exposes two MCP tools: search_docs (search with optional source/limit) and get_doc_detail (get page content by ID). Integrate with Cursor by adding the absolute path to server.js in your mcp.json.
Key features of McpDocServer
- Load documentation from local JSON files
- Full-text keyword search across all loaded sources
- Retrieve detailed content of a specific document page
- Crawl external documentation websites and convert to local format
- Reload all documents by searching for “reload”
- Multi-threaded crawler with configurable concurrency and retries
Use cases of McpDocServer
- Provide Cursor AI with precise, real-time framework API documentation
- Eliminate outdated or nonexistent API recommendations in code generation
- Reduce version confusion by referencing the exact documentation source
- Offer accurate method signatures and parameter lists for a framework
- Integrate official documentation into any MCP-compatible agent or IDE
FAQ from McpDocServer
What frameworks can I use with McpDocServer?
Any framework or library is supported — you only need to create a crawler configuration with the site URL, include/exclude patterns, and run the crawler.
Where does the documentation data live?
All crawled documentation is stored as JSON files in the docs/ directory. The server automatically loads every JSON file in that folder on startup.
How do I reload documentation without restarting the server?
Call the search_docs tool with query set to "reload". This will trigger a full reload of all document sources.
What are the runtime dependencies?
Node.js, plus the puppeteer package for crawling. Optionally set PUPPETEER_SKIP_DOWNLOAD if you already have Chrome installed.
What MCP tools does the server provide?
Two tools: search_docs (required parameter query, optional source and limit) and get_doc_detail (required id, optional source).
其他 分类下的更多 MCP 服务器
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Nginx UI
0xJackyYet another WebUI for Nginx
ICSS
chokcoco不止于 CSS
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
评论