GoogleCloudPlatform/cloud-run-mcp
MCP server to deploy apps to Cloud Run
3fa88d5cb894@google-cloud/cloud-run-mcp1.12.0 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 1 place a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- HIGH1 security advisory has been published for this server itself (worst: high). It lists no fixed version.
- MEDIUM3 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
minimatch11.0.1 or later,uuid11.1.1 or later. - Read its open advisories before installing
GHSA-cg86-fr78-hv98 (high) lists no fixed version. Check whether the version you install is affected.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 8 tools, 2 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
create_project, deploy_file_contents, deploy_local_foldercreate_project, deploy_container_image, deploy_file_contents, deploy_local_folder, get_service, list_projects and 1 morecreate_project, deploy_container_image, deploy_file_contents, deploy_local_folder, get_service, list_projects and 1 morecreate_project, deploy_container_image, deploy_file_contents, deploy_local_folder, get_service, list_projects and 1 moreNo tool was seen to: start other programs on the machine; connect to the internet or other hosts.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files3 tools · create_project, deploy_file_contents, deploy_local_folder
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (10: 8 tools, 2 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
deployprompt Deploys the current working directory to Cloud Run.
Deploys the current working directory to Cloud Run.
logsprompt Gets the logs for a Cloud Run service.
Gets the logs for a Cloud Run service.
create_projecttool 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 automFilesCredentialsEnv varsSensitive pathsoutside text
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.
deploy_container_imagetool Deploys a container image to Cloud Run. Use this tool if the user provides a container image URL.CredentialsEnv varsSensitive paths
Deploys a container image to Cloud Run. Use this tool if the user provides a container image URL.
deploy_file_contentstool 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 FilesCredentialsEnv varsSensitive pathsoutside text
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.
deploy_local_foldertool 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 neFilesCredentialsEnv varsSensitive pathsoutside text
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.
get_servicetool Gets details for a specific Cloud Run service.CredentialsEnv varsSensitive paths
Gets details for a specific Cloud Run service.
get_service_logtool Gets Logs and Error Messages for a specific Cloud Run service.
Gets Logs and Error Messages for a specific Cloud Run service.
list_projectstool Lists available GCP projectsCredentialsEnv varsSensitive paths
Lists available GCP projects
list_servicestool Lists all Cloud Run services in a given project.CredentialsEnv varsSensitive paths
Lists all Cloud Run services in a given project.
Text the model reads (10)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
list_projects tool
Lists available GCP projects
create_project tool
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.
list_services tool
Lists all Cloud Run services in a given project.
get_service tool
Gets details for a specific Cloud Run service.
get_service_log tool
Gets Logs and Error Messages for a specific Cloud Run service.
deploy_local_folder tool
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.
deploy_file_contents tool
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.
deploy_container_image tool
Deploys a container image to Cloud Run. Use this tool if the user provides a container image URL.
deploy prompt
Deploys the current working directory to Cloud Run.
logs prompt
Gets the logs for a Cloud Run service.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 10 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 10 capabilities; 8 more call code the scanner could not follow, where it may happen
- Tools that touch files3 of 10 capabilities touch files; 5 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 10 capabilities; 8 more call code the scanner could not follow, where it may happen
Where the code is: 10 handlers in 2 files at commit 3fa88d5cb894
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests6 manifests: example-sources-to-deploy/golang/go.mod, example-sources-to-deploy/java/pom.xml, example-sources-to-deploy/nodejs/package.json, example-sources-to-deploy/python/pip-project/requirements.txt, example-sources-to-deploy/python/pyproject-project/pyproject.toml
- Lockfiles checked against OSV3 files resolved and checked against the OSV database; 3 not resolved: example-sources-to-deploy/nodejs/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked; example-sources-to-deploy/python/pip-project/requirements.txt: 2 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependencies MEDIUM3 production packages with known advisories
- Known vulnerabilities in other dependencies3 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/sdk ^1.24.3
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials7 of 10 capabilities read credentials; 1 more call code the scanner could not follow, where it may happen
- Environment variables7 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (3 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
minimatchnpm 10.2.5 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
uuidnpm 8.3.2 MEDIUM 1 advisory 11.1.112.0.113.0.1
- MEDIUMGHSA-w5hq-g745-h8pq CVE-2026-41907 CVE-2026-41988uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided
uuidnpm 9.0.1 MEDIUM 1 advisory 11.1.112.0.113.0.1
- MEDIUMGHSA-w5hq-g745-h8pq CVE-2026-41907 CVE-2026-41988uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided
3 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
globnpm 10.5.0 MEDIUM 1 advisory 14.0.2
- MEDIUMGHSA-3g3m-2fjr-6pw4 CVE-2026-118773Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
minimatchnpm 9.0.7 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
minimatchnpm 10.2.6 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
- HIGH GHSA-cg86-fr78-hv98CVE-2026-85297Bucket Squatting in Google Cloud Run MCP versions prior to 1.11.0 on Google Cloud Platform allows...
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, SSE, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.24.3 |
| Servers in the code | 1 (cloud-run) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | 1 · 0 with a fixed version released |
| Last push | 2026-11-14 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| Listed in | 9 catalogs (awesome_habitoai, awesome_wong2, awesome_yuzehao2023, docker_catalog, github_search, glama, mcp_toplist, mcpservers_org, npm) |
| License | Apache-2.0 |
| Created | 2025-05-06 |
| Topics | google-cloud google-cloud-run mcp mcp-server |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.