Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Model Context Protocol
Unanswered

Cannot connect to a MCP Server

(2) ShareShare
ReportReport
Posted on by 2
Hi all,
 
I need some support for connecting to my MCP Server:
 
What's working
1. My MCP Server is working on Claude Desktop, below is the json configuration from Claude:
 
2. the messages/session_id endpoint is working
 
What's not working
1. PowerApp Custom Connecting Test keeps spinning:
2. Not responding when adding the tool to my agent
 
 
What's unique on my MCP Server
My MCP SSE Server require x_api_key authentication.
 
Below is my swagger definition
 
swagger: '2.0'
info:
  title: My MCP
  description: Custom connector for MCP Server using SSE endpoint
  version: 1.0.0
host: mymcp.dev.mycompany.com
basePath: /mcp/my_mcp_instance
schemes:
  - https
consumes:
  - application/json
paths:
  /sse:
    get:
      summary: Connect to MCP SSE Stream
      x-ms-agentic-protocol: mcp-sse-1.0
      description: Initiates a connection to the MCP SSE stream.
      parameters:
        - in: query
          name: session_id
          type: string
          required: false
      produces:
        - application/json
      responses:
        '200':
          description: Immediate Response
          schema:
            type: string
        '201':
          description: Created and will follow callback
      operationId: InvokeMCP
      tags:
        - Agentic
        - McpSse
securityDefinitions:
  api_key:
    type: apiKey
    in: header
    name: x_api_key
definitions: {}
security:
  - api_key: []
 
 
What I don't understand
1. Why do I need session_id as a parameter? Since session_id is automatically generated when visiting /sse/ endpoint.
2. What is "x-ms-agentic-protocol" for? I have a mixed response from different websites whether this is required or not.
 
 
 
Many Thanks in advance
  • TS-09060606-0 Profile Picture
    2 on at
    Cannot connect to a MCP Server
    I am now managed to "move forward" a little, however, I am still not able to see my tools and there is an error that I am unsure if it is related, anyone can direct me a little what am I doing wrong?
     
    So now when I am in the Tool Page, I cannot see the tools listed (is this normal?)
     
    In PowerApp, I get this error even though I get Status 200:

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 > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 132

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 81 Super User 2025 Season 1

#3
Pablo Roldan Profile Picture

Pablo Roldan 61