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 代理

使用 Google ADK 和模型上下文协议 (MCP) Google 地图工具集的流聊天代理。

本地开发

  1. 安装依赖项:
    pip install -r requirements.txt
  2. 使用您的 API 密钥在app/中设置.env
  3. 本地运行:
    export SSL_CERT_FILE=$(python -m certifi) uvicorn app.main:app --reload

项目结构

adk-mcp-agent/ ├── app/ │ ├── main.py │ ├── static/ │ │ └── index.html │ └── .env ├── agent/ │ └── agents.py ├── requirements.txt ├── Dockerfile ├── README.md └── .gitignore
  • 代理逻辑位于agent/目录( agent/agents.py )中。
  • FastAPI 应用程序和 UI 位于app/目录中。

部署

要使用 UI 在本地测试并运行应用程序:

  1. 安装依赖项:
    pip install -r requirements.txt
  2. 设置环境变量:
    • 使用您的 API 密钥在app/目录内创建一个.env文件:
      GOOGLE_GENAI_USE_VERTEXAI=FALSE GOOGLE_API_KEY=your_genai_api_key GOOGLE_MAPS_API_KEY=your_google_maps_api_key
  3. 运行 FastAPI 应用:
    export SSL_CERT_FILE=$(python -m certifi) uvicorn app.main:app --reload
  4. 访问用户界面:
    • 打开浏览器并转到http://localhost:8000
    • 您现在可以与聊天界面进行交互并在本地测试代理。

执照

麻省理工学院

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

流式聊天代理将 Google ADK 与模型上下文协议和 Google 地图工具相集成,使用户能够通过对话界面与基于位置的服务进行交互。

  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