AWS S3 MCP Server

by gangadharrr

Not rated
GitHub

About

An MCP server for managing files and buckets on AWS S3. Requires AWS credentials for authentication.

Details

Author
gangadharrr
Categories
File Management, Other

1. Install via npx (no installation needed)

{ "mcpServers": { "aws-s3": { "command": "npx", "args": ](https://modelcontextprotocol.io)["@gangadharrr/aws-s3"], "env": { "AWS_REGION": "us-east-1", "AWS_ACCESS_KEY_ID": "your-access-key-id", "AWS_SECRET_ACCESS_KEY": "your-secret-access-key" }, "autoApprove": ["list_buckets", "list_objects", "get_bucket_policy"] } } }

Add this to your MCP client config file:

- Claude Desktop:~/Library/Application Support/Claude/claude_desktop_config.json
- Cursor:.cursor/mcp.jsonin your project root

An MCP server for managing files and buckets on AWS S3. Requires AWS credentials for authentication.

AModel Context Protocol (MCP)server that gives AI assistants (Claude, Cursor, etc.) direct access to AWS S3 — enabling them to list, upload, download, and manage S3 buckets and objects through natural language.

When building AI agent pipelines, you often need agents to read from or write to S3 — whether that's fetching documents for RAG, persisting outputs, or managing files dynamically. This MCP server bridges that gap by exposing S3 operations as MCP tools, so any MCP-compatible AI client can interact with S3 without custom integration work.

- Node.js 18+
- AWS account with S3 access
- AWS credentials (Access Key ID + Secret, or IAM role)
- An MCP-compatible client (Claude Desktop, Cursor, etc.)

1. Install via npx (no installation needed)

{ "mcpServers": { "aws-s3": { "command": "npx", "args": ["@gangadharrr/aws-s3"], "env": { "AWS_REGION": "us-east-1", "AWS_ACCESS_KEY_ID": "your-access-key-id", "AWS_SECRET_ACCESS_KEY": "your-secret-access-key" }, "autoApprove": ["list_buckets", "list_objects", "get_bucket_policy"] } } }

Add this to your MCP client config file:

- Claude Desktop:~/Library/Application Support/Claude/claude_desktop_config.json
- Cursor:.cursor/mcp.jsonin your project root

2. Using AWS CLI credentials (recommended for local dev)

If you've already configured the AWS CLI (aws configure), you can omit the key env vars:

{ "mcpServers": { "aws-s3": { "command": "npx", "args": ["@gangadharrr/aws-s3"], "env": { "AWS_REGION": "us-east-1" } } } }

Lists all S3 buckets in the AWS account.

{ "success": true, "buckets": [ { "name": "my-bucket", "creationDate": "2023-01-15T00:00:00.000Z" } ], "count": 1 }
{ "success": true, "bucketName": "my-new-bucket", "location": "http://my-new-bucket.s3.amazonaws.com/" }

Lists objects in a bucket with optional prefix filtering.

The server uses the AWS SDK credential resolution chain in this order:
- Environment variablesAWS_ACCESS_KEY_ID+AWS_SECRET_ACCESS_KEY
- Shared credentials file~/.aws/credentials(configured viaaws configure)
- EC2 Instance Metadata— if running on an EC2 instance with an IAM role

For production, IAM roles are recommended over static credentials.

Contributions are welcome! If you'd like to add a new S3 operation or improve existing ones:
- Fork the repository
- Create a feature branch:git checkout -b feature/my-new-tool
- Commit your changes:git commit -m 'Add: new S3 tool'
- Push and open a Pull Request

Built with theMCP TypeScript SDKandAWS SDK v3.

Persistent memory for AI agents. Store and retrieve files via 14 MCP tools with OAuth 2.0 auth. Free 10GB tier.

Quickly integrate with Tencent Cloud Storage (COS) and Data Processing (CI) capabilities powered

Access various storage services like S3, GCS, and Azure Blob through the Apache OpenDAL™ project, configured via environment variables.

Manage AWS S3 buckets and objects, including policies, tagging, and configurations.

Retrieve files like PDFs from an AWS S3 bucket. Requires AWS credentials for access.

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

Publish HTML, Markdown, KV, JSON, files to brewpage.app from AI assistants.

An MCP server for interacting with Dropbox files and services.

A read-only MCP server by CData that allows LLMs to query live Dropbox data. Requires the CData JDBC Driver for Dropbox.

An MCP server for integrating with Dropbox, allowing clients to interact with files and folders.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.