PlugWiki
storage-mcp logo

Google Cloud Storage MCP Server: Setup for Claude, Cursor and Gemini CLI

OfficialLocal

Lets Claude, Cursor and Gemini CLI list, read and manage the files and buckets in your Google Cloud Storage.

This is a Google Cloud server for Cloud Storage. It lets your assistant list buckets, read files, check who has access, and upload or copy new files. It runs on your computer and uses your own gcloud login, so it can only do what that account is allowed to do.

By default it runs in safe mode: it can read and add files but cannot overwrite or delete anything. Delete, overwrite and move tools only appear if you start it with the destructive flag. Google calls the project a preview and says it is not an officially supported Google product, so expect breaking changes.

Good for

  • Google Cloud users who want to find and read stored files by asking in plain words
  • Data teams who need totals and filters across a whole bucket inventory using Storage Insights
  • Developers who copy and upload files to buckets while they work in an editor
  • Teams who want safe mode on by default, with delete and overwrite tools off until they ask for them

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install storage MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the storage MCP server to Claude Code. Run this command:
    
    claude mcp add storage -- npx -y @google-cloud/storage-mcp
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Built from the package data we hold. Not yet tested by us.

Tools

  • Lists the storage buckets in a Google Cloud project

    Returns every bucket in a project you name. A good first step when you do not remember where a file lives.

    Try: “List all the buckets in my project analytics-prod.”

    Network · list_buckets

  • Lists the files inside a bucket

    Lists objects in a bucket, with options to narrow the list by folder-style prefix.

    Try: “Show me what is in the reports folder of the finance-archive bucket.”

    Network · list_objects

  • Reads the contents of a file in a bucket

    Fetches the content of one stored object so the assistant can read it. Text comes back as text; other file types come back as a resource.

    Try: “Read config/settings.json from the app-assets bucket and summarize it.”

    Network · read_object_content

  • Shows size, type, dates and labels for one file

    Returns the full metadata record for a single object, such as its size, content type and timestamps.

    Try: “When was backups/db-dump.sql last updated and how big is it?”

    Network · read_object_metadata

  • Shows the settings of a bucket

    Returns the full metadata for a bucket, including its location, storage class and labels.

    Try: “What storage class and location does the media-uploads bucket use?”

    Network · get_bucket_metadata

  • Tells you where a bucket is stored

    Returns the region or multi-region a bucket lives in.

    Try: “Which region is the logs-eu bucket in?”

    Network · get_bucket_location

  • Shows who has access to a bucket

    Returns the access policy of a bucket, which lists the roles and who holds them.

    Try: “Who has access to the customer-exports bucket?”

    Network · view_iam_policy

  • Checks which actions your account can do on a bucket

    Tests a list of permissions against a bucket and reports which ones the signed-in account has.

    Try: “Can I delete objects in the staging-assets bucket?”

    Network · check_iam_permissions

  • Lists Storage Insights datasets set up in a project

    Returns the names of the Storage Insights dataset configurations in a project. These datasets let you run reports across all your objects.

    Try: “Which Storage Insights datasets exist in my project?”

    Network · list_insights_configs

  • Checks Insights is on and shows its table layout

    Checks whether Storage Insights is enabled and returns the BigQuery table layout for a dataset, so a query can be written against it.

    Try: “Show me the columns of my Storage Insights dataset.”

    Network · get_metadata_table_schema

  • Runs a report across all your objects with BigQuery

    Runs a BigQuery SQL query against a Storage Insights dataset and returns the rows. Use it for totals and filters over a whole inventory, such as counting files by type.

    Try: “How many objects larger than 1 GB do we have, grouped by bucket?”

    Network · execute_insights_query

  • Creates a new bucket

    Creates a bucket with the settings you give it. This is on in safe mode too, and new buckets can add cost.

    Try: “Create a bucket called team-archive-2026 in europe-west1.”

    Write · create_bucket

Read from the source code

Permissions

medium risk · 4 things to watch

Medium risk

In its default safe mode the assistant can read your data and add new buckets and files, but it cannot overwrite or delete existing ones. Sign in with a limited service account, and leave the destructive flag off unless you need it.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • The destructive flag adds delete and overwrite

    Starting the server with the destructive flag registers tools that delete buckets and objects, overwrite files and move objects. Leave it off unless you trust the task and the account. github.com

  • Safe mode still creates buckets and files

    Creating buckets and adding new objects is allowed by default and can add cost. Use a service account whose role only allows what you want. github.com

  • Access equals your gcloud account

    The server has the same permissions as the signed-in account. Authorize gcloud as a service account with a limited role to limit it. github.com

  • Reads can run BigQuery queries

    The insights query tool runs SQL in BigQuery against a Storage Insights dataset, which can use your BigQuery quota. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Turning on read-onlyThere is no read-only flag. Safe mode (the default) still lets it create buckets and add new objects. Use a service account with a read-only Storage role to make it read-only.
Talks toGoogle Cloud Storage and BigQuery APIs
Sign-in and keysNo key is stored in the server. It uses the account that gcloud is signed in with on your computer.
Scopes
  • Uses the permissions of the gcloud account or service account you are signed in with

Questions

Is the Google Cloud Storage MCP server official?

Yes. Google ships it in the googleapis GitHub organization. The README still calls it a preview and says it is not an officially supported Google product.

Does it need an API key?

No. It uses the Google account that the gcloud CLI is signed in with, so install gcloud and sign in first. Node.js 20 or higher is required.

Can I stop it deleting files?

Yes, that is the default. Without --enable-destructive-tools, delete, move and overwrite tools are not registered. It can still create buckets and add new files.

Which apps does it work with?

It runs on your computer over stdio. The README gives config steps for Claude Desktop, Cline, Cursor, VS Code and Gemini CLI.

How do I turn on the delete tools?

Add --enable-destructive-tools to the server command (npx -y @google-cloud/storage-mcp --enable-destructive-tools), or pass it to init --agent=gemini-cli. The delete and overwrite tools then replace their safe versions. Only do this for a trusted task.

Does the tool list match the README?

Mostly. The README names the safe write tools with a _new ending, but the source registers them as write_object_safe, upload_object_safe and copy_object_safe. This page uses the source names.

Information

updated Nov 2, 2026

Publisher
Official
Package
@google-cloud/storage-mcp
Registry
npm
Transport
stdio
Version
0.6.0
License
Apache-2.0
Last commit
Oct 17, 2026
Open issues
33

GitHubnpm

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 3
  1. Storage MCP README · github.com
  2. Server entry point · github.com
  3. Tool registration · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.