D365文档MCP服务器
一个轻量级的MCP服务器,在Dynamics 365 Management Reporter文档中提供关键字搜索。不需要API密钥-所有搜索都是在本地针对markdown文件进行的。
工具
| 工具 | 描述 | ChatGPT需要 |
|---|---|---|
search(query) | 在所有文档中搜索关键字→ 返回匹配的片段 | ✅ |
fetch(id) | 按ID检索完整文档 | ✅ |
list_documents() | 列出所有索引文件 | 奖金 |
快速开始
pip install -r requirements.txt
python server.py # SSE mode (default, for ChatGPT / FastMCP Cloud)
python server.py --stdio # stdio mode (for Antigravity / Claude Desktop)添加知识文件
掉落 .md 或 .txt 文件进入 knowledge/ 目录并重新启动服务器。文件在启动时会自动索引。
部署到FastMCP云
- 将此仓库推送到GitHub
- 首选 fastmcp.cloud 并连接您的仓库
- 它会自动部署并为您提供HTTPS URL
连接到ChatGPT
- 首选 ChatGPT设置→ 连接器
- 添加已部署的MCP服务器URL(例如。
https://your-server.fastmcp.cloud/sse/) - 在深度研究或连接器模式下使用
文件结构
d365-mcp-server/
├── server.py # MCP server (search + fetch tools)
├── requirements.txt # Python dependencies
├── README.md
└── knowledge/ # Drop your docs here
├── 00_Management_Reporter_User_Guide.md
├── 01_Introduction_to_the_Management_Reporter_User_Guide.md
└── ... (14 more sections)