Skip to content

Menu

GCP Cloud Run MCP Server logo

GCP Cloud Run MCP Server

Published · Updated

At a glance

Watch out for
Deployments create real services that can incur cost.

cloud-run-mcp is Google's MCP server for deploying applications to Cloud Run, published on npm as @google-cloud/cloud-run-mcp and also packaged as a Gemini CLI extension. It does one job well: taking code an agent has written and getting it running on Cloud Run, then helping you see what happened.

The tools cover the deployment loop. deploy-local-folder deploys a local folder, and deploy-file-contents deploys files passed by content, which is what remote setups use. list-services and get-service show what is running, and get-service-log returns logs and error messages. Two prompts, deploy and logs, act as shortcuts for the current directory or DEFAULT_SERVICE_NAME. When run locally it can also list projects and create a new project attached to your first available billing account.

The README makes one distinction clear: this server deploys your code to Cloud Run. If you want to host your own MCP server on Cloud Run, that is a separate topic covered in Cloud Run's documentation. The server can run locally, using your gcloud credentials, or as a remote server with OAuth, and in remote mode the local-only tools such as deploying a local folder and creating projects are not available.

How it connects

Your AI app

An assistant or agent that supports MCP

GCP Cloud Run MCP Server

Runs as

  • npx (Node.js)
  • Remote (HTTP)

Gives the agent

  • Deploy
  • Inspect services
  • Logs
  • Projects (local only)
  • Defaults

GCP Cloud Run

Signs in with

  • OAuth / browser sign-in
Your AI app talks to GCP Cloud Run MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Deploy
deploy-local-folder ships a local folder to Cloud Run, deploy-file-contents deploys files passed directly, and the deploy prompt deploys the current directory.
Inspect services
list-services and get-service show services in a project and region and their configuration.
Logs
get-service-log, and the logs prompt, return logs and error messages for a service, useful right after a failed deploy.
Projects (local only)
list-projects lists projects, and create-project creates one and attaches it to your first billing account.
Defaults
GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_REGION and DEFAULT_SERVICE_NAME set defaults so the agent does not have to guess.

Setting it up

For a local server, install and authenticate the gcloud CLI, then add a server that runs npx -y @google-cloud/cloud-run-mcp. Set GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_REGION in its environment so deployments go to the right place, and DEFAULT_SERVICE_NAME if you usually deploy one service. Gemini CLI users can install it as an extension. The README also explains running it as a remote server, including OAuth configuration for Gemini CLI. Use a project you are happy to deploy into, since deployments create real, billable services.

Run in a terminal
claude mcp add gcp-cloud-run -- npx -y @google-cloud/cloud-run-mcp

Runs the @google-cloud/cloud-run-mcp package from npm. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Deploying an app the agent just built and getting a live URL
  • Reading logs after a deployment fails to start
  • Listing services in a project and checking their settings
  • Creating a fresh project for a prototype

Limitations and things to watch

  • Deployments create real services that can incur cost.
  • create-project attaches the first available billing account, which may not be the one you want.
  • Remote mode cannot deploy local folders or create projects.
  • It deploys and inspects; it does not manage IAM, networking or domains.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…