AWS S3 存储管理器
STDIO通过预签名URL访问S3存储桶的服务器
通过预签名URL访问S3存储桶的服务器
MCP Server for AWS S3 operations, providing secure access to S3 buckets through pre-signed URLs.
list_objects
prefix
(string, optional): Prefix filter for object keysget_object
key
(string, required): Object key to retrieveexpiry
(number, optional): URL expiration time in seconds (default: 3600)object_url
containing the pre-signed URLput_object
key
(string, required): Object key to uploadexpiry
(number, optional): URL expiration time in seconds (default: 3600)upload_url
containing the pre-signed URLdelete_object
key
(string, required): Object key to deletesuccess
boolean indicating deletion statusThe 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).
Add the following to your claude_desktop_config.json
:
{ "mcpServers": { "aws-ow-s3-mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "BUCKET_NAME", "-e", "REGION", "-e", "AWS_ACCESS_KEY_ID", "-e", "AWS_SECRET_ACCESS_KEY", "mcp/aws-ow-s3-mcp" ], "env": { "BUCKET_NAME": "<YOUR_BUCKET_NAME>", "REGION": "<AWS_REGION>", "AWS_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY>", "AWS_SECRET_ACCESS_KEY": "<YOUR_SECRET_KEY>" } } } }
{ "mcpServers": { "aws-ow-s3-mcp": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-aws-ow-s3-mcp" ], "env": { "BUCKET_NAME": "<YOUR_BUCKET_NAME>", "REGION": "<AWS_REGION>", "AWS_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY>", "AWS_SECRET_ACCESS_KEY": "<YOUR_SECRET_KEY>" } } } }
Docker build:
docker build -t mcp/aws-ow-s3-mcp-server .
The server is built using:
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.