MkDocs

•
1
•
已认领
管理

Search and read one or more public MkDocs sites through a single HTTP MCP endpoint using their published search indexes.

MkDocs MCP is a read-only Model Context Protocol server for public MkDocs documentation. Configure one or more sites with MKDOCS_MCP_SITES. The server fetches each site's published search/search_index.json, builds a BM25 index over document sections, and returns relevant results with source site names and links to the original pages. MCP clients can search, list pages, read indexed page text and sections, find runbooks or examples, and get page outlines for summaries. The server refreshes indexes periodically and keeps the last good content for a site if a refresh fails. It serves Streamable HTTP at /mcp without MCP client authentication, with optional rate limiting, health checks, and Prometheus metrics. Deployment examples include Docker and a Helm chart. Page content comes from the published search index, so original Markdown, Git authors, Git history, and pages excluded from the index are unavailable.

主要功能

01Search one or multiple public MkDocs sites through one MCP endpoint
02BM25 section search using each site's published search_index.json
03Read indexed page text and return links to the original docs
04Streamable HTTP transport for MCP clients
05Periodic index refresh with last-good content kept on failure
06Health checks, Prometheus metrics, and a Helm chart

使用案例

01Let AI assistants search published team documentation from IDEs and MCP clients
02Find relevant sections and link users back to the source documentation
03Search several MkDocs documentation sites from one MCP endpoint