Skip to main content

MCP server providing Google AI platform documentation (Gemini Enterprise Agent Platform + Vertex AI) to AI agents

Project description

mcp-google-agent-platform-docs

MCP server providing Google AI platform documentation to AI agents.

Python 3.10+ MCP License: MIT

Part of OpenGerwin MCP Servers

What is this?

An MCP (Model Context Protocol) server that gives AI agents direct access to Google's AI platform documentation โ€” both the current Gemini Enterprise Agent Platform (GEAP) and the legacy Vertex AI Generative AI docs.

Instead of hallucinating API details, your AI assistant can look up the actual documentation in real-time.

Features

  • ๐Ÿ” Full-text search across 3400+ documentation pages
  • ๐Ÿ“„ On-demand fetching โ€” pages are downloaded and cached as you need them
  • ๐Ÿ—‚๏ธ Dual source โ€” current GEAP + legacy Vertex AI documentation
  • โšก Smart caching โ€” 72-hour TTL, stale fallback on network errors
  • ๐Ÿ—บ๏ธ Auto-discovery โ€” new pages found via sitemap scanning (weekly)
  • ๐Ÿงฉ Plug & play โ€” works with Claude Desktop, Cursor, VS Code, any MCP client

Quick Start

Install

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

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

Configure Claude Desktop

Add to your claude_desktop_config.json:

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

Configure Cursor / VS Code

Add to your MCP settings:

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

Tools

search_docs

Search documentation by keywords.

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

get_doc

Get full content of a specific page.

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

list_sections

Browse documentation structure.

list_sections(source="geap")

list_models

Quick reference for all available AI models (Gemini, Imagen, Veo, Claude, etc.).

list_models()

Documentation Sources

Source ID Platform Pages Status
geap Gemini Enterprise Agent Platform 2300+ Primary (current)
vertex-ai Vertex AI Generative AI 1100+ Legacy (archive)

GEAP Sections

  • Agent Studio โ€” Visual agent builder
  • Agents โ†’ Build โ€” Runtime, ADK, Agent Garden, RAG Engine
  • Agents โ†’ Scale โ€” Sessions, Memory Bank, Code Execution
  • Agents โ†’ Govern โ€” Policies, Agent Gateway, Model Armor
  • Agents โ†’ Optimize โ€” Observability, Evaluation, Quality Alerts
  • Models โ€” Gemini, Imagen, Veo, Lyria, Partners, Open Models
  • Notebooks โ€” Jupyter tutorials

Configuration

Environment variables for customization:

Variable Default Description
MCP_DOCS_CACHE_DIR ~/.cache/mcp-google-agent-platform-docs Cache directory
MCP_DOCS_CONTENT_TTL 72 Page cache TTL (hours)
MCP_DOCS_STRUCTURE_TTL 7 Structure cache TTL (days)
MCP_DOCS_DEFAULT_SOURCE geap Default documentation source
MCP_DOCS_HTTP_TIMEOUT 30 HTTP timeout (seconds)

Development

# 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

Architecture

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/

License

MIT โ€” see LICENSE.


Part of OpenGerwin MCP Servers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_google_agent_platform_docs-0.1.0.tar.gz (69.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_google_agent_platform_docs-0.1.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file mcp_google_agent_platform_docs-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_google_agent_platform_docs-0.1.0.tar.gz
  • Upload date:
  • Size: 69.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_google_agent_platform_docs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a3ed8c0f1a242d7e9fa6a9b55ef29555b6c62757b4b0c5c46b1ec10cfbfc52f4
MD5 6713d664d0590b89a276fa80c7dad0fe
BLAKE2b-256 a59edb12b69d9d93a9e255aef1a1eb190ba0e6b3e0b350c6fc1c85ba5bbf9945

See more details on using hashes here.

File details

Details for the file mcp_google_agent_platform_docs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_google_agent_platform_docs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_google_agent_platform_docs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 506093286abd6d2a9c5dc800d678be99679f888eda368ce9b536e339956aaf68
MD5 116470f562c5a34b23e819a71d9c4cc5
BLAKE2b-256 dd84be06c6edfaca9816ae16950e802c997b038cd4ebfffb0a8fa704fbb88696

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page