Edit

Share via


Connect to Dataverse with model context protocol in Microsoft Copilot Studio

This article explains how to set up and use the Microsoft Dataverse model context protocol (MCP) server with Microsoft Copilot Studio. By following the steps in this article, you can interact with Dataverse, asking natural language questions like show me my contacts and receive answers based on stored data.

Prerequisites

Connect to Dataverse using an MCP server in Microsoft Copilot Studio

  1. Go to Power App and select your environment from the top right environment selector.
  2. From the left navigation pane, select Agents > Create new agent. If the item isn’t in the side panel pane, select …More and then select the item you want.
  3. Select Create.
  4. Scroll down to the Tools section and select + Add tool.
  5. Select Model Context Protocol, and then select Dataverse MCP Server.
    • If there's no existing Dataverse connection, you're prompted to connect one.
  6. Select Add to agent.

The individual tools available on this MCP server can be viewed and modified by selecting ... > Edit next to the Dataverse MCP Server tool.

You can now interact with the Dataverse MCP Server tool in the Test your agent chat pane. Try commands like "list tables in Dataverse," "describe table account," or "how many accounts do I have." Screenshot of Dataverse MCP in Copilot Studio.

Connect to Dataverse with Model Context Protocol