AWS S3 MCP Server

@samuraikun Claim

Basic information

Runtime
TypeScript
Version
1.0.0
License
MIT
Transports
stdio
Author
samuraikun
Submitted by
Community
Quality
50
Stars
26

About AWS S3 MCP Server

Access AWS S3 storage to list buckets, browse objects, and extract text from files like PDFs with ease.

AWS S3 is a MCP server in the Cloud Infrastructure category listed in the AddMCP.net directory, published by samuraikun. It exposes 3 tools, including list-buckets, list-objects, get-object. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 26 GitHub stars. Source code is hosted on github.com. Related topics: aws, aws-s3, cloud-infrastructure, community, file-systems.

Setup

{
    "mcpServers": {
        "s3": {
            "command": "npx",
            "args": [
                "aws-s3-mcp",
                "--stdio"
            ],
            "env": {
                "AWS_REGION": "us-east-1",
                "S3_BUCKETS": "bucket1,bucket2,bucket3",
                "S3_MAX_BUCKETS": "5",
                "AWS_ACCESS_KEY_ID": "your-access-key",
                "AWS_SECRET_ACCESS_KEY": "your-secret-key"
            }
        }
    }
}

AWS S3 MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "s3": {
            "command": "npx",
            "args": [
                "aws-s3-mcp",
                "--stdio"
            ],
            "env": {
                "AWS_REGION": "us-east-1",
                "S3_BUCKETS": "bucket1,bucket2,bucket3",
                "S3_MAX_BUCKETS": "5",
                "AWS_ACCESS_KEY_ID": "your-access-key",
                "AWS_SECRET_ACCESS_KEY": "your-secret-key"
            }
        }
    }
}

AWS S3 MCP Server tools

  • list-buckets — List available S3 buckets
    (no parameters)
  • list-objects — List objects in an S3 bucket
    bucket:string*, prefix:string|null, maxKeys:number|null
  • get-object — Retrieve an object from an S3 bucket
    bucket:string*, key:string*

Overview

What is AWS S3?

An Amazon S3 Model Context Protocol (MCP) server that provides tools for LLMs like Claude to interact with S3 buckets and objects. It supports listing buckets, listing objects, and retrieving object contents.

How to use AWS S3?

Install via npm (npm install -g aws-s3-mcp), configure AWS credentials and environment variables such as AWS_REGION, S3_BUCKETS, and S3_MAX_BUCKETS, then run with HTTP transport (default) or STDIO transport. For Claude Desktop, run the server with the --stdio flag and add it to the Claude Desktop configuration.

Key features of AWS S3

  • Supports STDIO, HTTP, and Streamable HTTP transports
  • Tools: list-buckets, list-objects, get-object
  • Deployment: local Node.js, Docker CLI, Docker Compose (with MinIO)
  • Built-in MCP Inspector for debugging and testing
  • Configurable allowed buckets and region

Use cases of AWS S3

  • Allow Claude or other LLMs to browse S3 buckets and retrieve objects
  • Integrate S3 access directly into Claude Desktop workflows
  • Test S3 interactions locally using MinIO with Docker Compose
  • Debug MCP server behavior with the built-in inspector tool

Frequently asked questions

1 What transports does the server support?

The server supports STDIO, HTTP, and Streamable HTTP transports. HTTP is the default transport; STDIO is required for Claude Desktop integration.

2 How do I configure AWS credentials?

Set environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION, or rely on the default AWS credentials file. A .env file can also be used.

3 What are the prerequisites?

Node.js 18 or higher, npm, and AWS credentials. Docker is optional for containerized setups.

4 How can I test the server locally without real AWS credentials?

Use Docker Compose with MinIO: run ./run-inspector.sh --docker-compose to start a MinIO instance with sample buckets and objects.

5 What is the maximum number of buckets listed by default?

The server returns up to 5 buckets by default, configurable via the S3_MAX_BUCKETS environment variable.

Videos

Tutorials, guides, and showcases related to AWS S3 MCP Server. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬