Skip to content
Changelog

MCPTools can now negotiate the newest MCP protocol era

September 4, 20261 min read

We added protocol_mode= to MCPTools to pick which MCP protocol era the client negotiates with a server. It defaults to "legacy", today's session-based behavior, so existing servers are unaffected. Set "auto" and the client negotiates the newest era both sides support, which is sessionless from 2026-07-28.

from agno.tools.mcp import MCPTools
 
mcp_tools = MCPTools(url="https://example.com/mcp", protocol_mode="auto")

We also rebuilt the clients on fastmcp.Client.

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

Shipped around the same time