Skip to main content
Google’s Agent Development Kit loads SAN through an McpToolset. Point it at SAN’s streamable HTTP endpoint and drop it straight into your agent’s tools.

Prerequisites

  • Python 3.10+
  • A SAN API key
    Create one in the API Quickstart if you don’t have one yet.

Quick Start

1

Install the ADK

pip install google-adk
2

Point an McpToolset at SAN

Pass your key in the headers dict of the connection params.
from google.adk.tools.mcp_tool import McpToolset, StreamableHTTPConnectionParams

san_toolset = McpToolset(
    connection_params=StreamableHTTPConnectionParams(
        url="https://gateway.sanfoundation.com/mcp",
        headers={"x-api-key": "sk_..."},
    ),
)
3

Add the toolset to your agent

An McpToolset goes directly into tools=[...].
from google.adk.agents import LlmAgent

root_agent = LlmAgent(
    model="gemini-2.5-flash",
    name="san_agent",
    instruction="Use the SAN tools to answer the user's question.",
    tools=[san_toolset],
)