ADK MCP Agent

by AtulanZaman
MIT License

Integrations

  • Integrates with Google's Generative AI (Gemini) through API keys for natural language processing capabilities

  • Provides access to Google Maps functionality through a dedicated toolset, allowing the agent to perform location-based queries and mapping operations

ADK MCP Agent

A streaming chat agent using Google ADK and the Model Context Protocol (MCP) Google Maps toolset.

Local Development

  1. Install dependencies:
    pip install -r requirements.txt
  2. Set up .env in app/ with your API keys.
  3. Run locally:
    export SSL_CERT_FILE=$(python -m certifi) uvicorn app.main:app --reload

Project Structure

adk-mcp-agent/ ├── app/ │ ├── main.py │ ├── static/ │ │ └── index.html │ └── .env ├── agent/ │ └── agents.py ├── requirements.txt ├── Dockerfile ├── README.md └── .gitignore
  • The agent logic is in the agent/ directory (agent/agents.py).
  • The FastAPI app and UI are in the app/ directory.

Deployment

To test and run the app locally with the UI:

  1. Install dependencies:
    pip install -r requirements.txt
  2. Set up environment variables:
    • Create a .env file inside the app/ directory with your API keys:
      GOOGLE_GENAI_USE_VERTEXAI=FALSE GOOGLE_API_KEY=your_genai_api_key GOOGLE_MAPS_API_KEY=your_google_maps_api_key
  3. Run the FastAPI app:
    export SSL_CERT_FILE=$(python -m certifi) uvicorn app.main:app --reload
  4. Access the UI:
    • Open your browser and go to http://localhost:8000
    • You can now interact with the chat interface and test the agent locally.

License

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

A streaming chat agent that integrates Google ADK with Model Context Protocol and Google Maps tools, enabling users to interact with location-based services through a conversational interface.

  1. Local Development
    1. Project Structure
      1. Deployment
        1. License

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables AI assistants to interact with Gmail services, supporting email operations, draft management, and calendar functionality through Google API integration.
            Last updated -
            TypeScript
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables AI assistants like Claude to interact with Google Cloud Platform environments through natural language, allowing users to query and manage GCP resources during conversations.
            Last updated -
            9
            91
            16
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that connects to Google Cloud services, allowing users to query logs, interact with Spanner databases, and analyze Cloud Monitoring metrics through natural language interaction.
            Last updated -
            16
            2
            TypeScript
          • -
            security
            F
            license
            -
            quality
            A server implementing the Model Context Protocol that enables AI assistants like Claude to interact with Google's Gemini API for text generation, text analysis, and chat conversations.
            Last updated -
            Python
            • Linux
            • Apple

          View all related MCP servers

          ID: db7s1xbqjg