Amazon S3 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AWS_REGION | No | AWS region for S3 operations. | us-east-1 |
| AWS_PROFILE | No | Named AWS profile to use for credentials. | |
| AWS_ACCESS_KEY_ID | No | AWS access key ID used when configuring credentials via environment variables. | |
| AWS_SECRET_ACCESS_KEY | No | AWS secret access key used when configuring credentials via environment variables. | |
| MAX_PRESIGNED_URL_EXPIRATION | No | Maximum presigned URL expiration in seconds (default: 604800 seconds = 7 days). | 604800 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {
"tasks": {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
},
"prompts": {
"get": {}
},
"resources": {
"read": {}
}
}
}
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| s3_list_objectsA | 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:
Args: bucket_name: S3 bucket name (3-63 characters, lowercase, numbers, hyphens, dots) prefix: Filter objects by key prefix (e.g., 'logs/2024/' to find all logs from 2024) limit: Max objects to return per request (1-1000, default: 20) continuation_token: Token from previous response to get next page response_format: Output format - 'markdown' (default) or 'json' Returns: Formatted list of objects with key, size, last modified date, and storage class. If more results exist, includes continuation token for next page. Error Handling: - Bucket not found: Returns error with suggestion to verify bucket name - Access denied: Returns error with IAM permission suggestions - Invalid input: Returns validation error with specific field issues |
| s3_get_objectA | 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:
Args: bucket_name: S3 bucket name key: Object key (path within bucket, e.g., 'data/report.pdf') expires_in: 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: Output format - 'markdown' (default) or 'json' Returns: Presigned URL with expiration details and usage example (curl command). Security Notes: - URLs are time-limited (max 7 days, default 1 hour) - Anyone with the URL can download during validity period - URLs cannot be revoked before expiration - Use shorter expiration for sensitive data Error Handling: - Bucket/object not found: Returns error with verification suggestions - Access denied: Returns error with IAM permission guidance - Invalid parameters: Returns validation error with field details |
| s3_put_objectA | 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:
Args: bucket_name: S3 bucket name key: Destination object key (path, e.g., 'uploads/document.pdf') expires_in: URL expiration in seconds (1-604800, default: 3600 = 1 hour) content_type: MIME type (e.g., 'image/png', 'application/pdf') server_side_encryption: Encryption algorithm ('AES256' or 'aws:kms') metadata: Custom metadata as key-value pairs acl: Access control ('private', 'public-read', 'public-read-write', etc.) response_format: Output format - 'markdown' (default) or 'json' Returns: Presigned URL with required headers and curl usage example. The response includes all headers that must be sent with the PUT request. Security Notes: - URLs are time-limited and scoped to specific object key - Enforce encryption with server_side_encryption parameter - Use 'private' ACL unless public access required - Consider bucket policies that require encryption Error Handling: - Bucket not found: Returns error with bucket verification guidance - Access denied: Returns error with IAM permission details - Invalid parameters: Returns validation errors with corrections |
| s3_delete_objectA | 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:
Args: bucket_name: S3 bucket name key: Object key to delete (e.g., 'temp/old-file.txt') version_id: Specific version to delete (for versioned buckets only) response_format: Output format - 'markdown' (default) or 'json' Returns: Deletion confirmation with version information if applicable. For versioned buckets, indicates if a delete marker was created. Behavior: - Non-versioned buckets: Object is permanently deleted - Versioned buckets: Delete marker created (object can be recovered) - With version_id: Specific version permanently deleted Security Notes: - Requires s3:DeleteObject IAM permission - For versioned buckets, may need s3:DeleteObjectVersion - Consider enabling MFA Delete for added protection - Operation cannot be undone for non-versioned buckets Error Handling: - Bucket/object not found: Returns error (idempotent - safe to retry) - Access denied: Returns error with IAM permission guidance - Invalid parameters: Returns validation error with corrections |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool maps to a clearly distinct operation: upload URL, download URL, listing, and deletion. The only mild surprise is that s3_put_object/s3_get_object issue presigned URLs rather than performing the transfer, but the descriptions state this explicitly and no two tools can be confused.
All tools use a consistent s3_ prefix with snake_case verb_noun naming (put/get/delete_object, list_objects). The singular/plural difference reflects single-object vs collection semantics rather than an inconsistency.
Four tools is a well-scoped, focused set for presigned-URL-centric workflows and each earns its place. However, S3's surface is broad enough that the set feels slightly under-provisioned (no bucket operations, no head/metadata, no multipart).
Read, list, upload-URL, and delete are covered, but there is no head_object to check existence/metadata, no copy or metadata-update operation, no multipart upload for large files, and no bucket-level operations. Agents will hit dead ends for rename/update or existence-check workflows.