Skip to content
Changelog

MCP Server Cards advertise https behind TLS-terminating proxies

November 12, 20261 min read

Agno AgentOS now publishes https:// URLs in its MCP Server Card and A2A Agent Cards when a proxy such as Render's load balancer sends X-Forwarded-Proto: https. Before, a TLS-terminating proxy that sent that header with no X-Forwarded-Host left http:// in the card at /mcp/server-card, because Agno didn't read X-Forwarded-Proto on its own.

# Before
GET /mcp/server-card 200 http://agentos.onrender.com/mcp
# Now
GET /mcp/server-card 200 https://agentos.onrender.com/mcp

Super Agent's discovery got a fix too. When an agent, team or workflow has no description of its own, list_agents, list_teams and list_workflows now return the description from the AgentOS manifest, so Super Agent can say when to use each one from the listing alone. We ran both with a TestClient and the release's discovery cookbook on both releases, using a stand-in model object that never made a call.

See the cookbook, and learn more about the AgentOS MCP Server in the documentation.

Frequently asked questions

Only as before. A forwarded host still has to appear in MCPConfig(allowed_hosts=...). X-Forwarded-Proto is read on its own because it can only switch the scheme to https, and an https anywhere in a comma-separated chain counts.

From the AgentOS manifest, for example AgentOSConfig(manifest={"daily-brief": Manifest(description=...)}). A description set on the agent, team or workflow itself wins, and nothing gets written back to the component.

Render's load balancer terminates TLS and sends X-Forwarded-Proto: https without X-Forwarded-Host, and earlier releases ignored the scheme header on its own. With base URL http://agentos.onrender.com, they returned http://agentos.onrender.com/mcp from GET /mcp/server-card. On this release the same request returns https://agentos.onrender.com/mcp, and A2A card URLs such as https://agentos.onrender.com/a2a/agents/demo-agent switch to https too.

Shipped around the same time