
MCP Dataverse
io.github.codeurali由 GitHub 账号 codeurali 发布v0.7.10更新于 Oct 24, 2026
Microsoft Dataverse MCP server: CRUD, FetchXML, metadata, schema, audit, batch and security roles.
概览
让 AI 助手读取和修改 Microsoft Dataverse 环境:架构、记录、查询、用户、角色和审计日志。
- 可以做什么
- MCP Dataverse 通过约 79 个工具连接 Microsoft Dataverse,涵盖元数据与架构查看、OData 与 FetchXML 查询、CRUD 与 upsert 操作、记录关系、绑定与非绑定操作和函数、批量操作、解决方案、Relevance Search、用户、团队、安全角色与权限、文件列、审计与跟踪日志、注释以及自定义对象。响应以 summary、data、suggestions 的结构返回。破坏性操作需要显式确认,缓存的凭据经过加密。
- 适用场景
- 当助手需要针对真实的 Dataverse 环境工作而不是猜测表和列名时适用,例如查看架构、构建或验证查询、读取和更新记录,或管理用户与角色。既适合本地开发时的交互式 Microsoft 登录,也适合无人值守的 CI/CD 或 Azure 托管场景。
- 运行要求
- 作为本地 stdio 进程在用户机器上运行,需要 Node.js 20 或更高版本。需要设置 DATAVERSE_ENV_URL 为 Dataverse 环境 URL,或设置 MCP_CONFIG_PATH 指向会覆盖其他环境变量的 config.json。认证有三种模式:设备代码、通过应用注册的客户端凭据,或托管标识。可选的 HTTP 传输使用 MCP_TRANSPORT、MCP_HTTP_PORT 和 MCP_HTTP_SECRET。
安装
在 SourceWeft 中
- 打开 控制台中的 MCP Dataverse,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
MCP Dataverse
An MCP server for Microsoft Dataverse.
100 tools · 4 resources · 5 guided workflows · Three auth modes
[npm] [npm downloads] [CI] [Node 20+] [TypeScript] [License: MIT]
Why MCP Dataverse?
AI agents hallucinate schema, guess column names, and build broken OData queries. This server gives them real-time access to your Dataverse environment — schema, records, metadata, solutions — through the Model Context Protocol.
- Three auth modes — device code (local), client credentials (CI/CD), managed identity (Azure-hosted)
- Works with any MCP client — VS Code, Claude, Cursor, Windsurf, Gemini, Codex CLI
- Atomic tools — each tool does one thing well; the AI picks the right one
- Structured outputs — every response returns
{summary, data, suggestions}as both text and MCPstructuredContent(with a declaredoutputSchemaon all core tools) - Guardrails — every tool declares read-only or destructive hints, and the riskiest operations require an explicit
confirm: true - Encrypted token cache — AES-256-GCM cached credentials, kept out of tool output
Install
The interactive wizard configures your environment, registers the server in VS Code, and authenticates your Microsoft account in under 2 minutes.
Requires Node.js 20+. For other clients (Claude, Cursor, Windsurf…) see Multi-Client Setup.
Update
No re-config required — just checks your existing setup and shows what changed. npx auto-fetches the latest version on each run, so simply restarting your MCP client is enough to get the new tools.
Authentication
Three modes — choose based on where the server runs:
Device code quick start: authentication triggers on the first tool call.
- Open
View → Output → MCP— a sign-in code appears - Go to
https://microsoft.com/devicelogin, enter the code, sign in with your work account - Token is cached encrypted — all future starts are silent
For client credentials and managed identity setup, see Authentication docs.
Capabilities
HTTP Transport
Run as an HTTP server for multi-client use:
Connect using VS Code / Copilot with:
Troubleshooting
Performance Tip
MCP Dataverse is designed to be comprehensive, but most AI models work best with fewer tools in context. Deselect the tools you don't need in your client's tool picker (e.g. VS Code Chat panel) to keep the agent focused and responsive.
Roadmap
License
来源:README.md,提交 2490205
工具
0版本历史
2- v0.7.10最新Oct 13, 2026
- v0.5.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分