Skip to main content
Glama

open-docs-mcp MCP サーバー

鍛冶屋のバッジ ライセンス ノードバージョン タイプスクリプト

ドキュメント管理機能を提供するオープンソース MCP 実装。

特徴

ドキュメント管理

  • さまざまなソースからのドキュメントをクロールしてインデックスする

  • 複数のドキュメント形式のサポート

  • 全文検索機能

MCP サーバー API

  • リソースベースのドキュメントへのアクセス

  • ツールベースのドキュメント管理

利用可能なツール

  1. enable_doc - 特定のドキュメントのクロールを有効にする

  2. disable_doc - 特定のドキュメントのクロールを無効にする

  3. クロールが有効になっているドキュメントのクロールを開始する

  4. build_index - ドキュメントの検索インデックスを構築する

  5. search_docs - ドキュメントを検索

  6. list_enabled_docs - 有効なドキュメントを一覧表示する

  7. list_all_docs - 利用可能なすべてのドキュメントを一覧表示する

カーソル@Docsの互換性

このプロジェクトは、以下を提供することで Cursor の @Docs 機能を再現することを目的としています。

  1. ドキュメントのインデックス作成:

    • さまざまなソースからのドキュメントをクロールしてインデックスする

    • 複数のドキュメント形式(HTML、Markdown など)のサポート

    • ドキュメントを最新の状態に保つための自動再インデックス

  2. ドキュメントアクセス:

    • インデックスされたすべてのドキュメントを検索

    • AIコンテキストのためのMCPプロトコルとの統合

  3. カスタムドキュメント管理:

    • 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 ./docs

Smithery経由でインストール

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 tools
build_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

    B3.4/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct action: building index, crawling, enabling/disabling docs, listing with different filters, and searching. No overlap in purpose.

    Naming Consistency4/5

    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.

    Tool Count5/5

    Seven tools is well-scoped for a documentation search server. Each tool serves a necessary function without bloat or deficiency.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An 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
      16 npm
      263
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An 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 included
      34 npm
      30
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      An 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,029
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP (Model Context Protocol) server for efficiently managing Markdown documents in Cursor AI IDE, supporting CRUD operations, search, and metadata management.
      -