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