Google ADK
Connect Madgicx MCP to Google Agent Development Kit using client credentials authentication.
Google ADK
Build agents with Google's Agent Development Kit (ADK) that have access to all Madgicx MCP tools.
Prerequisites
- Python 3.10+
- Madgicx client credentials
- An LLM API key (e.g., OpenAI, Google AI)
Installation
Setup
1. Configure environment variables
2. Add the auth helper
Copy the MadgicxConfidentialClientAuth helper into your project as auth.py. You can also create a custom auth handler if your setup requires different authentication logic.
3. Create the agent
How It Works
MadgicxConfidentialClientAuthobtains an access token using your client credentials- The token is passed via
StreamableHTTPConnectionParamsheaders MCPToolsetdiscovers all Madgicx tools and makes them available to the ADK agent- The
InMemoryRunnermanages conversation sessions and agent execution