Is the Dataverse MCP server safe? What it can reach
What the Dataverse MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Microsoft Dataverse has an official MCP server built into each environment at /api/mcp, plus a local @microsoft/dataverse proxy. It signs in through Microsoft Entra as you and respects your Dataverse security roles. It can create, update and delete rows and tables. An admin must allow each MCP client in the Power Platform admin center.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| Dataverse MCP server (/api/mcp) | Official | active |
| @microsoft/dataverse local proxy | Official | active |
It runs as a local process on your machine or as a hosted remote server.
How it signs in
Microsoft Entra sign-in to your Dataverse environment, through the local proxy or a custom Entra app registered for the remote endpoint. The server acts with your own Dataverse security roles and row-level security.
What its tools can do
| Kind | Tools |
|---|---|
| Read | search_data, search, read_query, describe, file_download |
| Write | create_record, update_record, create_table, update_table, upsert_skill, init_file_upload, commit_file_upload |
| Can’t be undone | delete_record, delete_table, delete_skill, invoke_api |
The endpoint is https://{dataverseOrgName}.crm.dynamics.com/api/mcp. invoke_api runs a Dataverse Custom API, which can do anything that API is built to do, so it sits with the destructive tools. search_data appears only when Dataverse search is on. A separate /api/mcp_preview endpoint adds preview tools that can change without notice. In 2026 describe_table, list_tables and fetch were removed and search was renamed search_data; update any allow or deny lists.
Built-in limits
| Option | What it does |
|---|---|
Allowed MCP clients | In the Power Platform admin center, an admin turns the server on per environment and sets Is Enabled on each client record. Only Copilot Studio is enabled by default. |
Dataverse security roles | Microsoft says the server respects security roles and row-level security, so a user reaches only what their role allows. |
Advanced connector policies | Managed Environments can govern the server through advanced connector policies. |
Turn it off | Clearing Allow MCP clients to interact with Dataverse MCP server disables it for the environment. |
Per-tool toggles in your client | Claude lets you enable or disable individual tools for a registered server. |
The risks
- Dataverse rows hold business data entered by many people, so an injected instruction in a record or search result could lead the agent to update or delete rows under your role.
- delete_record, delete_table and delete_skill remove data; the tool text says to delete only after explicit user approval, but Microsoft’s sample agent instructions tell the agent not to ask before deleting, so don’t copy that line.
- update_table changes table schema and metadata, and invoke_api calls custom APIs that can run any logic your org built, with your rights.
- init_file_upload and file_download hand out SAS URLs, and billing applies to AI agents outside Copilot Studio from December 15, 2025.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add dataverse -- npx -y @microsoft/dataverse mcp https://yourorg.crm.dynamics.comClaude Code names MCP tools mcp__dataverse__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__dataverse__delete_record",
"mcp__dataverse__delete_table",
"mcp__dataverse__delete_skill",
"mcp__dataverse__invoke_api"
],
"ask": [
"mcp__dataverse__create_record",
"mcp__dataverse__update_record",
"mcp__dataverse__create_table",
"mcp__dataverse__update_table",
"mcp__dataverse__upsert_skill",
"mcp__dataverse__commit_file_upload"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.dataverse]
command = "npx"
args = ["-y", "@microsoft/dataverse", "mcp", "https://yourorg.crm.dynamics.com"]
disabled_tools = ["delete_record", "delete_table", "delete_skill", "invoke_api"]Checklist
- Deny the delete tools and invoke_api unless the task needs them.
- Enable only the MCP clients you trust in the admin center, per environment.
- Connect with a user whose security role is as narrow as the task needs.
- Don’t paste sample instructions that tell the agent to skip delete approval.
Checked against the vendor documentation on November 25, 2026. Connect to Dataverse with Model Context Protocol (tools list) · Configure the Dataverse MCP server for an environment · Connect Dataverse MCP with non-Microsoft clients · Dataverse MCP FAQ
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing