Skip to main content
Glama

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

Related MCP server: ChatterBox MCP Server

项目结构

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AtulanZaman/adk_mcp_gmap'

If you have feedback or need assistance with the MCP directory API, please join our Discord server