Copilot Studio Agent Example

This is an example of how an agent in Copilot Studio can be connected to the Consumer MCP Server. The exact steps and available options may depend on the AI agent platform or MCP client that is used.

For additional information, refer to these Microsoft Learn articles:

To connect your own agent to the Consumer MCP Server in Copilot Studio:

  1. Add the Consumer MCP Server as a tool.

    • Add a 'Server name' and a 'Server description'.

      Note: Ensure the MCP API key includes the service(s) you want the agent to use.

    • For Server URL, enter the Consumer MCP Server URL: https://<daas-instance>/runtime/webhooks/mcp

    • For Authentication, click 'API-key' and set Type as 'Header' with Header name: x-api-key.

  2. Create a new connection to the MCP Server and add the MCP API key that was created using the POST /security/api-keys/mcp endpoint.

  3. Make the tool available to the agent and add any agent-specific instructions.

  4. Test the agent.

    In this example, the agent answers questions about products using a combination of master data and contents of assets (the product image and product manual), enabling a content-rich exchange that supports product Q&A use cases.