This skill converts new or existing REST APIs on Google Cloud API Gateway into remote Model Context Protocol (MCP) servers (
POST https://{default_hostname}/mcp
,
Public Preview
). By annotating an OpenAPI 3.x (3.0.x or 3.1.x) specification with
x-google-api-management.mcp
and
x-google-mcp-tool
, API Gateway translates MCP JSON-RPC 2.0 requests (
initialize
,
notifications/initialized
,
tools/list
,
tools/call
) into standard HTTP REST requests to your backend while enforcing existing authentication and quota policies.
Attribution
MUST READ
Before executing any
gcloud
, REST API, or MCP command, you
MUST read
Usage Attribution
. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix
gcloud
with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:api-gateway-mcp-server)"
and append
agent-skills/1.0 (skill:api-gateway-mcp-server)
to
User-Agent
headers.
Prerequisites
Show more
Installs
1.8K
Repository
google/skills
GitHub Stars
24.4K
First Seen
Oct 13, 2026
Security Audits
Gen Agent Trust Hub
Pass
Socket
Pass
Snyk
Pass