MkDocs MCP Server
by ehsanmsb
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MKDOCS_MCP_GIT_URL | No | URL of the docs git repository to clone (when source mode is git) | |
| MKDOCS_MCP_TENANTS | No | Restrict tenant segments (JSON array of strings) | [] |
| MKDOCS_MCP_BASE_URL | No | Base URL for deep-links to documentation pages | http://localhost:8000 |
| MKDOCS_MCP_REPO_DIR | No | Path to the local docs repository directory (required for local and search_index modes) | |
| MKDOCS_MCP_AUTH_MODE | No | Authentication mode: none or bearer | bearer |
| MKDOCS_MCP_SOURCE_MODE | No | Source mode: git, search_index, or local | local |
| MKDOCS_MCP_TOPICS_FILE | No | Path to YAML file with custom topic taxonomy | |
| MKDOCS_MCP_BEARER_TOKENS | No | Comma-separated list of bearer tokens for regular users | |
| MKDOCS_MCP_MKDOCS_CONFIG | No | Path to mkdocs.yml configuration file | mkdocs.yml |
| MKDOCS_MCP_FEATURED_TOPICS | No | Comma-separated list of topics that get a find_<topic>_docs alias | k8s/argocd/terraform/vault/gitlab |
| MKDOCS_MCP_EMBEDDINGS_MODEL | No | Embedding model for semantic search (only used if embeddings enabled) | BAAI/bge-m3 |
| MKDOCS_MCP_EMBEDDINGS_ENABLED | No | Enable semantic/hybrid search (requires vectors extra) | false |
| MKDOCS_MCP_BEARER_ADMIN_TOKENS | No | Comma-separated list of bearer tokens with admin scope | |
| MKDOCS_MCP_REINDEX_INTERVAL_MINUTES | No | Interval in minutes for automatic reindexing (0 disables) | 30 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/ehsanmsb/mkdocs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server