Transports
Stdio Transport
Transports in the Model Context Protocol (MCP) define how messages are sent and received. The Agno integration supports the three existing types: stdio, SSE and Streamable HTTP.
The stdio (standard input/output) transport is the default one in Agno’s integration. It works best for local integrations.
To use it, simply initialize the MCPTools
class with its command
argument.
The command you want to pass is the one used to run the MCP server the agent will have access to.
For example uvx mcp-server-git
, which runs a git MCP server:
You can also use multiple MCP servers at once, with the MultiMCPTools
class. For example: