open-docs-mcp
open-docs-mcp MCP サーバー
ドキュメント管理機能を提供するオープンソース MCP 実装。
特徴
ドキュメント管理
さまざまなソースからのドキュメントをクロールしてインデックスする
複数のドキュメント形式のサポート
全文検索機能
MCP サーバー API
リソースベースのドキュメントへのアクセス
ツールベースのドキュメント管理
利用可能なツール
enable_doc - 特定のドキュメントのクロールを有効にする
disable_doc - 特定のドキュメントのクロールを無効にする
クロールが有効になっているドキュメントのクロールを開始する
build_index - ドキュメントの検索インデックスを構築する
search_docs - ドキュメントを検索
list_enabled_docs - 有効なドキュメントを一覧表示する
list_all_docs - 利用可能なすべてのドキュメントを一覧表示する
カーソル@Docsの互換性
このプロジェクトは、以下を提供することで Cursor の @Docs 機能を再現することを目的としています。
ドキュメントのインデックス作成:
さまざまなソースからのドキュメントをクロールしてインデックスする
複数のドキュメント形式(HTML、Markdown など)のサポート
ドキュメントを最新の状態に保つための自動再インデックス
ドキュメントアクセス:
インデックスされたすべてのドキュメントを検索
AIコンテキストのためのMCPプロトコルとの統合
カスタムドキュメント管理:
enable_docツールを使用して新しいドキュメントソースを追加するlist_enabled_docsツールを使用して有効なドキュメントを管理するcrawl_docsツールで強制的に再クロールする
建築
┌───────────────────────────────────────────────────────┐
│ open-docs-mcp Server │
├───────────────────┬───────────────────┬───────────────┤
│ Crawler Module │ Search Engine │ MCP Server │
├───────────────────┼───────────────────┼───────────────┤
│ - Web crawling │ - Full-text index │ - Resources │
│ - Doc conversion │ - Relevance score │ - Tools │
│ - Storage │ - Query parsing │ - Prompts │
└───────────────────┴───────────────────┴───────────────┘Related MCP server: @sanderkooger/mcp-server-ragdocs
使用法
npx -y open-docs-mcp --docsDir ./docsSmithery経由でインストール
Smithery経由で Claude Desktop 用の Document Management Server を自動的にインストールするには:
npx -y @smithery/cli install @askme765cs/open-docs-mcp --client claude構成
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"open-docs-mcp": {
"command": "npx",
"args": [
"-y",
"open-docs-mcp",
"--docsDir",
"/path/to/docs"
]
}
}
}構成オプション:
command: Node.js実行ファイルargs: スクリプトに渡す引数の配列--docsDir: 必須。ドキュメントディレクトリのパスを指定します。
disabled: サーバーを一時的に無効にするには true に設定しますalwaysAllow: 確認なしで使用できるツール名の配列
発達
npm run watch # Auto-rebuild on changes
npm run inspector # Debug with MCP Inspector貢献
プルリクエストは歓迎します。大きな変更については、まずイシューを開いて、変更したい点についてご相談ください。
ライセンス
Available Tools
7 toolsbuild_indexC
Build search index for docs
Inputs: force.
crawl_docsC
Start crawling enabled docs
Inputs: force.
disable_docB
Disable crawling for a specific doc
Inputs: name (required).
enable_docC
Enable crawling for a specific doc
Inputs: name (required).
list_all_docsA
List all available docs including disabled ones
Inputs: verbose.
list_enabled_docsB
List all enabled docs with their cache status
Inputs: verbose.
search_docsC
Search documentation
Inputs: query (required), max_results, doc_name, offset.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct action: building index, crawling, enabling/disabling docs, listing with different filters, and searching. No overlap in purpose.
Most tools follow verb_noun pattern (crawl_docs, disable_doc, etc.), but there is a minor inconsistency: 'disable_doc' and 'enable_doc' use singular 'doc' while others use plural 'docs'. Overall pattern is clear.
Seven tools is well-scoped for a documentation search server. Each tool serves a necessary function without bloat or deficiency.
The set covers core lifecycle: enabling/disabling docs, listing, crawling, indexing, and searching. Missing a manual add or delete doc tool, but these may be implicit in the crawling workflow.
Maintenance
Related MCP Connectors
MCP server for developer documentation, generated by doc2mcp.
MCP server for agentverse documentation, generated by doc2mcp.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server for developers documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context16 npm263MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context. Uses Ollama or OpenAI to generate embeddings. Docker files included34 npm30MIT
- AlicenseNot gradedqualityFmaintenanceAn MCP server that provides tools to load and fetch documentation from any llms.txt source, giving users full control over context retrieval for LLMs in IDE agents and applications.1,029MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP (Model Context Protocol) server for efficiently managing Markdown documents in Cursor AI IDE, supporting CRUD operations, search, and metadata management.-