Skip to main content

Overview

Google’s Agent Development Kit (ADK) is an open-source, code-first Python toolkit for building, evaluating, and deploying AI agents. ADK includes native MCP support via the McpToolset class, enabling direct integration with StackOne’s MCP server. Official Documentation

Installation

Or with uv:

Quick Start

Connect to StackOne MCP and create an ADK agent using the Runner pattern:

Environment Variables

Account ID: The StackOne account ID should be determined from user context (e.g., which tenant/customer is using the agent), not from environment variables. Pass it as a parameter when creating the agent.

Multi-Turn Conversations

Continue conversations by reusing the same session:

Tool Filtering

Restrict which StackOne tools are exposed to the agent for security:
Required Headers: Only Authorization and x-account-id are required. Additional headers like Content-Type, Accept, and MCP-Protocol-Version are handled automatically by the ADK client.
Class Name Update: In ADK v1.17.0+, use McpToolset (not MCPToolset). The old capitalization is deprecated but still works with a warning.

Resources

Next Steps

Pydantic AI

Try Pydantic AI for Python agents

Vercel AI SDK

Build TypeScript agents with Vercel AI