Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Model Context Protocol
Suggested answer

Cannot get MPC server working under any circumstances

(2) ShareShare
ReportReport
Posted on by

I've followed the MCP implementation lab from the Microsoft documentation and have created a jokes MCP server that provides various joke tools (Chuck Norris jokes, dad jokes, etc.). My implementation is correctly deployed to Azure and works as expected in testing, but fails in Copilot Studio. Lab link: https://github.com/microsoft/mcsmcp

What's Working:


  • Successfully deployed the MCP server to Azure

  • SSE endpoint correctly returns session IDs

  • Successfully tested with Postman (using proper JSON-RPC format)

  • Successfully tested with the MCP Inspector tool - all tools are discoverable and executable
 

The Issue:

When trying to use the MCP connector in Copilot Studio, I consistently get:

Sorry, something went wrong. Error code: SystemError. Conversation ID: [ID]. Time (UTC): [timestamp].

Example: Sorry, something went wrong. Error code: SystemError. Conversation ID: 5887e02d-ff3a-44ff-9abb-7be335ffe58b. Time (UTC): 5/5/2025 7:10:56 PM.

 

Technical Details:


  • Using TypeScript with Express

  • Deployed to Azure App Service

  • YAML configuration includes the required "Agentic" and "McpSse" tags

  • Server is accessible and functioning correctly when tested directly

  • Tools are properly registered and work through the MCP Inspector

  •  

Question:

Has anyone successfully implemented an MCP server that works with Copilot Studio? Are there any specific requirements or workarounds needed beyond what's in the documentation?

 

Any guidance would be greatly appreciated!

  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    290 on at
    Cannot get MPC server working under any circumstances
    hey ;) i did the lab last morning and add same error : how i solve.

    First before try copilot studio : Try the part in visual studio code. i discovered that i had the same error in visual studio code agent BUT the good point is it have debug mod and trace !
     
    My error : link was not public "realy" public and anonymous. 
     
    Then i add another error : I made a mistake and made the copilot studio part in a normal environnement. I restard in a preview env and everything was great and ok.
     
    If you have problem with the deploy to azure, to use the forward port mode in visual studio : since the lab is not intented to work all day, the forward port in vs code is enough :) (and click public :!)
     
    If this answer solved or helped you to solve please click answer it's important :)
  • AD-05061823-0 Profile Picture
    2 on at
    Cannot get MPC server working under any circumstances
    I have the same issue at the moment.
  • Suggested answer
    zankard Profile Picture
    Moderator on at
    Cannot get MPC server working under any circumstances
     
    Please ensure your endpoint returned in the open SSE connection call is a fully qualified URL.
     
    For example:

    By default, most standard SDK configurations return something like this:
    event: endpoint
    data: /message 

    But, Copilot Studio requires a fully qualified URI:
    event: endpoint
    data: https://microsoft.com/mcp/message [microsoft.com]
     
    Let us know if this resolves your issue! 
     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >