Google ADK
The Google Agent Development Kit (ADK) can connect to Ada’s MCP server using the MCPToolset class. This enables programmatic access to Ada’s MCP tools within ADK-based agents.
Ada’s MCP server currently supports JSON-RPC 2.0 over HTTP at the /api/mcp endpoint. Server-Sent Events (SSE) streaming is not available.
Requirements
-
Python 3.10 or later.
-
Google ADK installed:
-
An API key generated from Config > PLATFORM > API keys in your Ada dashboard.
Configuration
-
Generate an API key from Config > PLATFORM > API keys in your Ada dashboard.
-
Set your Ada API key as an environment variable:
-
Connect to Ada’s MCP server:
-
Replace
acme-corp.ada.supportwith your Ada instance domain (see Authentication). -
Ensure
ADA_API_KEYis set in your environment before running the script.
Endpoint
Ada’s MCP server is exposed at the /api/mcp endpoint and routed by subdomain.
- Production:
https://<your-subdomain>.<your-ada-domain>/api/mcp - Local development:
http://<subdomain>.localhost:8000/api/mcp
Common issues
401 Unauthorized
- Ensure your API key is valid.
- Verify the Authorization header is formatted as
Bearer <key>.
405 Method Not Allowed
- Ensure you are sending POST requests to
/api/mcp. - SSE (GET streaming) is not supported.