
MKDOCS-MCP
MKDOCS插件可为MCP服务
3 years
Works with Finder
1
Github Watches
0
Github Forks
1
Github Stars
mkdocs-mcp
MkDocs Plugin to Serve MCP
A proof-of-concept — feedback welcome!
mkdocs-mcp
is an experimental plugin designed to integrate an MCP server into the MkDocs workflow. Due to limitations in MkDocs, the native mkdocs serve
command cannot be overridden.
Instead, this project provides the mkdocs_mcp
script to handle the build process and launch the MCP server.
Quick Start
Requirements
This project uses uv
for dependency management and virtual environments.
Running the MCP Server
To start the MCP server:
uv run python src/mkdocs_mcp/ -mt stdio
MkDocs Configuration
Make sure to include mcp
in your mkdocs.yml
plugin list:
plugins:
- mcp:
naming_style: src_file # "src_file"(default), "dst_url" or "title"
prefer_markdown: True # By default the source markdown is used, set to False to convert the output HTML to markdown
Using Claude Desktop with WSL
If you're working with Claude Desktop and WSL, configure your claude_desktop_config.json
as follows (adjust paths as needed):
{
"mcpServers": {
"mkdocs": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"/home/urs/.cargo/bin/uv run --directory /home/urs/projects/mkdocs-mcp python src/mkdocs_mcp/ -mt stdio"
]
}
}
}
Inspecting the MCP Server
For development and debugging, you can directly inspect the MCP server:
uv run mcp dev src/mkdocs_mcp/__main__.py
Notes
- This project is still in the early proof-of-concept stage.
- Contributions and feedback are highly encouraged!
Thanks for checking out mkdocs-mcp
!
相关推荐
在AWS lambda功能中运行现有的模型上下文协议(MCP)基于stdio的服务器
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
Reviews

user_dYMIPPpR
I've been using mkdocs-mcp by ubaumann and it has significantly improved my documentation workflow. It's simple to use and highly customizable, making it a great tool for developers. The welcome information is clear, and starting with the provided URL is straightforward. If you need efficient documentation management, I highly recommend mkdocs-mcp!

user_EZbT1zwS
I've been using mkdocs-mcp for a while now and I'm highly impressed by its functionality. Created by ubaumann, this tool has significantly streamlined my documentation process. The interface is user-friendly and the customization options are excellent. If you're looking for a reliable documentation generator, mkdocs-mcp is definitely worth considering!

user_eX0WbuTM
I've been using mkdocs-mcp for a while now and I'm thoroughly impressed. The integration with MkDocs is seamless and it makes managing my documentation project a breeze. Kudos to ubaumann for creating such a reliable and user-friendly tool. Highly recommended!

user_sNya19w4
As an ardent user of mkdocs-mcp, I can confidently say this tool is a game-changer. Its seamless integration and intuitive design, crafted by ubaumann, make documentation a breeze. It significantly enhances my productivity and the quality of my projects. Highly recommend it to anyone who needs efficient and effective documentation solutions!