Click on "Install 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., "@AWS S3 MCP Serverlist objects 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.
AWS S3 MCP Server
A Model Context Protocol (MCP) server for AWS S3 operations
Features
This MCP server provides tools for interacting with AWS S3:
Bucket Operations
list_buckets- List all S3 buckets in the AWS accountcreate_bucket- Create a new S3 bucketdelete_bucket- Delete an S3 bucket (must be empty)
Object Operations
list_objects- List objects in a bucket with optional prefix filteringupload_object- Upload a file or content to a bucketdownload_object- Download an object from a bucketdelete_object- Delete an object from a bucket
Policy Operations
get_bucket_policy- Get the policy attached to a bucketset_bucket_policy- Set or update a bucket policy
MCP Configuration
Create a configuration file for the MCP server:
Available Tools
The MCP server provides the following tools:
Tool Name | Description | Parameters |
| Lists all S3 buckets in the AWS account | None |
| Creates a new S3 bucket |
|
| Deletes an empty S3 bucket |
|
| Lists objects in a bucket |
|
| Uploads a file or content to a bucket |
|
| Downloads an object from a bucket |
|
| Deletes an object from a bucket |
|
| Gets the policy for a bucket |
|
| Sets or updates a bucket policy |
|
AWS Authentication
The MCP server uses the AWS SDK, which looks for credentials in the following order:
Environment variables (
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEY)Shared credentials file (
~/.aws/credentials)If running on Amazon EC2, EC2 instance metadata service
For local development, you can:
Set environment variables in your MCP server configuration
Configure the AWS CLI with
aws configureUse AWS IAM roles if running in an AWS environment
Tool Documentation
list_buckets
Lists all S3 buckets in the AWS account.
Parameters: None
Response:
create_bucket
Creates a new S3 bucket with the specified name.
Parameters:
bucketName(string, required): Name of the bucket to createregion(string, optional): AWS region where the bucket should be created
Response:
delete_bucket
Deletes an S3 bucket. The bucket must be empty.
Parameters:
bucketName(string, required): Name of the bucket to delete
Response:
list_objects
Lists objects in an S3 bucket with optional prefix filtering.
Parameters:
bucketName(string, required): Name of the bucket to list objects fromprefix(string, optional): Filter objects by prefix (folder path)maxKeys(number, optional): Maximum number of objects to return (default: 1000)continuationToken(string, optional): Token to retrieve the next set of results
Response:
upload_object
Uploads a file or content to an S3 bucket.
Parameters:
bucketName(string, required): Name of the bucket to upload tokey(string, required): Object key (path) in the bucketfilePath(string, optional): Local file path to uploadcontent(string, optional): String content to uploadcontentType(string, optional): MIME type of the content
Response:
download_object
Downloads an object from an S3 bucket.
Parameters:
bucketName(string, required): Name of the bucket to download fromkey(string, required): Object key (path) in the bucketoutputPath(string, optional): Local file path to save the downloaded objectreturnContent(boolean, optional): If true, returns the object content in the response
Response:
delete_object
Deletes an object from an S3 bucket.
Parameters:
bucketName(string, required): Name of the bucket containing the objectkey(string, required): Object key (path) to delete
Response:
get_bucket_policy
Retrieves the policy for an S3 bucket.
Parameters:
bucketName(string, required): Name of the bucket to get the policy for
Response:
set_bucket_policy
Sets or updates the policy for an S3 bucket.
Parameters:
bucketName(string, required): Name of the bucket to set the policy forpolicy(string or object, required): The policy document as a JSON string or object
Response:
License
This project is licensed under the MIT License - see the LICENSE file for details.