Share via


Extend your agent with Model Context Protocol

Another way to extend your agent with tools is via Model Context Protocol (MCP).

What is Model Context Protocol?

Model Context Protocol (MCP) allows users to connect with existing knowledge servers and data sources directly within Copilot Studio. Connecting to an MCP server gives you access to:

  • Resources: File-like data that an agent can read for additional context (like API responses or file contents)
  • Tools: Functions a language model can call to perform an action
  • Prompts: Predefined prompt templates to accomplish specific tasks

Note

Copilot Studio currently supports MCP tools and resources.

How does MCP work?

Each tool or resource published by a connected MCP server is automatically made available for use in Copilot Studio. Name, description, inputs, and outputs are inherited from the server. As tools and resources are updated or removed on the MCP server, Copilot Studio dynamically reflects these changes, ensuring users always have the latest versions and that obsolete tools and resources are removed. A single MCP server can integrate and manage multiple tools and resources, each accessible for use by Copilot Studio agents.

When you connect to a Non-Microsoft Product, including an external MCP server, you are responsible for the tools and resources you access from within Copilot Studio.

Note

Generative Orchestration must be enabled to use MCP.

What is the process to extend an agent using MCP in Copilot Studio?

To integrate MCP in Copilot Studio:

  1. Connect your agent to an existing MCP server based on a YAML schema template.
  2. Create an MCP server if you don't already have an MCP server.
  3. Add MCP server tools and resources to your agent so that your Copilot Studio agent can use them.
  4. (Optional) Publish your MCP connector to allow the connector to be used across tenants.

Known issues and workarounds

The following are identified issues the product team is aware of and working on:

Issues Resolution/Workaround
Currently, the endpoint returned in the Open SSE connection call must be a full URI. Not applicable.
A System.FormatException is thrown when the exclusiveMinimum property is set to an integer (instead of a Boolean) in the MCP tool definition input schema. Not applicable.
The MCP tool definition input schema definition is truncated when a type in a tool definition is an array of multiple types instead of a single type. Make the values for type fields a single type.
Tools with reference type inputs in the schema are filtered from the list of available tools for MCP server. Reference type inputs and outputs aren't supported. Not applicable.
Tools with enum type inputs in the schema are interpreted as string instead of enum. Not applicable.