Google Cloud Run
v2.0.0Deploy applications to Cloud Run
Endpoint health
online- Last checked
- 11/20/2026, 6:17:47 AM
- Latency
- 33 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:com.googleapis.run%2Fmcp
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"com.googleapis.run/mcp": {
"url": "https://run.googleapis.com/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
5 shown · authentication unknown
deploy_service_from_archive
Deploy a Cloud Run service directly from a self-contained source code archive (.tar.gz), skipping the container image build step for faster deployment. The archive must include all dependencies: - For compiled languages (Go, Java), include pre-compiled binaries. - For scripting languages (Python, Node.js), include pre-installed libraries (e.g., vendor/, node_modules/). Deployment steps: 1. Package source code and dependencies into a .tar.gz archive (max 250MiB). It's recommended to create archive from the root of the application's source directory. 2. Upload the archive to a Google Cloud Storage bucket, preferably in the same region as the service. 3. Deploy to Cloud Run using this tool, specifying: - source_code: Google Cloud Storage object path to the archive (e.g., gs://bucket/object). - command: Command to start the application. - base_image_uri: Base image for the container (e.g., go124, nodejs24, python314). See https://docs.cloud.google.com/run/docs/configuring/services/runtime-base-images for options. The runtime picked should match the local environment. - args: (Optional) Arguments for the command. - env: (Optional) Environment variables (e.g., name: `PYTHONPATH`, value: `./vendor`). - ports: (Optional) Container ports to expose (defaults to 8080).
Schema valid · SHA-256 dd914852df61…
View input schema
{ "type": "object", "properties": { "service": { "$ref": "#/$defs/SourceService", "description": "Required. The service to deploy." } }, "required": [ "service" ], "$defs": { "CloudStorageSource": { "description": "Cloud Storage source.", "properties": { "bucket": { "description": "Required. The Cloud Storage bucket name.", "type": "string" }, "generation": { "description": "Optional. The Cloud Storage object generation.", "format": "int64", "type": "string" }, "object": { "description": "Required. The Cloud Storage object name.", "type": "string" } }, "required": [ "bucket", "object" ], "type": "object" }, "ContainerPort": { "description": "ContainerPort represents a network port in a single container.", "properties": { "containerPort": { "description": "Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.", "format": "int32", "type": "integer" }, "name": { "description": "If specified, used to specify which protocol to use. Allowed values are \"http1\" and \"h2c\".", "type": "string" } }, "type": "object" }, "EnvVar": { "description": "EnvVar represents an environment variable present in a Container.", "properties": { "name": { "description": "Required. Name of the environment variable. Must not exceed 32768 characters.", "type": "string" }, "value": { "description": "Literal value of the environment variable. Defaults to \"\", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. Only one of this field or valueSource should be set.", "type": "string" }, "valueSource": { "$ref": "#/$defs/EnvVarSource", "description": "Source for the environment variable's value. Only one of this field or value should be set." } }, "required": [ "name" ], "type": "object" }, "EnvVarSource": { "description": "EnvVarSource represents a source for the value of an EnvVar.", "properties": { "secretKeyRef": { "$ref": "#/$defs/SecretKeySelector", "description": "Selects a secret and a specific version from Cloud Secret Manager." } }, "type": "object" }, "InlinedSource": { "description": "Inlined source.", "properties": { "sources": { "description": "Required. Input only. The source code.", "items": { "$ref": "#/$defs/SourceFile" }, "type": "array", "writeOnly": true } }, "required": [ "sources" ], "type": "object" }, "SecretKeySelector": { "description": "SecretEnvVarSource represents a source for the value of an EnvVar.", "properties": { "secret": { "description": "Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.", "type": "string" }, "version": { "description": "The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.", "type": "string" } }, "required": [ "secret" ], "type": "object" }, "SourceCode": { "description": "Source type for the container.", "properties": { "cloudStorageSource": { "$ref": "#/$defs/CloudStorageSource", "description": "The source is a Cloud Storage bucket. Only one of this field or inlinedSource should be set." }, "inlinedSource": { "$ref": "#/$defs/InlinedSource", "description": "Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. This field is only supported in Cloud Run Service. Only one of this field or cloudStorageSource should be set.", "writeOnly": true } }, "type": "object" }, "SourceContainer": { "description": "A single application container.", "properties": { "args": { "description": "Optional. Arguments to the entrypoint.", "items": { "type": "string" }, "type": "array" }, "baseImageUri": { "description": "Required. Base image URI to use for the container. The full list of images can be found in https://docs.cloud.google.com/run/docs/configuring/services/runtime-base-images, i.e. nodejs24. The runtime picked should match the local environment.", "type": "string" }, "command": { "description": "Required. Entrypoint array to start the app.", "items": { "type": "string" }, "type": "array" }, "env": { "description": "Optional. List of environment variables to set in the container.", "items": { "$ref": "#/$defs/EnvVar" }, "type": "array" }, "ports": { "description": "Optional. List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If multiple containers are specified, exactly one container must have this field set. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.", "items": { "$ref": "#/$defs/ContainerPort" }, "type": "array" }, "sourceCode": { "$ref": "#/$defs/SourceCode", "description": "Required. The location of the source code to be used for the container. This can be either source code inlined as text or source code as a Cloud Storage object." } }, "required": [ "sourceCode", "command", "baseImageUri" ], "type": "object" }, "SourceFile": { "description": "Source file.", "properties": { "content": { "description": "Required. Input only. Represents the exact, literal, and complete source code of the file. Placeholders like `...` or comments such as `# [rest of code]` should NEVER be used as omission. Every character in this field will be built into the final container. Any omission will result in a broken application.", "type": "string", "writeOnly": true }, "filename": { "description": "Required. Input only. The file name for the source code. e.g., `\"index.js\"` or `\"node_modules/dependency.js\"`. The filename must be less than 255 characters and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place the files in the container subdirectories, please use relative path to access the file.", "type": "string", "writeOnly": true } }, "required": [ "filename", "content" ], "type": "object" }, "SourceService": { "description": "Service represents the configuration of a managed service.", "properties": { "invokerIamDisabled": { "description": "Optional. Disables IAM permission check for run.routes.invoke for callers of this service. Set to true to make this service public and allow unauthenticated access. This field defaults to false when unset, which means the service is private and only allows access from authenticated users.", "type": "boolean" }, "name": { "description": "Required. Identifier. The short name of the Service.", "type": "string", "x-google-identifier": true }, "project": { "description": "Required. Identifier. The project ID or project number to get the Service from.", "type": "string", "x-google-identifier": true }, "region": { "description": "Required. Identifier. The region to get the Service from.", "type": "string", "x-google-identifier": true }, "template": { "$ref": "#/$defs/SourceServiceRevisionTemplate", "description": "Required. The template used to create revisions for this Service." } }, "required": [ "name", "project", "region", "template" ], "type": "object" }, "SourceServiceRevisionTemplate": { "description": "The revision template for a service deployed from source code.", "properties": { "containers": { "description": "Required. Holds the containers that define this Revision.", "items": { "$ref": "#/$defs/SourceContainer" }, "type": "array" } }, "required": [ "containers" ], "type": "object" } }, "description": "Request message for deploying source code as a Cloud Run service." }
Connections
streamable-http
https://run.googleapis.com/mcp