# mkdocs MCP server

> Enables AI clients to search and retrieve content from published MkDocs sites using BM25 search over HTTP.

- Repository: https://github.com/ehsanmsb/mkdocs-mcp
- Page: https://hostedmcp.org/servers/ehsanmsb/mkdocs-mcp
- Transport: —
- Stars: 1
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MKDOCS_MCP_SITES` | no | no |  |

## FAQ

### Does this server require cloning the documentation repository?

No, the server does not clone the repository; it searches the published search index instead.

### How can I search multiple MkDocs sites at once?

You can search multiple sites through a single endpoint by adding multiple entries to the MKDOCS_MCP_SITES environment variable.

### What happens if one of the configured sites fails to refresh?

The server will keep the last successful content for the failing site while allowing other sites to remain searchable.

### Where can I find the MCP connection URL?

Opening the root URL in a browser shows the server status and the MCP connection URL.
