s3-mcp
v0.1.0MCP Server for AWS S3 operations with presigned URL support
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
s3_list_objects List S3 Bucket Objects
List objects in an S3 bucket with optional prefix filtering and pagination. This tool retrieves a list of objects (files) from an S3 bucket. Use it to: - Browse bucket contents - Find specific files by prefix - Paginate through large result sets
| Parameter | Type | Description |
|---|---|---|
bucket_name * | string | S3 bucket name (3-63 characters, lowercase, numbers, hyphens, dots) |
continuation_token | Token from previous response to get next page | |
limit | integer | Max objects to return per request (1-1000, default: 20) |
prefix | string | Filter objects by key prefix (e.g., 'logs/2024/' to find all logs from 2024) |
response_format | string | Output format - 'markdown' (default) or 'json' |
s3_get_object Generate Presigned URL for Download
Generate a time-limited presigned URL for downloading an S3 object. This tool creates a secure URL that allows downloading an object without AWS credentials. The URL is time-limited and automatically expires. Use cases: - Share files with users who don't have AWS access - Download objects in browser or HTTP client - Integrate S3 downloads in applications without AWS SDK
| Parameter | Type | Description |
|---|---|---|
bucket_name * | string | S3 bucket name |
key * | string | Object key (path within bucket, e.g., 'data/report.pdf') |
expires_in | integer | URL expiration in seconds (1-604800, default: 3600 = 1 hour) |
response_content_disposition | Override Content-Disposition (e.g., 'attachment; filename=report.pdf') | |
response_content_type | Override Content-Type (e.g., 'application/pdf') | |
response_format | string | Output format - 'markdown' (default) or 'json' |
s3_put_object Generate Presigned URL for Upload
Generate a time-limited presigned URL for uploading an object to S3. This tool creates a secure URL that allows uploading a file without AWS credentials. The URL is time-limited and enforces specified upload parameters (encryption, ACL, etc.). Use cases: - Allow users to upload files directly to S3 from browsers - Integrate uploads in applications without AWS SDK - Enforce upload policies (encryption, content type, etc.)
| Parameter | Type | Description |
|---|---|---|
bucket_name * | string | S3 bucket name |
key * | string | Destination object key (path, e.g., 'uploads/document.pdf') |
acl | Access control ('private', 'public-read', 'public-read-write', etc.) | |
content_type | MIME type (e.g., 'image/png', 'application/pdf') | |
expires_in | integer | URL expiration in seconds (1-604800, default: 3600 = 1 hour) |
metadata | Custom metadata as key-value pairs | |
response_format | string | Output format - 'markdown' (default) or 'json' |
server_side_encryption | Encryption algorithm ('AES256' or 'aws:kms') |
s3_delete_object Delete S3 Object
Delete an object from an S3 bucket. ⚠️ WARNING: This is a DESTRUCTIVE operation. Deleted objects cannot be recovered unless versioning is enabled on the bucket. Use this tool to: - Remove unwanted or obsolete files - Clean up temporary uploads - Delete specific versions in versioned buckets
| Parameter | Type | Description |
|---|---|---|
bucket_name * | string | S3 bucket name |
key * | string | Object key to delete (e.g., 'temp/old-file.txt') |
response_format | string | Output format - 'markdown' (default) or 'json' |
version_id | Specific version to delete (for versioned buckets only) |