Cloud Storage MCP Server logo

Cloud Storage MCP Server

by gitskyflux

A Model Context Protocol (MCP) server for Google Cloud Storage that enables interactions with Google Cloud Storage buckets and files. It allows users to manage their cloud storage directly through a compatible interface like Claude Desktop.

View on GitHub

Last updated: N/A

What is Cloud Storage MCP Server?

The Cloud Storage MCP Server is a tool that allows users to interact with Google Cloud Storage buckets and files through a Model Context Protocol (MCP) interface. It provides a set of tools to list, get, upload, download, and delete files and buckets within Google Cloud Storage.

How to use Cloud Storage MCP Server?

  1. Install dependencies using npm install. 2. Build the project using npm run build. 3. Configure Claude Desktop by adding the server configuration to claude_desktop_config.json, specifying the command, arguments (path to the built index.js), and environment variables (GOOGLE_CLOUD_PROJECTS with a comma-separated list of project IDs). 4. Ensure that the application can access .json credential files in the keys folder for each project. 5. Make sure the service account has the appropriate permissions to interact with Cloud Storage.

Key features of Cloud Storage MCP Server

  • List Cloud Storage buckets in a project

  • Get details of a specific bucket

  • List files in a bucket

  • Get details of a specific file

  • Upload files to a bucket

  • Download files from a bucket

  • Delete files from a bucket

Use cases of Cloud Storage MCP Server

  • Managing cloud storage files through Claude Desktop

  • Automating file uploads and downloads to Google Cloud Storage

  • Retrieving specific file details for reporting or analysis

  • Listing buckets and files for inventory management

FAQ from Cloud Storage MCP Server

What is GOOGLE_CLOUD_PROJECTS?

A comma-separated list of Google Cloud Project IDs that the server will interact with. The first project listed is the default.

Where should I store my Google Cloud credentials?

The application expects to find .json credential file(s) in the keys folder for each project. Example: keys/google-project-id1.json

What permissions does the service account need?

Ensure the relevant cloud service account has appropriate permission to interact with Cloud Storage, e.g. Storage Admin or lesser permission(s).

How do I list all buckets?

Use the listBuckets tool.

How do I get files in a bucket?

Use the listFiles tool.