A
Adk MCP Data Agent
**ADK-MCP Data Agent** is a Dockerized AI app that connects Gemini with external tools via MCP for real-time data queries, built with FastAPI and deployed on Google Cloud Run.
Created 3/31/2026
Updated about 7 hours ago
README
Repository documentation and setup instructions
ADK MCP Agent Backend
This mini-project demonstrates how to implement a native Model Context Protocol (MCP) integration with Google's ADK (Agent Development Kit using google-generativeai).
It features a responsive, premium web interface and an autonomous gemini-2.5-flash agent that dynamically executes MCP tools to retrieve structured JSON records from a local simulated HR Database container.
Project Structure
app.py: FastAPI server containerized for Google Cloud Run deployment.mcp_server.py: TheFastMCPstandard IO backend pretending to act as an external database.mcp_client.py: Bridges rigid asynchronous MCP protocols smoothly into the standard environment.agent.py: Usesgoogle-generativeaiADK to bind the isolated MCP environment as an immediate tool for Gemini logic routing.
Setup & Running
- Initialize dependencies:
pip install -r requirements.txt - Create
.envand add:GOOGLE_API_KEY="YOUR_GEMINI_KEY" - Run Local Server:
Visitpython app.pyhttp://localhost:8080to experience the dynamic styling layout and interact with the AI.
Deploying to Cloud Run
Execute inside a configured Google Cloud environment:
gcloud builds submit --tag gcr.io/YOUR_PROJECT_ID/adk-mcp-agent
gcloud run deploy adk-mcp-agent \
--image gcr.io/YOUR_PROJECT_ID/adk-mcp-agent \
--platform managed \
--allow-unauthenticated \
--set-env-vars=GOOGLE_API_KEY="YOUR_KEY"
Quick Setup
Installation guide for this server
Installation Command (package not published)
git clone https://github.com/shreyansh9026/adk-mcp-data-agent
Manual Installation: Please check the README for detailed setup instructions and any additional dependencies required.
Cursor configuration (mcp.json)
{
"mcpServers": {
"shreyansh9026-adk-mcp-data-agent": {
"command": "git",
"args": [
"clone",
"https://github.com/shreyansh9026/adk-mcp-data-agent"
]
}
}
}