dataverse-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dataverse-mcp-serverShow me all accounts created last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dataverse-mcp-server
MCP (Model Context Protocol) server for Microsoft Dataverse API with safe-by-default configuration. Works with any Dataverse / Dynamics 365 environment.
Tools
Data operations
Tool | Description |
| List Dataverse tables with optional prefix and solution filters |
| List Dataverse solutions (use |
| Get attributes of a specific table |
| Query records with OData $filter, $select, $top, $orderby, $expand |
| Get a single record by ID |
| Create a record |
| Update a record |
| Delete a record (disabled by default, see Safety) |
Note:
solution/DATAVERSE_SOLUTION_NAMEonly scopeslist_entities(schema browsing). Data tools (query_records,get_record,create_record, …) keep full access to any table regardless of solution membership — shared tables likeaccountorcontactremain reachable.
Schema operations
Tool | Description |
| Create a new table with attributes |
| Add a column to an existing table |
| Update column metadata (display name, required level, bounds, …) |
| Delete a column (disabled by default, see Safety) |
| List CRM components (forms, views, workflows, …) that reference a column — use after |
| Create relationships between tables (1:N, N:N) |
| List alternate keys on a table (returns |
| Create an alternate key (single or composite) — enables race-safe keyed-PATCH upserts |
| Delete an alternate key and its supporting unique index (disabled by default, see Safety) |
Dataverse does not allow changing a column's logical name or type. To "rename" or change type: create a new column, migrate data via
update_record, thendelete_attributeon the old one.
Picklist option management
Tool | Description |
| Read options of a Local or Global OptionSet as |
| Add an option to an existing OptionSet ( |
| Rename an option on an OptionSet ( |
| Remove an option from an OptionSet ( |
Picklist tools accept either entity_logical_name + attribute_logical_name (Local OptionSet) or option_set_name (Global OptionSet) — the two modes are mutually exclusive. Write operations require Customizer or System Administrator role on the connected service principal. Deleting an option does not update existing records that hold its numeric value — they are left with an orphan integer.
Quick start (no clone)
Add to .mcp.json in your project root:
{
"mcpServers": {
"dataverse": {
"command": "npx",
"args": ["-y", "@rededis/dataverse-mcp-server"]
}
}
}Create a .env file next to it with the four required variables (see Environment variables below) and restart your MCP client. The -y flag tells npx to auto-confirm the package install.
Setup
Environment variables
DATAVERSE_TENANT_ID=your-azure-tenant-id
DATAVERSE_CLIENT_ID=your-app-registration-client-id
DATAVERSE_CLIENT_SECRET=your-client-secret
DATAVERSE_RESOURCE_URL=https://your-org.crm.dynamics.com
DATAVERSE_ENTITY_PREFIX=contoso_ # optional, default prefix filter for list_entities
DATAVERSE_SOLUTION_NAME=MySolution # optional, default solution unique name for list_entities
DATAVERSE_ALLOW_DELETE=true # optional, enable delete operations (disabled by default)Azure App Registration
Register an app in Azure AD
Add API permission: Dynamics CRM > user_impersonation (or Application permissions)
Create a client secret
Grant the app a security role in Dataverse (e.g. System Administrator for full access)
Build
npm install
npm run buildClaude Code configuration (local build)
If you cloned the repo instead of using npx:
{
"mcpServers": {
"dataverse": {
"command": "node",
"args": ["./dist/index.js"]
}
}
}Create a .env file with your credentials (see .env.example).
Safety
Destructive operations are disabled by default to prevent accidental data loss. All four delete tools are gated behind the same DATAVERSE_ALLOW_DELETE=true flag:
delete_record— removes a row and all its datadelete_attribute— removes a column along with ALL values across every record (no recovery short of a full environment restore)delete_picklist_option— removes an option from an OptionSet; records that hold the option's integer value are left with an orphan number (no label in UI, broken reports)delete_entity_key— drops an alternate key and its supporting unique index; any keyed-PATCH upsert flows relying on it stop working
When the flag is off, each tool registers as a stub that returns an instructional error instead of performing the delete. To enable, add DATAVERSE_ALLOW_DELETE=true to your .env file and restart the MCP server.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rededis/dataverse-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server