Ever found yourself juggling XrmToolBox, make.powerapps.com, and admin.powerplatform.com, just to check a role privilege or run a FetchXML query?
Yeah… same. 🙃
So, I built something that fixes that.
Introducing Dataverse DevTools MCP Server — a fun little .NET-powered Model Context Protocol (MCP) server that brings your favorite Dataverse tools right inside Copilot Chat in VS Code, Visual Studio, or even Claude Desktop.
Now, you can do all your Dataverse admin, data, and troubleshooting tasks without ever leaving your IDE.
No more browser tabs. No more “Where was that environment URL again?”
Just chat with your Copilot — and watch it do the magic. ✨
🧠 What It Actually Does
The Dataverse DevTools MCP Server exposes ready-to-use tools for:
- 👥 User, Team & Security Administration
- 🧩 Data Operations (Run FetchXML, Web API & CRUD)
- 🧱 Entity Metadata Exploration
- 🪲 Plugin Trace Log Troubleshooting
Think of it as XrmToolBox + Power Platform Admin Center + Power Apps Maker Portal,
but accessible via natural language from your Copilot Chat window.
💡 Why You’ll Love It (Especially If You’re a Dataverse Dev)
🧞♂️ 1. Talk to Dataverse in Plain English
Forget the clicks and scripts. Just type what you need.
💬 “Find the user Jane Doe and show her queues and teams.”
💬 “Generate a FetchXML query to get all Opportunities where account type is premium.”
💬 “Get plugin trace logs for correlation ID aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.”
Copilot talks to Dataverse through the MCP server and executes it instantly.
⚡ 2. No Context Switching
You stay in your flow.
Whether you’re debugging a plugin, checking privileges, or creating test records, you don’t need to switch apps.
- Query Dataverse directly from VS Code or Visual Studio
- Manage users, roles, and teams
- Explore metadata and relationships
- Execute and validate Web API or FetchXML calls
🧩 3. Easy Setup (Global Tool FTW)
Install once. Use anywhere.
dotnet tool install --global vignaesh01.dataversedevtoolsmcpserver
Then add it to your MCP client config and you’re good to go.
🔍 What Can It Do? (Hint: A Lot.)
Here are some real things you can ask:
👥 User Management
- “Who am I in Dataverse right now?”
- “Add user Jane Doe to the Super Squad team.”
- “List roles assigned to Jane Doe.”
🔒 Security Administration
- “Compare privileges between Basic User and Support User.”
- “Which roles have read access to Account entity?”
💾 Data Operations
- “Execute this FetchXML query…”
- “Create a new Account record using this JSON payload.”
🧱 Metadata Exploration
- “Find all entities containing ‘invoice’.”
- “List OptionSet values for incident.statuscode.”
🪲 Troubleshooting
“Get plugin trace logs for Contoso.Plugins.AccountPreCreate.”
🧭 Quick Toolset Overview
Category | Tools | Example |
---|---|---|
👥 User, Team & Queue Management | 20+ tools | Assign roles, move users, manage teams |
🔐 Security Management | 3 tools | Privilege inspection, role comparison |
💾 Data Management | 6 tools | FetchXML, Web API CRUD, Upsert/Delete |
🧱 Entity Metadata | 8 tools | Explore schema, OptionSets, relationships |
🪲 Troubleshooting | 2 tools | Plugin trace logs by name or correlation ID |
🛠️ Works Seamlessly With
🖥️ VS Code (GitHub Copilot Chat)
Just update your mcp.json (use Command Palette → MCP: Open User Configuration).
{
"servers": {
"dvmcp": {
"type": "stdio",
"command": "dataversedevtoolsmcpserver",
"args": [
"--environmentUrl",
"https://yourorg.crm.dynamics.com"
]
}
}
}
🧰 Visual Studio IDE
Create .mcp.json in your profile folder
Add the same config as above
Open Copilot Chat → Select Agent → choose Dataverse DevTools MCP Server
🤖 Claude Desktop
Go to File → Settings → Developer → Edit Config
Update claude_desktop_config.json
{
"mcpServers": {
"dvmcp": {
"type": "stdio",
"command": "dataversedevtoolsmcpserver",
"args": [
"--environmentUrl",
"https://yourorg.crm.dynamics.com"
]
}
}
}
Restart Claude and you’re in business.
🖼️ [Placeholder: Screenshot – Claude config JSON]
🌟 Why I Built This
Because Dataverse developers deserve better workflows.
I wanted something that lets me stay in the IDE, keep focus, and still have Dataverse superpowers at my fingertips.
This project combines:
❤️ My love for .NET
💪 My obsession with Dataverse
🧠 My curiosity for AI-powered developer tools
And it turns out… MCP was the perfect bridge.
🧩 Try It Yourself!
👉 GitHub Repo: Dataverse DevTools MCP Server
👉 License: GPL-3.0
💬 Feedback & Stars Welcome!
If you love Dataverse, try it and tell me what you think!
I’d love to hear your ideas — especially for new tools to add.
⭐ Star the repo to support it
Top comments (0)