ApiManagement MCP Server Creation Error: 'Error converting value mcp'
Authored by Competitive-Ad-5081, this post details a technical issue faced when exposing an API as an MCP server via Azure API Management and seeks advice from the community.
Problem Statement
A user is attempting to expose their API as a Managed Control Plane (MCP) server using Azure API Management (APIM), but encounters a parsing error during the setup process.
Error Message
- Error converting value ‘mcp’ to type ‘Microsoft.Azure.ApiManagement.Management.ControlPath’, line 2, position 15.
- The request to create the MCP server failed, citing one or more incorrect field values.
Context and Setup
- The user enabled the “AI Gateway early update group” 4 days prior to posting.
- Deployment region: Eastern US
- APIM tier: Basic
Troubleshooting Steps
- The user is following official Microsoft documentation: Export REST APIs as MCP servers
- They are unsure if the error is due to a service bug or a configuration issue, and asks the community if anyone has successfully set up MCP exposure for APIs.
Request to the Community
- Seeking insights from other users who have exposed APIs as MCP servers.
- Asking whether the error may be the result of a current bug in Azure API Management or a misconfiguration in the process.
Visuals
- Screenshots are referenced, showing the error in the Azure portal and configuration UI.
References:
Submitted by: Competitive-Ad-5081
This post appeared first on “Reddit Azure”. Read the entire article here