web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Cannot connect to a MC...
Power Apps
Unanswered

Cannot connect to a MCP Server

(1) ShareShare
ReportReport
Posted on by 12
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
Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard