This agent demonstrates how to use ApiRegistry to discover and interact with Google Cloud services like BigQuery via tools exposed by an MCP server registered in an API Registry.
- A Google Cloud project with the API Registry API enabled.
- An MCP server exposing BigQuery tools registered in API Registry.
- Configure: Edit
agent.pyand replaceyour-google-cloud-project-idandyour-mcp-server-namewith your Google Cloud Project ID and the name of your registered MCP server. - Run in CLI:
adk run contributing/samples/api_registry_agent -- --log-level DEBUG
- Run in Web UI:
Navigate to
adk web contributing/samples/
http://127.0.0.1:8080and select theapi_registry_agentagent.