Google Cloud Storage MCP server for AI agents

Live

OAUTH 2.0

CLOUD STORAGE

Files & Documents

Google Cloud Storage gives your agent access to the buckets and objects in your Google Cloud account: list and inspect buckets, download and update objects, and copy, move, compose, and restore them.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Google Cloud Storage
agent · Acme Q3
Run
List the objects in my analytics-exports bucket under 2026/.
S
googlecloudstorage_objects_list
180ms
Storage agent
Found 14 objects under 2026/ in analytics-exports. The largest is q3-summary.parquet at 212 MB.
Sources: Google Cloud Storage objects, 14 objects
googlecloudstorage
14 objects
18:29
Message Claude...

Tools your cloud storage agent reaches for on Google Cloud Storage, scoped per user.

CALL ANY TOOL
22 tools for cloud storage in Google Cloud Storage: list buckets and objects, read IAM policies, download and update objects, and create, copy, move, compose, and delete.
googlecloudstorage_bucket_create
Create bucket
Create a Cloud Storage bucket in a Google Cloud project. Returns the new bucket resource. Use this to add a bucket. Bucket names are globally unique; the call fails with 409 if the name is taken.
Parameters
Name
Type
Required
Description
name
string
Required
Globally unique bucket name: 3 to 63 lowercase letters, digits, dashes, underscores and dots. Example: acme-reports-2026
project
string
Required
Google Cloud project ID or number. Example: my-project-123
labels
object
Optional
Key-value labels for the bucket. Keys and values are lowercase. Example: {"team": "finance"}
lifecycle_rules
array
Optional
Lifecycle rules that replace the bucket's current rules. Each rule has an action (Delete, SetStorageClass or AbortIncompleteMultipartUpload) and a condition, such as age in days. Example: [{"action": {"type": "Delete"}, "condition": {"age": 365}}]
location
string
Optional
Where the bucket's data lives: a region, dual-region or multi-region. It cannot be changed later. Defaults to US. Example: EUROPE-WEST1
storage_class
string
Optional
Default storage class for new objects: STANDARD, NEARLINE, COLDLINE or ARCHIVE. Example: STANDARD. One of: `STANDARD`, `NEARLINE`, `COLDLINE`, `ARCHIVE`.
uniform_bucket_level_access
boolean
Optional
Control access with IAM only, turning off per-object ACLs. Example: true
versioning_enabled
boolean
Optional
Keep old versions of objects when they are overwritten or deleted. Example: true
googlecloudstorage_bucket_delete
Delete bucket
googlecloudstorage_bucket_get
Get bucket
googlecloudstorage_bucket_iam_policy_get
Get bucket iam policy
googlecloudstorage_bucket_permissions_test
Bucket permissions test
googlecloudstorage_bucket_update
Update bucket
googlecloudstorage_buckets_list
List buckets
googlecloudstorage_folder_create
Create folder
googlecloudstorage_folders_list
List folders
googlecloudstorage_notification_create
Create notification
googlecloudstorage_notification_delete
Delete notification
googlecloudstorage_notifications_list
List notifications
googlecloudstorage_object_compose
Object compose
googlecloudstorage_object_copy
Copy object
googlecloudstorage_object_delete
Delete object
googlecloudstorage_object_download
Download object
googlecloudstorage_object_get
Get object
googlecloudstorage_object_move
Move object
googlecloudstorage_object_restore
Restore object
googlecloudstorage_object_update
Update object
googlecloudstorage_objects_list
List objects
googlecloudstorage_service_account_get
Get service account
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Google Cloud Storage tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["googlecloudstorage"], toolNames: [
    "googlecloudstorage_buckets_list",
    "googlecloudstorage_objects_list",
    "googlecloudstorage_object_download"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my buckets, find the Q3 reports in analytics-exports, and download reports/q3.csv" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["googlecloudstorage"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my buckets, find the Q3 reports in analytics-exports, and download reports/q3.csv" }],
  tools,
});

// Execute the tool call with the user's vaulted Google Cloud Storage OAuth token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["googlecloudstorage"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my buckets, find the Q3 reports in analytics-exports, and download reports/q3.csv" }],
  tools,
});

// Tool call runs with the user's vaulted Google Cloud Storage OAuth token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["googlecloudstorage"] }, pageSize: 100,
});

const agent = new Agent({
  name: "storage_agent",
  model: "gemini-2.5-pro",
  instruction: "Google Cloud Storage tools scoped to this user",
  tools,
});

await agent.run("List my buckets, find the Q3 reports in analytics-exports, and download reports/q3.csv");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Google Cloud Storage tool. Click to copy, paste into your agent, done.
Buckets
Copy the prompt
Copied
List my buckets.
Copy the prompt
Copied
Show the IAM policy of the analytics-exports bucket.
Copy the prompt
Copied
Check whether I have storage.objects.get permission on analytics-exports.
Objects
Copy the prompt
Copied
List the folders in analytics-exports.
Copy the prompt
Copied
Download the object reports/q3.csv from analytics-exports.
Copy the prompt
Copied
Copy reports/q3.csv to the archive bucket.
Manage objects
Copy the prompt
Copied
Move old/data.json into the archive folder.
Copy the prompt
Copied
Restore the deleted object logs/app.log.
Copy the prompt
Copied
Join these 3 log chunks into one object.
SEE HOW AUTH WORKS
Each user signs in to Google Cloud Storage once; Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Google Cloud Storage
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Google Cloud Storage
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Google Cloud Storage
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Google Cloud Storage
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other file and developer connectors.
Engineering Teams
DevOps assistant agent
Polls GitHub for failing checks and stale PRs, opens Linear issues for the ones that need work, and posts a daily digest to Slack. It acts as the engineer, not a shared service account.
Test other agents
See the same per-user auth pattern across other file and developer connectors.
ENGINEERING
DevOps assistant agent
Poll GitHub for failing checks and stale pull requests, open Linear issues for the ones that need work, and digest to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Google Cloud Storage token looks fine in a demo. In production every object change looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Google Cloud Storage today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Google Cloud Storage as the user or through a shared service account?
As the user. Each user signs in to Google Cloud Storage once, and Scalekit stores and refreshes their tokens. Reads and changes the agent makes are attributed to that user in your audit trail, not a shared service account.
Where is the Google Cloud Storage OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Google Cloud Storage?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the bucket and object read tools without googlecloudstorage_bucket_delete or googlecloudstorage_object_delete, which permanently remove buckets and objects. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Google Cloud Storage access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent read the contents of a file?
Yes. googlecloudstorage_object_download returns the content of an object, and text files such as CSV, JSON, or logs come back as text. googlecloudstorage_object_get returns metadata only, and large or binary files may not be usable in the response.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""googlecloudstorage"": {
""url"": ""https://mcp.scalekit.com/googlecloudstorage"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.googlecloudstorage]
url = ""https://mcp.scalekit.com/googlecloudstorage""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""googlecloudstorage"": {
""url"": ""https://mcp.scalekit.com/googlecloudstorage"",
""type"": ""http""
}
}
}