cloud-run
Cloud RunにコードをデプロイするためのMCPサーバー
MCP互換のAIエージェントがCloud Runにアプリをデプロイできるようにします。
"mcpServers":{
"cloud-run": {
"command": "npx",
"args": ["-y", "https://github.com/GoogleCloudPlatform/cloud-run-mcp"]
}
}AI搭載IDEからデプロイ:
AIアシスタントアプリからデプロイ:
Google Gen AI SDKやAgent Development KitなどのエージェントSDKからデプロイします。
[!NOTE]
これは、Cloud RunにコードをデプロイするためのMCPサーバーのリポジトリです。Cloud RunでMCPサーバーをホストする方法については、Cloud Runのドキュメントを参照してください。
ツール
deploy-file-contents: ファイルの内容を直接指定してCloud Runにデプロイします。list-services: 指定されたプロジェクトとリージョンのCloud Runサービスを一覧表示します。get-service: 特定のCloud Runサービスの詳細を取得します。get-service-log: 特定のCloud Runサービスのログとエラーメッセージを取得します。deploy-local-files*: ローカルファイルシステムのファイルをGoogle Cloud Runサービスにデプロイします。deploy-local-folder*: ローカルフォルダをGoogle Cloud Runサービスにデプロイします。list-projects*: 利用可能なGCPプロジェクトを一覧表示します。create-project*: 新しいGCPプロジェクトを作成し、利用可能な最初の請求先アカウントに紐付けます。プロジェクトIDはオプションで指定できます。
* ローカルで実行する場合のみ利用可能
Related MCP server: Cloud Run MCP Server
ローカルMCPサーバーとして使用する
ローカルのGoogle Cloud認証情報を使用して、Cloud Run MCPサーバーをローカルマシンで実行します。これは、AI支援IDE(例:Cursor)やデスクトップAIアプリケーション(例:Claude)を使用している場合に最適です。
Node.jsをインストールします(LTS版推奨)。
Google Cloud SDKをインストールし、Googleアカウントで認証します。
次のコマンドでGoogle Cloudアカウントにログインします:
gcloud auth login次のコマンドでアプリケーションの認証情報を設定します:
gcloud auth application-default loginお使いのMCPクライアントのMCP設定ファイルを次の内容に更新します:
"cloud-run": { "command": "npx", "args": ["-y", "https://github.com/GoogleCloudPlatform/cloud-run-mcp"] }
リモートMCPサーバーとして使用する
[!WARNING]
認証なしでリモートMCPサーバーを使用しないでください。以下の手順では、IAM認証を使用して、ローカルマシンからMCPサーバーへの接続を保護します。これは、Google Cloudリソースへの不正アクセスを防ぐために重要です。
Cloud Run MCPサーバー自体をCloud Run上で実行し、ローカルマシンからの接続はIAMで認証します。 このオプションでは、MCPサーバーが実行されているGoogle Cloudプロジェクトと同じプロジェクトにのみコードをデプロイできます。
Google Cloud SDKをインストールし、Googleアカウントで認証します。
次のコマンドでGoogle Cloudアカウントにログインします:
gcloud auth login次のコマンドでGoogle CloudプロジェクトIDを設定します:
gcloud config set project YOUR_PROJECT_IDCloud Run MCPサーバーをCloud Runにデプロイします:
gcloud run deploy cloud-run-mcp --image us-docker.pkg.dev/cloudrun/container/mcp --no-allow-unauthenticatedプロンプトが表示されたら、リージョンを選択します。例:
europe-west1。MCPサーバーは公開されておらず、IAMによる認証が必要なことに注意してください。
ローカルマシンでCloud Runプロキシを実行し、Cloud Runで実行されているリモートMCPサーバーに自分のIDを使用して安全に接続します:
gcloud run services proxy cloud-run-mcp --port=3000 --region=REGION --project=PROJECT_IDこれにより、ポート3000にローカルプロキシが作成され、リモートMCPサーバーへのリクエストを転送してあなたのIDが注入されます。
お使いのMCPクライアントのMCP設定ファイルを次の内容に更新します:
"cloud-run": { "url": "http://localhost:3000/sse" }MCPクライアントが
url属性をサポートしていない場合は、mcp-remoteを使用できます:"cloud-run": { "command": "npx", "args": ["-y", "mcp-remote", "http://localhost:3000/sse"] }
Maintenance
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
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with and manage Google Cloud Platform resources including Compute Engine, Cloud Run, Storage, BigQuery, and other GCP services through a standardized MCP interface.16MIT
- AlicenseAqualityBmaintenanceEnables MCP-compatible AI agents to deploy applications to Google Cloud Run by providing tools for deploying code, listing services, and managing Google Cloud projects.82,123627Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Google Cloud Platform services through gcloud CLI commands via a Cloud Run deployed MCP server. Supports executing gcloud commands and managing GCP resources through natural language.MIT
- AlicenseBqualityNot gradedmaintenanceEnables AI assistants to interact with and manage Google Cloud Platform resources including Artifact Registry, BigQuery, Cloud Build, Compute Engine, Cloud Run, Cloud Storage, and monitoring services through a standardized MCP interface.1
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
One PAT, any MCP agent: Vercel, GitHub, Cloudflare, Supabase, GCP — unified dev infra gateway.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/rajath-raman/cloud-run-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server