Skip to main content
Glama
OpenGerwin

mcp-google-agent-platform-docs

by OpenGerwin

mcp-google-agent-platform-docs

为 AI 智能体提供 Google AI 平台文档的 MCP 服务器。

Python 3.10+ MCP License: MIT

OpenGerwin MCP Servers 的一部分

这是什么?

一个 MCP (Model Context Protocol) 服务器,让 AI 智能体能够直接访问 Google 的 AI 平台文档 — 包括当前的 Gemini Enterprise Agent Platform (GEAP) 和旧版的 Vertex AI Generative AI 文档。

您的 AI 助手无需再对 API 细节进行幻觉猜测,而是可以实时查阅实际的文档。

Related MCP server: RAG Docs MCP Server

功能特性

  • 🔍 全文搜索:涵盖 3400 多页文档

  • 📄 按需获取:根据需要下载并缓存页面

  • 🗂️ 双重来源:当前的 GEAP + 旧版 Vertex AI 文档

  • 智能缓存:72 小时 TTL,网络错误时使用过期缓存作为后备

  • 🗺️ 自动发现:通过站点地图扫描(每周)发现新页面

  • 🧩 即插即用:适用于 Claude Desktop、Cursor、VS Code 以及任何 MCP 客户端

快速入门

安装

# Using pip
pip install mcp-google-agent-platform-docs

# Using uv (recommended)
uv pip install mcp-google-agent-platform-docs

配置 Claude Desktop

添加到您的 claude_desktop_config.json

{
  "mcpServers": {
    "google-agent-platform-docs": {
      "command": "mcp-google-agent-platform-docs"
    }
  }
}

配置 Antigravity (Google)

添加到 ~/.gemini/antigravity/mcp_config.json

{
  "mcpServers": {
    "google-agent-platform-docs": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-google-agent-platform-docs",
        "run",
        "mcp-google-agent-platform-docs"
      ]
    }
  }
}

配置 Cursor / VS Code

添加到您的 MCP 设置中:

{
  "mcpServers": {
    "google-agent-platform-docs": {
      "command": "mcp-google-agent-platform-docs",
      "transport": "stdio"
    }
  }
}

工具

search_docs

通过关键词搜索文档。

search_docs("Memory Bank setup", source="geap")
search_docs("function calling", source="vertex-ai")

get_doc

获取特定页面的完整内容。

get_doc("scale/memory-bank/setup", source="geap")
get_doc("multimodal/function-calling", source="vertex-ai")

list_sections

浏览文档结构。

list_sections(source="geap")

list_models

所有可用 AI 模型(Gemini、Imagen、Veo、Claude 等)的快速参考。

list_models()

文档来源

来源 ID

平台

页面数

状态

geap

Gemini Enterprise Agent Platform

2300+

主要 (当前)

vertex-ai

Vertex AI Generative AI

1100+

旧版 (归档)

GEAP 章节

  • Agent Studio — 可视化智能体构建器

  • Agents → Build — 运行时、ADK、Agent Garden、RAG 引擎

  • Agents → Scale — 会话、记忆库、代码执行

  • Agents → Govern — 策略、智能体网关、模型防护 (Model Armor)

  • Agents → Optimize — 可观测性、评估、质量警报

  • Models — Gemini、Imagen、Veo、Lyria、合作伙伴、开源模型

  • Notebooks — Jupyter 教程

配置

用于自定义的环境变量:

变量

默认值

描述

MCP_DOCS_CACHE_DIR

~/.cache/mcp-google-agent-platform-docs

缓存目录

MCP_DOCS_CONTENT_TTL

72

页面缓存 TTL (小时)

MCP_DOCS_STRUCTURE_TTL

7

结构缓存 TTL (天)

MCP_DOCS_DEFAULT_SOURCE

geap

默认文档来源

MCP_DOCS_HTTP_TIMEOUT

30

HTTP 超时时间 (秒)

开发

# Clone
git clone https://github.com/OpenGerwin/mcp-google-agent-platform-docs.git
cd mcp-google-agent-platform-docs

# Install dependencies
uv sync

# Run server locally
uv run mcp-google-agent-platform-docs

# Test with MCP Inspector
uv run mcp dev src/mcp_google_agent_platform_docs/server.py

架构

mcp-google-agent-platform-docs/
├── sources/                    # YAML source configurations
│   ├── geap.yaml               # GEAP (primary)
│   └── vertex-ai.yaml          # Vertex AI (legacy)
├── src/mcp_google_agent_platform_docs/
│   ├── server.py               # FastMCP server + 4 tools
│   ├── source.py               # Source model (YAML loader)
│   ├── fetcher.py              # HTML → Markdown converter
│   ├── cache.py                # TTL cache manager
│   ├── discovery.py            # Sitemap-based page discovery
│   ├── search.py               # TF-IDF search engine
│   └── config.py               # Global configuration
└── tests/

许可证

MIT — 参见 LICENSE


OpenGerwin MCP Servers 的一部分

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
    12
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides indexed, searchable access to Anthropic Claude and Google Gemini documentation, with full-text search, page fetching, and section listing capabilities.
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that enables LLMs to search, fetch, and act on Google Workspace (Drive, Gmail, Docs, Sheets, etc.) with rich, one-call results and file deposits to disk, reducing context usage.
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

  • Pocket Agent (aipocketagent.com) MCP server — read tools for personas, apps, and product info.

View all MCP Connectors

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/OpenGerwin/mcp-google-agent-platform-docs'

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