Docs
MCP clients

Google ADK

McpToolset with StreamableHTTPConnectionParams

Use Streamable HTTP, not SSE.

from google.adk.agents import Agent
from google.adk.tools.mcp_tool import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import StreamableHTTPConnectionParams

root_agent = Agent(
    model="gemini-flash-latest",
    name="servicebay_agent",
    instruction="Help the user with their Servicebay organisation.",
    tools=[
        McpToolset(
            connection_params=StreamableHTTPConnectionParams(
                url="https://oauth.servicebay.io/mcp",
                headers={
                    "Authorization": f"Bearer {SERVICEBAY_KEY}",
                },
            ),
        )
    ],
)

SseConnectionParams talks to /sse, which Servicebay does not serve. Restrict tools with tool_filter if the agent should only read.

Compatibility matrix · Troubleshooting