Labsco
OpenWorkspace-o1 logo

AWS S3 MCP Server

β˜… 2

from OpenWorkspace-o1

Manage AWS S3 operations, providing secure access to S3 buckets through pre-signed URLs.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredNeeds API keys

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 retrieve

  • expiry (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 upload

  • expiry (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

Build

Docker build:

Copy & paste β€” that's it
docker build -t mcp/aws-ow-s3-mcp-server .

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.