LogoLogo

Our Products

Metadata Browser

Edge Add-on

HTML To PDF Converter

Power Automate Connector

Data Mask for Dataverse

Dataverse App

Commission 365

Dynamics 365 App

AI Autocloser

Dataverse App

Flow Monitor

Power Automate App

ServicesAboutCareersBlogContact
Chat on Teams
Metadata BrowserHTML To PDF ConverterData Mask for DataverseCommission 365AI AutocloserFlow Monitor
ServicesAboutCareersBlogContactChat on Teams
HomeBlogModel Context Protocol (Preview): Connect Dataverse to AI Tools

Model Context Protocol (Preview): Connect Dataverse to AI Tools

August 22, 2025
#Dataverse#Copilot Studio#AI
Harshitha Madem
Model Context Protocol (Preview): Connect Dataverse to AI Tools

Introduction:

Microsoft has introduced a new way for AI apps to connect with Dataverse, called the Model Context Protocol (MCP). It's currently in preview, which means it’s available for testing but not yet ready for production use. Still, it offers a practical method for developers to connect large language models (LLMs) like Microsoft Copilot Studio, Claude Desktop, or GitHub Copilot in VS Code with Dataverse more directly and efficiently.

Once connected, these tools can interact with Dataverse using natural language commands like “Show me my contacts” or “How many accounts do I have?” and perform actions such as listing tables, describing a table, reading or updating data, creating new records, listing and executing prompts, as well as accessing and retrieving knowledge sources, all without needing to write traditional code or queries.

In this blog, we’ll walk you through how to set up and use the Model Context Protocol (MCP) with Dataverse and show you how tools like Copilot Studio can use it to fetch and manage data using simple natural language queries.

Step-by-Step Guide:

Connecting Dataverse with MCP in Copilot Studio

Step 1: Create an Agent in Copilot Studio

Log in to https://make.powerapps.com.

Navigate to the left panel and select Agents.

1

Click on Create New Agent.

2

Need help with your business solution?

Our team can help you implement the right solution for your organization.

Get in touch
LogoLogo

Ex-Microsoft experts helping businesses get more from their Dynamics 365 and Power Platform investments.

Products

Click Skip to Configure.

3

Enter the Agent Name and description, then click Create to finish setting up the agent.

4

Step 2: Add the Dataverse MCP Tool to the Agent

Navigate to the Tools tab on the agent setup page.

5

Click + Add tool to open the list of available tool types.

6

Select Model Context Protocol from the options.

7

Then choose Dataverse MCP Server as the tool to connect your agent with Dataverse.

8

If no Dataverse connection exists, you’ll be prompted to sign in and create one.

9
10

Once the connection is established, click Add to Agent to complete the setup.

11

Step 3: Test the Agent with Dataverse MCP

Navigate to the Test You’re Agent pane on the right side of the screen.

12

In the message box, enter a sample query such as “List tables in Dataverse” or “Describe table account.”

The agent should respond by fetching data directly from Dataverse using the MCP connection.

13

Verify that the responses are accurate and reflect your Dataverse environment.

Connect to Dataverse Using MCP Server in Claude Desktop.

This section guides you through how to set up and use the Dataverse MCP server with Claude Desktop and GitHub Copilot in VS Code. Before starting, make sure you meet the following prerequisites.

Prerequisites:

Create a Dataverse Connection for MCP.

Go to Power Automate.

From the left-hand menu, select Connections.

14

Click + New connection on the top bar.

15

Search for Dataverse and select the Microsoft Dataverse connector.

16

Follow the prompts to complete the connection setup.

Once done, open the connection, copy the full URL from your browser’s address bar, and save it;

you’ll need this during Claude or VS Code setup.

17

Install the Dataverse MCP server local proxy.

Install the .NET SDK 8.0. You can do this using PowerShell:

winget install Microsoft.DotNet.SDK.8

After that, install the Dataverse MCP local proxy by running

dotnet tool install --global --add-source https://api.nuget.org/v3/index.json Microsoft.PowerPlatform.Dataverse.MCP

Get Your Tenant ID

Go to https://make.powerapps.com.

Click the gear icon on the top-right and select Session details.

18

Copy the tenant ID and save it. You’ll need it for Claude and VS Code configuration.

19

Step 4: Configure the MCP Server in Claude Desktop

Download and install Claude Desktop.

Complete the login or sign-up process to proceed.

Go to File and select Settings.

20

Navigate to the Developer section and click Edit Config.

21

This will open the Claude desktop configuration folder in File Explorer.

Open the file named claude_desktop_config.json.

22

Replace <connection URL> and <tenant Id> with your connection URL and tenant ID.

Use a <friendly name> for your Dataverse MCP server, for example MyDataverseMCPServer.

23

Save the file and restart Claude desktop to apply the changes.

24

Step 5: Open Claude and Verify the MCP Server

After saving the claude_desktop_config.json file, reopen Claude desktop.

Verify that you can view the Dataverse MCP server by clicking Search and tools.

25

Click on your MCP server to view the list of available tools.

26

Test the MCP server in Claude.

27

Frequently Asked Questions:

1. Why am I facing an error even though my connection URL and tenant ID are correct?

Even if the format is correct, you might still face MCP proxy errors if you don’t have an active Power Apps license. The connection string used for MCP requires access through a valid license; free trials without appropriate licenses can sometimes fail silently or throw proxy errors.

2. Claude is not showing my MCP server under ‘Search and Tools’. What should I check?

This usually happens when:

  • The MCP proxy isn’t running or crashed.

  • You forgot to restart Claude after updating the config.

  • There's a syntax issue in your claude_desktop_config.json.

  • The connection string is invalid (missing apiName).

3. Can I connect to multiple Dataverse environments using MCP?

Yes, you just need to create separate MCP server configurations in your claude_desktop_config.json, each with:

  • A different --ConnectionUrl

  • A different --TenantId (if applicable)

  • A unique --MCPServerName or friendly name

Then, you can switch between them as needed.

4. Can I use Claude Web (browser version) instead of Claude Desktop for MCP?

No, currently only Claude Desktop supports MCP server integration. The browser version of Claude doesn’t provide access to the underlying configuration or allow MCP server connections.

5. How can I switch accounts in Claude if it doesn’t ask me to sign in again?

If Claude doesn’t prompt you to log in with a different account:

  • Exit Claude desktop completely (use

    File > Exit

    ).

  • Delete the folder: C:\Users\<your-name>\AppData\Local\Microsoft.PowerPlatform.Dataverse.MCP\authCache

Reopen Claude desktop this time; it will ask you to authenticate again, allowing you to choose a different account.

Back to all articles

More from the blog

Creating and Configuring Multilingual Agents in Copilot Studio

Generate Temporary Download URLs in Dynamics 365 Using GetFileSasUrl

Integrating Your Copilot Agent with Teams

Adding Generative AI to your Cloud Flows with AI Prompts

How to Generate Early Bound Classes in Dataverse with XrmToolBox

How to Populate Choice Fields Using Power Apps Dataflows

How to Populate Dataverse Lookup Fields Using Power Apps Dataflows

Embed Model-Driven App Charts in Power Pages with Liquid

Metadata Browser
  • HTML To PDF Converter
  • Data Mask for Dataverse
  • Commission 365
  • AI Autocloser
  • Flow Monitor
  • Services

    • D365 Marketing
    • D365 Sales
    • D365 Customer Service
    • D365 Field Service

    Company

    • About Us
    • Blog
    • Contact
    • Careers

    Copyright ©2026 Pascalcase Software Private Limited. All rights reserved.

    Privacy PolicyTerms of Service