Register the server
1
Create the MCP server
In the Azure portal open your API Management instance, go to APIs › MCP servers, select + Create MCP server, then Expose an existing MCP server.
2
Backend MCP server
3
New MCP server
Set Name to Consensus, a Base path such as
consensus, and a Description. Assign Products and select Create.Authentication
- OAuth (per user)
Notes
- A
401from the backend usually means theAuthorizationheader wasn’t forwarded; check theset-headerpolicy. - Don’t read
context.Response.Bodyin MCP server policies; buffering the body breaks the response stream. - APIM requires the backend to speak MCP
2025-06-18or later.