AWS S3 MCP Server
MCP Server for AWS S3 operations, providing secure access to S3 buckets through pre-signed URLs.
Tools
list_objects
- List objects in an S3 bucket
- Input:
prefix
(string, optional): Prefix filter for object keys
- Returns: Array of objects with keys, sizes, and last modified dates
get_object
- Generate a pre-signed URL for accessing an object
- Inputs:
key
(string, required): Object key to retrieveexpiry
(number, optional): URL expiration time in seconds (default: 3600)
- Returns:
object_url
containing the pre-signed URL
put_object
- Generate a pre-signed URL for uploading an object
- Inputs:
key
(string, required): Object key to uploadexpiry
(number, optional): URL expiration time in seconds (default: 3600)
- Returns:
upload_url
containing the pre-signed URL
delete_object
- Delete an object from the bucket
- Input:
key
(string, required): Object key to delete
- Returns:
success
boolean indicating deletion status
Setup
Environment Variables
The server requires the following environment variables:
BUCKET_NAME
: The name of your S3 bucket (required)REGION
: AWS region (default: "ap-southeast-1")
AWS credentials should be configured using standard AWS credential configuration methods (environment variables, IAM roles, or AWS credentials file).
Usage with Claude Desktop
Add the following to your claude_desktop_config.json
:
NPX Command
Build
Docker build:
Development
The server is built using:
- Node.js
- TypeScript
- @modelcontextprotocol/sdk
- @aws-sdk/client-s3
- @aws-sdk/s3-request-presigner
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Provides secure access to AWS S3 buckets through pre-signed URLs, enabling listing, downloading, uploading, and deleting objects.
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP server that provides tools for interacting with AWS S3 buckets, enabling direct access to S3 operations through the Model Context Protocol.Last updated -1Python
- AsecurityAlicenseAqualityA Model Context Protocol server that provides seamless access to multiple storage services including S3, Azure Blob Storage, and Google Cloud Storage through Apache OpenDAL™.Last updated -327PythonApache 2.0
- AsecurityAlicenseAqualityA Model Context Protocol server implementation that enables Claude to perform AWS operations on S3 and DynamoDB services through natural language commands.Last updated -2392PythonMIT License
- AsecurityAlicenseAqualityAn Amazon S3 Model Context Protocol server that allows Large Language Models like Claude to interact with AWS S3 storage, providing tools for listing buckets, listing objects, and retrieving object contents.Last updated -3797TypeScriptMIT License