Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This article describes features used in agents or agent flows powered by the standard harness.
You can extend your agent with tools by using Model Context Protocol (MCP).
What is Model Context Protocol?
Model Context Protocol (MCP) helps you connect to existing knowledge servers and data sources directly within Copilot Studio. When you connect to an MCP server, you get access to:
- Resources: File-like data that an agent can read for more context, such as API responses or file contents
- Tools: Functions that 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 that a connected MCP server publishes is automatically available for use in Copilot Studio. The server provides the name, description, inputs, and outputs. When you update or remove tools and resources on the MCP server, Copilot Studio dynamically reflects these changes. This process ensures users always have the latest versions and removes obsolete tools and resources. A single MCP server can integrate and manage multiple tools and resources. Copilot Studio agents can access each tool.
Note
You must turn on generative orchestration to use MCP.
Use MCP servers that you trust
Your agent uses the tool names, descriptions, inputs, and outputs that an MCP server publishes. These details can influence how your agent behaves. When you connect to a non-Microsoft product, including an external MCP server, you're responsible for the tools and resources you access from within Copilot Studio.
Only connect to MCP servers that you trust. Before you connect a server:
- Review the tools and resources that the server exposes.
- Confirm who operates the server.
- Ensure that changes to the server are controlled.
Review your connected servers regularly, because the server operator can change the tools and resources that the server exposes.
Updates to a server are reflected in your agent automatically. Learn more about when tool changes appear in your agent in Troubleshooting Model Context Protocol (MCP) integration.
How do you extend an agent by using MCP in Copilot Studio?
To integrate MCP in Copilot Studio:
- Use the MCP onboarding wizard to connect your agent to an existing MCP server.
- Create an MCP server if you don't already have an MCP server.
- Add MCP server tools and resources to your agent so that your Copilot Studio agent can use them.
- (Optional) Publish your MCP connector to allow the connector to be used across tenants.
For more information on troubleshooting MCP integration, see Troubleshooting Model Context Protocol (MCP) integration.