New MCP Support with the Foundry SDK #77
-
|
I'm unclear on the server URL parameter required with the new MCP tooling integrations. Can that be any URL page for an MCP server? Are there any requirements for the URL? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Is it just a matter of using this page to convert MCP servers to their remote URLs? |
Beta Was this translation helpful? Give feedback.
-
|
Hey @jacobreesmontgomery, I'm adding @lindazqli to provide any additional advice here... You asked about the server URL parameter required for MCP tooling integrations in the Azure AI Foundry SDK—specifically, whether any URL can be used and what requirements there might be. Here’s what you need to know: The server URL for MCP in Azure AI Foundry should be the full HTTP(S) endpoint address for your MCP server. Requirements and Best Practices:
Example Configuration:agent = project_client.agents.create_agent(
model=MODEL_DEPLOYMENT_NAME,
name="my-mcp-agent",
instructions="...",
tools=[
{
"type": "mcp",
"server_label": "github",
"server_url": "https://api.githubcopilot.com/mcp/",
"require_approval": "never"
}
],
tool_resources=None
)
Summary: References:
Let me know if you have follow-up questions and please mark this as the answer if this helps you and could help others. |
Beta Was this translation helpful? Give feedback.
Hey @jacobreesmontgomery, I'm adding @lindazqli to provide any additional advice here...
You asked about the server URL parameter required for MCP tooling integrations in the Azure AI Foundry SDK—specifically, whether any URL can be used and what requirements there might be. Here’s what you need to know:
The server URL for MCP in Azure AI Foundry should be the full HTTP(S) endpoint address for your MCP server.
Requirements and Best Practices:
The URL must point to an MCP-compliant server’s main endpoint—this could be a public endpoint (like GitHub Copilot’s MCP:
https://api.githubcopilot.com/mcp/).Any endpoint that implements the MCP specification …