
Cloud Storage MCP Server
MCP Server to interact with Google Cloud Storage
What is Cloud Storage MCP Server?
Cloud Storage MCP Server is a Model Context Protocol (MCP) server designed to facilitate interactions with Google Cloud Storage, allowing users to manage their storage buckets and files efficiently.
How to use Cloud Storage MCP Server?
To use the Cloud Storage MCP Server, you need to install the necessary dependencies, build the project, and configure it with your Google Cloud project details. After setup, you can use various commands to interact with your 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 multiple Google Cloud Storage buckets.
- Automating file uploads and downloads in cloud storage.
- Monitoring and retrieving file details for data analysis.
FAQ from Cloud Storage MCP Server?
- What programming language is used for this project?
The project is developed in JavaScript.
- Is there a license for this project?
Yes, it is licensed under the MIT license.
- How can I contribute to the project?
You can contribute by submitting issues or pull requests on the GitHub repository.
Cloud Storage MCP Server
A Model Context Protocol (MCP) server for Google Cloud Storage that enables interactions with Google Cloud Storage buckets and files.
Features
- 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
Setup
-
Install dependencies:
npm install
-
Build the project:
npm run build
-
Configure Claude Desktop: Add the following to your
claude_desktop_config.json
:"cloudstorage-mcp": { "command": "node", "args": [ "/path/to/cloudstorage-mcp/build/index.js" ], "env": { "GOOGLE_CLOUD_PROJECTS": "project-id1,project-id2" } }
Replace the path in args with the actual path to index.js.
Define a comma-separated list of project IDs in GOOGLE_CLOUD_PROJECTS. Example:
google-project-id1,google-project-id2
The first listed project is the default.The application expects to find .json credential file(s) in the keys folder for each project. Example: keys/google-project-id1.json
Ensure the relevant cloud service account has appropriate permission to interact with Cloud Storage, e.g.
Storage Admin
or lesser permission(s).
Available Tools
listBuckets
: List all Cloud Storage buckets in a projectgetBucket
: Get details of a specific Cloud Storage bucketlistFiles
: List files in a Cloud Storage bucketgetFile
: Get details of a specific file in a Cloud Storage bucketuploadFile
: Upload a file to a Cloud Storage bucketdownloadFile
: Download a file from a Cloud Storage bucketdeleteFile
: Delete a file from a Cloud Storage bucket
Example Usage in Claude Desktop
Here are examples of how to use each tool in Claude Desktop:
List Buckets
List all buckets in my Google Cloud project.
Get Files in a Bucket
Show me all files in the backup-data bucket.
Get File Details
Get details of the file reports/monthly_report.pdf in the data-analysis bucket.
Development
# Watch mode
npm run dev