Connect MCPTools to a local MCP server over stdio using the command parameter.
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 the command argument.
The command you want to pass is the one used to run the MCP server the agent will have access to.
The @modelcontextprotocol/server-google-maps npm package is deprecated and no longer supported. The multi-server snippet below documents the legacy server. Use a maintained Maps MCP server for new projects.