Overview
This server enables you to:
Manage S3 buckets and objects
Handle lifecycle configurations
Set and retrieve object tags
Manage bucket policies
Configure CORS settings
Installation
There are multiple ways to use this server depending on your setup.
Cursor (recommended)
Add this to your Cursor MCP configuration:
If you prefer pinning to a specific Docker image build (e.g., 20250413-165732), use that tag instead of
latest. Browse available versions on Docker Hub.
Cursor will route that request through the MCP server automatically.
Make sure it's green and all the tools are available.
Docker (manual)
You can run the S3 MCP server manually via Docker:
This uses the pre-built image published at ashgw/s3-mcp.
Repo
Clone the repository and cd into it, then build with:
Then run with:
Environment Variables
Set the following environment variables for AWS credentials:
Features
List Buckets: Retrieve a list of all S3 buckets.
Create Bucket: Create a new S3 bucket with optional configurations.
List Objects: List all objects in a specified bucket.
Get Object: Retrieve the content of a specified object.
Put Object: Upload an object to a specified bucket.
Delete Object: Remove an object from a specified bucket.
Generate Presigned URL: Create a presigned URL for accessing or uploading an object.
Set Bucket Policy: Update or set a policy for a specified bucket.
Get Bucket Policy: Retrieve the current policy for a specified bucket.
Delete Bucket Policy: Remove the current policy for a specified bucket.
Lifecycle Configuration: Manage lifecycle rules for S3 buckets.
Object Tagging: Set and retrieve tags for S3 objects.
CORS Configuration: Get and set CORS rules for a bucket.
Copy Object: Copy an object from one location to another within S3.
Download File to Local: Download a file from a specified S3 bucket to a local path.
Upload Local File: Upload a local file to a specified S3 bucket.