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"
]
}
}
}仕組み
サーバーは、サポートされているランタイムごとに事前に構築されたlunr.jsインデックスをロードします。
検索要求を受信すると、次の処理が行われます。
バージョンに基づいて適切なインデックスをロードします(現在は最新に固定されています)
lunr.jsを使用して検索を実行します
検索結果をJSONとして返します
LLMはこれらの結果を使用して、関連するドキュメントページを見つけることができます。
ライセンス
マサチューセッツ工科大学
This server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceEnables 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.10MIT
- Alicense-qualityDmaintenanceEnables 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
- Alicense-qualityCmaintenanceEnables interaction with MkDocs documentation through the MCP protocol, allowing AI assistants to read, search, and retrieve documentation content from MkDocs projects.9MIT
- Alicense-qualityCmaintenanceEnables AI assistants like Claude to search and retrieve technical documentation from a local DevDocs instance for hundreds of programming languages and frameworks.1MIT
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…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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