Model Context Protocol Support in Azure AI Foundry Agent Service is not working #93
Replies: 4 comments 13 replies
-
Today the error is
The MCP server is still working fine, tested from VS code agent |
Beta Was this translation helpful? Give feedback.
-
Hey there @marianosz, I'm using the MCP support with the Agent Service as of a couple of days and it's working as expected. Ensure you have SKD versions azure-ai-agents==1.1.0b3 Another thing I found was I needed to set my MCP Server to be stateless mcp.settings.stateless_http = True or mcp = FastMCP("mcp-zava-sales-devcontainer", lifespan=app_lifespan, stateless_http=True) atm, this worked, but it was just a hack and still verifying if this is correct approach... Regards, Dave |
Beta Was this translation helpful? Give feedback.
-
@marianosz I see the https://www.nuget.org/packages/Azure.AI.Agents.Persistent/1.1.0-beta.4 came out yesterday and adds MCP support |
Beta Was this translation helpful? Give feedback.
-
Azure.AI.Agents.Persistent Version 1.1.0b4 has been released to https://www.nuget.org/packages/Azure.AI.Agents.Persistent/1.1.0-beta.4 Cheers Dave |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Technical Feedback
Hi team.
I know that is a preview feature, but I build a MCP connection with my agent on past Friday 6/4 based on this announce https://devblogs.microsoft.com/foundry/announcing-model-context-protocol-support-preview-in-azure-ai-foundry-agent-service/ and was working fine.
But since yesterday, the call to the MCP tool started to generate errors.
The MCP server is online, I'm hitting it from an agent on VS code and is working as expected.
This is the redacted agent definition json
This is the Input and Output data of the MCP call
This is the metadata of the MCP call
And here is a screenshot of the thread steps
Desired Outcome
MCP server should be hit from the Agent, with the specific tool call.
Current Workaround
I don't have a workaround yet.
Beta Was this translation helpful? Give feedback.
All reactions