BMad Simple MCP - A lightweight MCP server for BMad Agent Documentation
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"bmad-simple-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# BMad Simple MCP 一个轻量级的Model Context Protocol (MCP)服务器,专门用于管理和提供BMad项目的agent文档。 ## 功能特性 - 📚 **文档管理**: 自动扫描和管理document目录下的.md和.txt文件(支持3层深度) - 🔄 **实时通知**: 通过MCP notification主动推送index.md内容到客户端 - 🌐 **双传输模式**: 支持STDIO和SSE两种传输方式 - 🛡️ **安全访问**: 内置文件访问安全控制,防止目录遍历攻击 - 🎯 **MCP兼容**: 完全符合MCP协议规范,支持资源、工具和通知功能 - 📦 **自动初始化**: 运行时自动检测并初始化document目录 ## 安装 使用uv安装: ```bash uv add bmad-simple-mcp ``` 或从源码安装: ```bash git clone https://github.com/bmad-team/bmad-simple-mcp cd bmad-simple-mcp uv sync ``` ## 使用方法 ### STDIO模式(推荐用于IDE集成) ```bash python server.py --transport stdio ``` ### SSE模式(推荐用于Web应用) ```bash python server.py --transport sse --port 8080 ``` ### 命令行参数 - `--transport {stdio,sse}`: 传输方式(默认:stdio) - `--host HOST`: SSE模式的主机地址(默认:0.0.0.0) - `--port PORT`: SSE模式的端口号(默认:8000) ## 目录结构 ``` bmad-simple-mcp/ ├── server.py # 主服务器文件 ├── document/ # 文档目录 │ ├── index.md # 文档索引(自动通过notification推送) │ └── *.md, *.txt # 其他文档文件 ├── README.md # 本文件 └── pyproject.toml # 项目配置 ``` ## MCP功能 ### 资源 (Resources) - `document://index.md` - 文档索引页面(包含完整内容) - `document://<filename>` - 其他文档文件 ### 工具 (Tools) - `read_document` - 读取指定文档内容 - `list_documents` - 列出所有可用文档 ### 通知 (Notifications) - `notifications/resources/updated` - 资源更新通知 - `notifications/message` - 日志消息(index.md内容推送) ## BMad Agent文档 本服务器专门为BMad项目的agent文档设计,document目录包含: - **index.md**: 文档索引和导航 - **agent配置文档**: 各种agent的配置说明 - **使用指南**: 详细的使用说明和最佳实践 - **API文档**: 相关API接口说明 ## 大模型集成示例 ### 提示词模板 以下是与BMad Simple MCP集成的大模型提示词示例,可以让AI助手智能地访问和使用文档资源: ``` 保持用中文与用户交流 ===指令表=== 指令:-> 用户输入 : `->文件名` 执行:列出资源,加载资源中的 `文件名.md` 或者 `文件名.txt` ``` ### 使用示例 当用户输入以下指令时,AI助手会自动访问相应的文档: ``` 用户: -> architect 助手: [自动读取 agents/architect.txt 文件内容] 用户: -> bmad-master 助手: [自动读取 agents/bmad-master.txt 文件内容] 用户: ->team-fullstack 助手: [自动读取 team-fullstack.txt 文件内容] 用户: ->index 助手: [自动读取 index.md 文件内容] ``` ### 集成优势 - **智能文档检索**: AI助手可以根据用户意图自动选择最合适的文档 - **简化交互**: 用…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.