PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serverscloud-platformsgcpdoc-mcp
返回「cloud-platforms」

gcpdoc-mcp

modelscope·@longngo192/gcpdoc-mcp

cloud-platforms0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

Google Cloud Docs MCP Server

License: MIT Node.js Version MCP SDK

An MCP (Model Context Protocol) server that provides AI assistants with access to Google Cloud Platform documentation. This enables Claude and other MCP-compatible assistants to search, fetch, and understand GCP documentation in real-time.

Table of Contents

  • Features
  • How It Works
  • Prerequisites
  • Installation
  • Configuration
  • Usage
  • Available Tools
  • Supported Topics
  • Project Structure
  • Development
  • Contributing
  • License

Features

  • Free-form Search: Search GCP documentation with natural language queries
  • Content Extraction: Extract clean markdown content from documentation pages
  • 80+ Topic Mappings: Pre-configured mappings for common GCP topics
  • Relevance Scoring: Smart ranking of search results by relevance
  • API Reference: Access REST API documentation for GCP services
  • 20+ GCP Products: Support for major Google Cloud services

How It Works

          
   Claude      MCP Server       Google Cloud    
  (or other         (this project)        Documentation   
  MCP client)                   (cloud.google   
             .com/docs)     
                                           
  1. Query Processing: When Claude receives a GCP-related question, it calls the MCP server tools
  2. Search Strategy: The server uses a multi-step search approach:
    • Google Search targeting site:cloud.google.com
    • Google Cloud's internal search API (fallback)
    • 80+ pre-configured topic mappings (fallback)
  3. Content Extraction: Uses Cheerio to parse HTML and extract clean markdown
  4. Relevance Scoring: Results are scored and sorted by query relevance
  5. Response: Returns structured JSON with documentation content

Technical Details

  • Protocol: MCP (Model Context Protocol) over stdio transport
  • Content Parsing: HTML to Markdown conversion with Cheerio
  • Search: Combines Google Search scraping with fallback topic mappings
  • Output Format: Structured JSON with markdown content

Prerequisites

  • Node.js >= 18.0.0
  • npm or yarn
  • Claude Desktop, Claude Code, or other MCP-compatible client

Installation

From Source

# Clone the repository
git clone https://github.com/longngo192/gcpdoc-mcp
cd gcpdoc-mcp

# Install dependencies
npm install

# Build the project
npm run build

Quick Start

npm install && npm run build

Configuration

Claude Desktop

Add to your Claude Desktop config file:

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "google-cloud-docs": {
      "command": "node",
      "args": [
        "/path/to/google-cloud-docs-mcp/dist/index.js"
      ]
    }
  }
}

Claude Code CLI

# Add the MCP server
claude mcp add google-cloud-docs -- node /path/to/dist/index.js

# Verify installation
claude mcp list

Usage

Once configured, Claude will automatically use the GCP documentation tools when you ask questions about Google Cloud services.

Example Queries

"How do I set up VPC peering between two GCP projects?"
"What are the steps to enable CMEK encryption for Cloud Storage?"
"How to configure Cloud SQL high availability?"
"Show me GKE autoscaling configuration options"
"How to set environment variables in Cloud Run?"

Direct Tool Usage

If using MCP protocol directly:

// Search documentation
{
  "method": "tools/call",
  "params": {
    "name": "search_google_cloud_docs",
    "arguments": {
      "query": "vpc peering between projects"
    }
  }
}

// Fetch specific documentation
{
  "method": "tools/call",
  "params": {
    "name": "fetch_google_cloud_doc",
    "arguments": {
      "path": "vpc/docs/vpc-peering"
    }
  }
}

Available Tools

1. search_google_cloud_docs

Search GCP documentation with free-form queries. Primary tool for GCP questions.

ParameterTypeRequiredDescription
querystringYesNatural language search query
productstringNoFilter by GCP product (e.g., 'compute', 'storage')

Example:

{
  "query": "how to share encrypted bucket cross account",
  "product": "storage"
}

2. fetch_google_cloud_doc

Fetch content from a specific documentation page.

ParameterTypeRequiredDescription
pathstringYesDocumentation path after cloud.google.com/

Example:

{
  "path": "storage/docs/encryption/customer-managed-keys"
}

3. list_google_cloud_products

List all supported GCP products and their documentation paths.

No parameters required.

4. get_api_reference

Get REST API reference for a GCP service.

ParameterTypeRequiredDescription
servicestringYesService name (e.g., 'compute', 'storage')
resourcestringNoSpecific API resource (e.g., 'instances', 'buckets')

Example:

{
  "service": "compute",
  "resource": "instances"
}

Supported Topics

The server includes 80+ topic mappings for accurate search results:

CategoryTopics
Storage & Encryptionencrypt, bucket, cmek, kms, customer managed, object storage
IAM & Securityiam, role, service account, impersonation, workload id…

相关 MCP Servers(来自「cloud-platforms」)

云架构师

通过专门的代理、丰富的资源和强大的工具,促进涵盖云、人工智能和区块链等不同架构领域的全面架构设计和评估。

@squirrelogic/mcp-architect

Cloudflare Workers MCP连接器

一个将 Claude Desktop 和其他 MCP 客户端连接到 Cloudflare Workers 的软件包,通过模型上下文协议(Model Context Protocol), enables 自定义功能可以通过自然语言访问。

@cloudflare/workers-mcp

Kubernetes语控服务器

一种连接到 Kubernetes 集群的服务器,它通过自然语言命令启用管理功能,支持列出资源、创建/删除 Pod 以及安装 Helm 图表等操作。

@Flux159/mcp-server-kubernetes

MCP数据管理服务

一种模型上下文协议服务器, enables 人工智能代理通过标准化接口与阿里云DataWorks进行交互,从而通过DataWorks开放API无缝管理DataWorks资源和操作。

@aliyun/alibabacloud-dataworks-mcp-server

微软365 MCP 服务器

一种模型上下文协议服务器,通过 Graph API 实现与 Microsoft 365 服务(Excel、日历、邮件、OneDrive、Teams 等)的交互,使人工智能助手能够通过自然语言管理 Microsoft 365 资源。

@Softeria/ms-365-mcp-server

MCP OpenAPI 服务器

一台使大型语言模型能够通过模型上下文协议发现并与由 OpenAPI 规范定义的 REST API 交互的服务器。

@ivo-toby/mcp-openapi-server

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/longngo192-gcpdoc-mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

Claude MCP Server Google Cloud (or other (this project) Documentation MCP client) (cloud.google .com/docs)

基本信息

分类
cloud-platforms / documentation-access / search
运行方式
No
许可证
MIT License
详情文件
longngo192-gcpdoc-mcp.md