
MCP Dataverse
io.github.codeuraliPublished by GitHub account codeuraliv0.7.10Updated Oct 24, 2026
Microsoft Dataverse MCP server: CRUD, FetchXML, metadata, schema, audit, batch and security roles.
Overview
Lets an AI assistant read and modify Microsoft Dataverse environments: schema, records, queries, users, roles, and audit logs.
- What you can do
- MCP Dataverse exposes roughly 79 tools over Microsoft Dataverse, covering metadata and schema inspection, OData and FetchXML queries, CRUD and upsert operations, record relationships, bound and unbound actions and functions, batch operations, solutions, Relevance Search, users, teams, security roles and privileges, file columns, audit and trace logs, annotations, and customization objects. Responses are structured as summary, data, and suggestions. Destructive operations require explicit confirmation, and cached credentials are encrypted.
- When to use it
- Useful when an assistant needs to work against a real Dataverse environment instead of guessing table and column names, for example exploring schema, building or validating queries, reading and updating records, or administering users and roles. It suits local development with an interactive Microsoft sign-in as well as unattended CI/CD or Azure-hosted scenarios.
- Requirements
- Runs as a local stdio process on the user's machine and requires Node.js 20 or newer. Needs DATAVERSE_ENV_URL set to the Dataverse environment URL, or MCP_CONFIG_PATH pointing to a config.json that overrides the other environment variables. Authentication is one of three modes: device code, client credentials via an app registration, or managed identity. An optional HTTP transport uses MCP_TRANSPORT, MCP_HTTP_PORT, and MCP_HTTP_SECRET.
Installation
In SourceWeft
- Open MCP Dataverse in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit 2490205
Tools
0Version history
2- v0.7.10LatestOct 13, 2026
- v0.5.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts