Dataverse MCP Server

$npx -y @wizspdemo/dataverse-mcp3
README.md

Enables comprehensive schema and solution management for Microsoft Dataverse

Dataverse MCP Server

A Model Context Protocol (MCP) server for Microsoft Dataverse that enables schema operations including creating and updating tables, columns, relationships, and option sets using the Dataverse Web API.

šŸš€ Key Features

āœ… Manage Tables & Columns - Create, update, delete, and list custom tables with all column types (String, Integer, Boolean, DateTime, Picklist, Lookup, AutoNumber, etc.)

āœ… Manage Relationships - Create One-to-Many and Many-to-Many relationships between entities with proper cascade behaviors

āœ… Manage Option Sets - Create and manage global option sets with custom options, colors, and values

āœ… Solution-Based Architecture - Enterprise-grade solution management with persistent context and automatic customization prefixes

āœ… Security & Access Control - Complete security role management, team operations, and business unit hierarchy management

āœ… WebAPI Call Generator - Generate ready-to-use HTTP requests, cURL commands, and JavaScript code for any Dataverse operation

āœ… PowerPages WebAPI Generator - Generate PowerPages-specific WebAPI calls using the /_api/[logicalEntityName] format with React examples

āœ… PowerPages Configuration Management - Manage table permissions and WebAPI site settings for PowerPages Code Sites with YAML file automation

āœ… Schema Export & Visualization - Export complete solution schemas to JSON with advanced filtering, then generate professional Mermaid ERD diagrams with relationship visualization

āœ… Mermaid Diagram Generation - Convert exported schemas into professional Entity Relationship Diagrams with enhanced column markers, lookup target display, and unlimited table support

āœ… AutoNumber Column Management - Create and manage AutoNumber columns with customizable format patterns for automatic serial numbers, reference codes, and unique identifiers

āœ… Professional Integration - OAuth2 authentication, comprehensive error handling, and enterprise-ready deployment

āœ… Production Ready - Comprehensive testing completed with 7 critical bugs found and fixed, 100% tool coverage achieved

Tools (6)

create_tableCreate a custom table in a specific Dataverse solution
create_columnAdd a new column to an existing Dataverse table
create_relationshipCreate One-to-Many or Many-to-Many relationships between tables
export_schemaExport solution schema to JSON for visualization
generate_mermaid_erdConvert exported schema JSON into a Mermaid ERD diagram
generate_webapi_callGenerate cURL and JavaScript code for Dataverse operations

Environment Variables

DATAVERSE_URLrequiredThe environment URL (e.g., org.crm.dynamics.com)
AZURE_CLIENT_IDrequiredApplication (client) ID from Azure App Registration
AZURE_CLIENT_SECRETrequiredClient secret from Azure App Registration
AZURE_TENANT_IDrequiredDirectory (tenant) ID from Azure

Configuration

claude_desktop_config.json
{"mcpServers":{"dataverse":{"command":"npx","args":["-y","@wizspdemo/dataverse-mcp3"],"env":{"DATAVERSE_URL":"your-org.crm.dynamics.com","AZURE_CLIENT_ID":"your-client-id","AZURE_CLIENT_SECRET":"your-client-secret","AZURE_TENANT_ID":"your-tenant-id"}}}}

Try it

→Create a new table called 'Project' in the 'InternalTools' solution with a primary column 'Project Name'.
→Add an AutoNumber column to the 'Invoice' table with the format 'INV-{SEQNUM:5}-{DATETIME:yyyyMMdd}'.
→Generate a Mermaid ERD diagram for all tables in my 'CustomerService' solution.
→Create a Many-to-Many relationship between the 'Student' and 'Course' tables.
→Generate a PowerPages WebAPI call for updating a record in the 'Feedback' table.

Frequently Asked Questions

What are the key features of Dataverse MCP Server?

Manage Tables & Columns including AutoNumber and Picklist types. Solution-Based Architecture with automatic customization prefixes. Schema Export & Visualization via Mermaid ERD diagrams. PowerPages Configuration Management for table permissions and site settings. WebAPI Call Generator for cURL, JavaScript, and React examples.

What can I use Dataverse MCP Server for?

Automating Dataverse environment setup and schema deployment. Visualizing complex entity relationships for documentation. Generating boilerplate code for PowerPages and WebAPI integrations. Managing security roles and business unit hierarchies programmatically. Rapid prototyping of custom Dataverse solutions via natural language.

How do I install Dataverse MCP Server?

Install Dataverse MCP Server by running: npx -y @wizspdemo/dataverse-mcp3

What MCP clients work with Dataverse MCP Server?

Dataverse MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use Dataverse MCP Server with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free