Share via

Unable to connect MCP Server from AZ Faundry .

KUMAR, ASHISH 0 Reputation points
2026-05-11T17:26:57.47+00:00

ErrorError encountered while enumerating tools from remote server: https://kgateway-e2.az.3pc.att.com:443/mcp. Details: Name or service not known (kgateway-e2.az.3pc.att.com:443)

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-05-11T17:27:08.01+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error Name or service not known (kgateway-e2.az.3pc.att.com:443) indicates that the Foundry Agent Service cannot resolve the MCP server hostname via DNS, so it fails before it can enumerate tools.

    To resolve this, focus on basic network/DNS reachability of the MCP endpoint from Foundry:

    1. Verify the MCP server URL
      • Confirm that the Remote MCP Server endpoint configured in the agent’s MCP tool is correct (no typos in hostname, port, or path).
      • In Foundry portal, open the agent → PlaygroundTools → select the MCP tool and re-check the server_url/endpoint value.
    2. Confirm the MCP server is reachable from the Foundry environment
      • Ensure that kgateway-e2.az.3pc.att.com is publicly resolvable in DNS or reachable from the network where Foundry Agent Service runs.
      • If the MCP server is only resolvable on an internal corporate DNS or is on a private network, Foundry will not be able to reach it unless it is exposed through a reachable endpoint.
    3. Check firewalls and network restrictions
      • Ensure that outbound HTTPS (TCP 443) from Foundry to the MCP server is allowed.
      • If there are enterprise firewalls or proxies, they must allow traffic to kgateway-e2.az.3pc.att.com:443.
    4. Validate MCP server behavior independently
      • From a machine in the same network as Foundry (or a representative environment), attempt to resolve and connect to kgateway-e2.az.3pc.att.com:443 using standard network tools.
      • If DNS resolution fails or the connection is blocked, fix that at the network/DNS layer first.
    5. Re-test MCP tool enumeration
      • After DNS and connectivity are fixed, go back to the agent Playground, expand Tools, and trigger a tool call again to confirm that tools can now be enumerated.

    If the MCP server is hosted on Azure Functions as an MCP endpoint, ensure the endpoint is in the correct format (for example, https://<function-app-name>.azurewebsites.net/runtime/webhooks/mcp) and that any required authentication (Unauthenticated or Microsoft Entra) is configured correctly in the MCP tool definition.


    References:

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.