MCP.so
登录

McpDocServer MCP Server

@ruan11223344

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

ruan11223344

关于 McpDocServer MCP Server

一个基于MCP协议的开发文档服务器,专为各类开发框架文档设计

#mcpdocserver#documentation-server#mcp-protocol

McpDocServer MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

McpDocServer MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

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.

3

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.

4

What are the runtime dependencies?

Node.js, plus the `puppeteer` package for crawling. Optionally set `PUPPETEER_SKIP_DOWNLOAD` if you already have Chrome installed.

5

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 服务器