Version 4.43 or later needs to be installed to add the server automatically
Use cases
About
MCP server to deploy apps to Cloud Run.
Attribute | Details |
---|---|
Docker Image | mcp/cloud-run-mcpโ |
Author | GoogleCloudPlatformโ |
Repository | https://github.com/GoogleCloudPlatform/cloud-run-mcpโ |
Dockerfile | https://github.com/GoogleCloudPlatform/cloud-run-mcp/blob/main/Dockerfileโ |
Docker Image built by | Docker Inc. |
Docker Scout Health Score | |
Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/cloud-run-mcp --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
Licence | Apache License 2.0 |
Tools provided by this Server | Short Description |
---|---|
create_project | Creates a new GCP project and attempts to attach it to the first available billing account. |
deploy_container_image | Deploys a container image to Cloud Run. |
deploy_file_contents | Deploy files to Cloud Run by providing their contents directly. |
deploy_local_folder | Deploy a local folder to Cloud Run. |
get_service | Gets details for a specific Cloud Run service. |
get_service_log | Gets Logs and Error Messages for a specific Cloud Run service. |
list_projects | Lists available GCP projects |
list_services | Lists Cloud Run services in a given project and region. |
create_project
Creates a new GCP project and attempts to attach it to the first available billing account. A project ID can be optionally specified; otherwise it will be automatically generated.
Parameters | Type | Description |
---|---|---|
projectId | string optional | Optional. The desired ID for the new GCP project. If not provided, an ID will be auto-generated. |
deploy_container_image
Deploys a container image to Cloud Run. Use this tool if the user provides a container image URL.
Parameters | Type | Description |
---|---|---|
imageUrl | string | The URL of the container image to deploy (e.g. "gcr.io/cloudrun/hello") |
project | string | Google Cloud project ID. Do not select it yourself, make sure the user provides or confirms the project ID. |
region | string optional | Region to deploy the service to |
service | string optional | Name of the Cloud Run service to deploy to |
deploy_file_contents
Deploy files to Cloud Run by providing their contents directly. Takes an array of file objects containing filename and content. Use this tool if the files only exist in the current chat context.
Parameters | Type | Description |
---|---|---|
files | array | Array of file objects containing filename and content |
project | string | Google Cloud project ID. Leave unset for the app to be deployed in a new project. If provided, make sure the user confirms the project ID they want to deploy to. |
region | string optional | Region to deploy the service to |
service | string optional | Name of the Cloud Run service to deploy to |
deploy_local_folder
Deploy a local folder to Cloud Run. Takes an absolute folder path from the local filesystem that will be deployed. Use this tool if the entire folder content needs to be deployed.
Parameters | Type | Description |
---|---|---|
folderPath | string | Absolute path to the folder to deploy (e.g. "/home/user/project/src") |
project | string | Google Cloud project ID. Do not select it yourself, make sure the user provides or confirms the project ID. |
region | string optional | Region to deploy the service to |
service | string optional | Name of the Cloud Run service to deploy to |
get_service
Gets details for a specific Cloud Run service.
Parameters | Type | Description |
---|---|---|
project | string | Google Cloud project ID containing the service |
service | string | Name of the Cloud Run service |
region | string optional | Region where the service is located |
get_service_log
Gets Logs and Error Messages for a specific Cloud Run service.
Parameters | Type | Description |
---|---|---|
project | string | Google Cloud project ID containing the service |
service | string | Name of the Cloud Run service |
region | string optional | Region where the service is located |
list_projects
Lists available GCP projects
list_services
Lists Cloud Run services in a given project and region.
Parameters | Type | Description |
---|---|---|
project | string | Google Cloud project ID |
region | string optional | Region where the services are located |
{
"mcpServers": {
"cloud-run-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GOOGLE_APPLICATION_CREDENTIALS",
"-v",
"/local-directory:/local-directory",
"mcp/cloud-run-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/Users/slim/.config/gcloud/application_default-credentials.json"
}
}
}
}
Manual installation
You can install the MCP server using:
Installation for