McpDocServer

McpDocServer

50

McpDocServer is a documentation server using the MCP protocol to centralize and streamline access to development framework documents. It features document crawling, accurate API information retrieval, and cross-platform compatibility, enhancing development accuracy and efficiency.

McpDocServer

A development documentation server based on the MCP protocol, designed for various development framework documents. It offers features such as multi-threaded document crawling, local document loading, keyword search, and document detail retrieval.

Key Features

  • Local JSON file loading for framework document data
  • Powerful document search capabilities
  • Document details query
  • Automatic recognition of available document sources
  • Targeted queries for specific document sources
  • Crawls external documents and converts them to a locally usable format
  • Allows document reloading triggered by 'reload' search

Installation and Usage

  • Set up the environment variable for Puppeteer if Chrome is installed locally
  • Create crawler configuration in the config directory
  • Run the server with npm start
  • Run tests with npm test

MCP Tools

  • search_docs: Search documents with parameters like query, source, and limit
  • get_doc_detail: Retrieve document details with id and source parameters

Future Plans

  1. Local document loading without network dependency
  2. Multilingual document support