Current Setup:
- Custom MCP-Server on Mulesoft Anypoint Platform
- HTTP-Streamable
- OAuth2.0 Grant-Type Authorization flow against Micrsosoft Azure EntraID
- Custom Connector-Config (see below)
- In Postman everything including OAuth-Dance works fine.
- OAuth-Dance in Copilot-Studio also seems to work in the first place and i See a connection with my username logged in.
- Custom Engine Agent and Declarative Agent M365 (both not working)
Error:
- in the Tools-Section of the Agent it does not show any Tools (the get Tools call never arrived at the MCP-Server)
- In the Log of the MCP-Server I see only one call including a Bearer-Token (initialize-call). After that no call is sending a Bearer-Token and therefore failing

Swagger of Custom MCP-Connector (created with UI instead of Swagger-code cause of credentials etc.)
///
swagger: '2.0'
info:
title: Mulesoft MCP
description: MCP Test Specification, YAML for streamable MCP support in Copilot Studio
version: 1.0.0
host: xxxxx
basePath: /
schemes:
- https
paths:
/mcp:
post:
summary: Mulesoft Test Car Management Server
x-ms-agentic-protocol: mcp-streamable-1.0
operationId: InvokeMCP
responses:
'200':
description: Success
security:
- oauth2:
- https://graph.microsoft.com/.default
securityDefinitions:
oauth2:
type: oauth2
flow: accessCode
tokenUrl: https://login.windows.net/common/oauth2/authorize
scopes:
https://graph.microsoft.com/.default: https://graph.microsoft.com/.default
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
security:
- oauth2:
-
https://graph.microsoft.com/.default
///