Basic information

Runtime
JavaScript
License
MIT
Transports
stdio
Author
askme765cs
Submitted by
Community
Quality
10
Stars
18

About Open Docs Mcp Server

# open-docs-mcp MCP Server

Open Docs Mcp is a MCP server in the Memory & Knowledge category listed in the AddMCP.net directory, published by askme765cs. It exposes 8 tools, including enable_doc, disable_doc, crawl_docs, build_index and more. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 18 GitHub stars. Source code is hosted on github.com. Related topics: document-management, mcp, mcp-server, open-docs-mcp.

Setup

{
    "mcpServers": {
        "open-docs-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "open-docs-mcp",
                "--docsDir",
                "/path/to/docs"
            ]
        }
    }
}

Open Docs Mcp config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "open-docs-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "open-docs-mcp",
                "--docsDir",
                "/path/to/docs"
            ]
        }
    }
}

Open Docs Mcp tools

  • enable_doc — Enable crawling for a specific doc
    name:string*
  • disable_doc — Disable crawling for a specific doc
    name:string*
  • crawl_docs — Start crawling enabled docs
    force:boolean
  • build_index — Build search index for docs
    force:boolean
  • search_docs — Search documentation
    query:string*, max_results:number, doc_name:string, offset:number
  • build_index — Build search index for docs
    force:boolean
  • list_enabled_docs — List all enabled docs with their cache status
    verbose:boolean
  • list_all_docs — List all available docs including disabled ones
    verbose:boolean

Overview

What is Open Docs Mcp?

Open Docs Mcp is an open-source MCP server that provides document management functionality. It crawls and indexes documentation from various sources, supports multiple document formats, and offers full-text search capabilities. It is designed for developers and AI assistants that need to retrieve documentation context via the MCP protocol, replicating Cursor’s @Docs functionality.

How to use Open Docs Mcp?

Run npx -y open-docs-mcp --docsDir ./docs to start the server. For Claude Desktop, add the server configuration to claude_desktop_config.json with the required --docsDir argument pointing to your documentation directory. Development commands include npm run watch for auto-rebuild and npm run inspector for debugging with MCP Inspector.

Key features of Open Docs Mcp

  • Crawls and indexes documentation from various sources
  • Supports multiple document formats (HTML, Markdown, etc.)
  • Full-text search with relevance scoring
  • Resource-based and tool-based MCP API
  • Automatic re-indexing to keep docs up-to-date

Use cases of Open Docs Mcp

  • Index documentation from external sources for AI context
  • Search across all indexed documentation using MCP tools
  • Add new documentation sources via the enable_doc tool
  • Force re-crawl of docs with crawl_docs tool
  • Manage enabled docs through list_enabled_docs

Frequently asked questions

1 What are the system requirements?

Node.js >= 16.0.0 and TypeScript 4.9.5 are required.

2 How do I configure Open Docs Mcp with Claude Desktop?

Add the server configuration to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%/Claude/claude_desktop_config.json on Windows, specifying command, args (including --docsDir), and optionally disabled and alwaysAllow.

3 What tools are available in Open Docs Mcp?

The server provides seven tools: enable_doc, disable_doc, crawl_docs, build_index, search_docs, list_enabled_docs, and list_all_docs.

4 How do I add a new documentation source?

Use the enable_doc tool to start crawling a specific documentation source.

5 Where does the indexed data live?

Data is stored in the directory specified by the --docsDir argument when starting the server.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬