open-docs-mcp logo

open-docs-mcp

by askme765cs

An open-source MCP implementation providing document management functionality. It aims to replicate Cursor's @Docs functionality by providing document indexing, access, and custom management.

View on GitHub

Last updated: N/A

What is open-docs-mcp?

open-docs-mcp is an MCP server that crawls, indexes, and provides access to documentation from various sources. It supports multiple document formats and offers full-text search capabilities, aiming to replicate the functionality of Cursor's @Docs.

How to use open-docs-mcp?

The server can be installed via Smithery or run directly using npx open-docs-mcp --docsDir ./docs. Configuration for Claude Desktop involves adding a server config to the claude_desktop_config.json file, specifying the command, arguments (including the --docsDir path), and other options like disabling the server or always allowing certain tools.

Key features of open-docs-mcp

  • Crawls and indexes documentation from various sources

  • Supports multiple document formats (HTML, Markdown, etc.)

  • Provides full-text search capabilities

  • Offers resource-based access to documents via MCP Server API

  • Includes tools for enabling, disabling, and crawling documentation

  • Supports automatic re-indexing to keep docs up-to-date

Use cases of open-docs-mcp

  • Providing context to AI models by indexing relevant documentation

  • Creating a searchable knowledge base from multiple document sources

  • Integrating document management into AI workflows using the MCP protocol

  • Enabling users to add and manage custom documentation sources

FAQ from open-docs-mcp

What document formats are supported?

The server supports multiple document formats, including HTML and Markdown.

How do I add new documentation sources?

You can add new documentation sources using the enable_doc tool.

How do I update the index after adding new documents?

You can force a re-crawl using the crawl_docs tool.

How do I search the indexed documentation?

You can search the documentation using the search_docs tool.

How do I integrate this with Claude Desktop?

You need to add the server configuration to the claude_desktop_config.json file, specifying the command and arguments.