Skip to main content
Glama
serverless-dna

MkDocs MCP Search Server

MkDocs MCP 検索サーバー

MkDocsを利用したあらゆるサイトに検索機能を提供する、モデルコンテキストプロトコル (MCP) サーバーです。このサーバーは、 Lunr.Js検索エンジンを使用した既存の MkDocs 検索実装に依存しています。

Claude デスクトップ クイックスタート

インストール手順に従ってください。Claude Desktopユーザー向けのモデルコンテキストプロトコルクイックスタートに従ってください。MCP設定ファイルに以下のセクションを追加する必要があります。

{
  "mcpServers": {
    "my-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@serverless-dna/mkdocs-mcp",
        "https://your-doc-site",
        "Describe what you are enabling search for to help your AI Agent"
      ]
    }
  }
}

Related MCP server: MkDocs MCP Server

概要

このプロジェクトは、大規模言語モデル(LLM)が公開mkdocsドキュメントサイトを検索できるようにするMCPサーバーを実装します。lunr.jsを使用して効率的なローカル検索機能を提供し、結果を要約してユーザーに提示できるようにします。

特徴

  • LLMとの統合のためのMCP準拠サーバー

  • lunr.js インデックスを使用したローカル検索

  • バージョン固有のドキュメント検索機能

インストール

# Install dependencies
pnpm install

# Build the project
pnpm build

使用法

サーバーは、stdio 経由で通信する MCP サーバーとして実行できます。

npx -y @serverless-dna/mkdocs-mcp https://your-doc-site.com

検索ツール

サーバーは、次のパラメータを持つsearch_docsツールを提供します。

  • search : 検索クエリ文字列

  • version : オプションのバージョン文字列(デフォルトは「latest」)

発達

建物

pnpm build

テスト

pnpm test

クロードデスクトップMCP構成

開発中は、次の構成を使用して、Claude Desktop で MCP サーバーを実行できます。

以下の構成は、Windows Subsystem for Linux (WSL) を使用して開発中に Windows の claude デスクトップで実行している様子を示しています。Mac や Linux 環境でも同様の方法で実行できます。

出力はバンドル ファイルであり、すべての依存関係がバンドルされているため、Windows にインストールされた Node で MCP サーバーを実行できます。

{
  "mcpServers": {
    "powertools": {
	"command": "node",
	"args": [
	  "\\\\wsl$\\Ubuntu\\home\\walmsles\\dev\\serverless-dna\\mkdocs-mcp\\dist\\index.js",
    "Search online documentation"
	]
    }
  }
}

仕組み

  1. サーバーは、サポートされているランタイムごとに事前に構築されたlunr.jsインデックスをロードします。

  2. 検索要求を受信すると、次の処理が行われます。

    • バージョンに基づいて適切なインデックスをロードします(現在は最新に固定されています)

    • lunr.jsを使用して検索を実行します

    • 検索結果をJSONとして返します

  3. LLMはこれらの結果を使用して、関連するドキュメントページを見つけることができます。

ライセンス

マサチューセッツ工科大学

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to interact with MkDocs documentation through intelligent search (keyword, vector, and hybrid), document retrieval, and automatic indexing. Automatically detects and launches MkDocs projects for seamless documentation querying.
    10
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to access and search MkDocs documentation through tools for full-text search, page navigation, and code block extraction. It serves documentation pages as readable resources and provides structural outlines to help LLMs navigate documentation content.
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Enables interaction with MkDocs documentation through the MCP protocol, allowing AI assistants to read, search, and retrieve documentation content from MkDocs projects.
    9
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Enables AI assistants like Claude to search and retrieve technical documentation from a local DevDocs instance for hundreds of programming languages and frameworks.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.

  • Jina AI Reader/Search MCP — turn any URL into clean LLM-ready markdown, plus web search.

  • Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/serverless-dna/mkdocs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server