S3 MCP Server
Provides tools for managing S3-compatible storage including Cloudflare R2, with capabilities for listing buckets, uploading/downloading objects, and managing files in cloud storage.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@S3 MCP Server list files in my backup bucket"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
S3 MCP Server
A Model Context Protocol server that interfaces with S3-compatible storage (like Cloudflare R2).
Features
List buckets (
s3_list_buckets)List objects in a bucket (
s3_list_objects)Read object content (
s3_read_object)Upload objects (
s3_put_object)Delete objects (
s3_delete_object)
Related MCP server: AWS S3 MCP Server
Installation
Navigate to the directory:
cd s3-mcp-serverInstall dependencies:
npm installBuild the server:
npm run build
Configuration
To use this with an MCP client (like Claude Desktop or a custom client), add it to your configuration.
Cloudflare R2 Example
For Cloudflare R2, your endpoint should look like: https://<ACCOUNT_ID>.r2.cloudflarestorage.com
Running from GitHub (Recommended)
{
"mcpServers": {
"s3": {
"command": "npx",
"args": [
"-y",
"github:AM1010101/s3-mcp-server"
],
"env": {
"S3_ENDPOINT": "https://<YOUR_ACCOUNT_ID>.r2.cloudflarestorage.com",
"S3_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"S3_SECRET_ACCESS_KEY": "<YOUR_SECRET_ACCESS_KEY>",
"S3_REGION": "auto"
}
}
}
}Running Locally
If you have cloned the repository and built it locally:
{
"mcpServers": {
"s3": {
"command": "node",
"args": ["/absolute/path/to/s3-mcp-server/dist/index.js"],
"env": {
"S3_ENDPOINT": "https://<YOUR_ACCOUNT_ID>.r2.cloudflarestorage.com",
"S3_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"S3_SECRET_ACCESS_KEY": "<YOUR_SECRET_ACCESS_KEY>",
"S3_REGION": "auto"
}
}
}
}Environment Variables
S3_ENDPOINT: The S3 API endpoint URL.S3_ACCESS_KEY_ID: Your access key ID.S3_SECRET_ACCESS_KEY: Your secret access key.S3_REGION: The region (default: "auto").
Tools
s3_list_buckets: Lists all available buckets.
s3_list_objects: Lists files in a bucket.
bucket: Name of the bucket.prefix: (Optional) Filter by prefix.
s3_read_object: Reads a file as text.
bucket: Name of the bucket.key: File path/key.
s3_put_object: Uploads text content to a file.
bucket: Name of the bucket.key: File path/key.content: Content string.
s3_delete_object: Deletes a file.
bucket: Name of the bucket.key: File path/key.
Available Tools
5 toolss3_delete_objectB
Delete an object from an S3 bucket
Inputs: bucket (required), key (required).
s3_list_bucketsB
List all S3 buckets
Inputs: no named parameters.
s3_list_objectsC
List objects in an S3 bucket
Inputs: bucket (required), prefix, maxKeys.
s3_put_objectC
Upload an object to an S3 bucket
Inputs: bucket (required), key (required), content (required).
s3_read_objectC
Read the content of an object from an S3 bucket
Inputs: bucket (required), key (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose targeting specific S3 operations: listing buckets, listing objects, uploading, reading, and deleting. There is no overlap in functionality, making tool selection straightforward for an agent.
All tools follow a consistent 's3_verb_noun' pattern with snake_case, using clear verbs like list, put, read, and delete. This uniformity makes the tool set predictable and easy to navigate.
With 5 tools, the server is well-scoped for basic S3 operations, covering essential actions without being overwhelming. Each tool serves a distinct and necessary function in the domain.
The tool set covers core CRUD operations for S3 objects (create, read, delete, list) and bucket listing, but lacks operations like copying objects, managing bucket policies, or handling multipart uploads. However, the included tools support fundamental workflows effectively.
Maintenance
Related MCP Connectors
Browse, upload, download, and share files in your S3-compatible buckets with delegated roles.
Browse, upload, download, copy, move and share files in your own S3-compatible buckets.
Create a free sandbox object storage bucket; upload, download, list, inspect, and delete objects.
Search and SQL on object storage: full-text, vector and hybrid search plus SQL over your data.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables interaction with AWS S3 through MCP, supporting bucket and object management, lifecycle configurations, tagging, policies, CORS settings, presigned URLs, and file uploads/downloads.3MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with AWS S3 storage through bucket operations (create, delete, list), object management (upload, download, delete, list), and bucket policy configuration using AWS credentials.17 npm2MIT
- FlicenseAqualityDmaintenanceProvides tools for interacting with MinIO and S3-compatible object storage through MCP clients like Claude. It enables comprehensive bucket and object management, including listing, creating, uploading, and generating presigned URLs.132-
- FlicenseNot gradedqualityDmaintenanceEnables LLM agents to interact with MinIO/S3 object storage, supporting bucket and object operations like listing, reading, writing, and generating presigned URLs.1-