S3 MCP Server

S3 MCP servers enable AI models to interact with Amazon S3 object storage, providing capabilities for file operations, metadata management, and versioning in a secure and scalable environment.

October 19, 2026
MCP ServerDatabases & StorageS3 MCP Server
GitHub stars

Overview

The MCP S3 Server enables AI models to interact directly with Amazon S3 object storage through the Model Context Protocol (MCP). It provides a standardized interface for AI to perform storage operations while maintaining security and scalability.

Official Sample:

Developed by AWS Samples

Key Features

πŸ“¦

Object Storage Operations

Retrieve supported S3 objects and expose PDF documents as resources

πŸ—„οΈ

Bucket Management

List and manage S3 buckets

🏷️

Metadata Handling

List buckets and objects and retrieve objects

πŸ›‘οΈ

Security & Scalability

Leverage S3's robust security and scalable infrastructure

Available Tools

Quick Reference

ToolPurposeCategory
ListBucketsList all S3 bucketsDiscovery
ListObjectsV2List objects within a bucketDiscovery
GetObjectRetrieve an object from S3Read

Detailed Usage

ListBucketsβ–Ά

Returns a list of all buckets owned by the authenticated sender of the request.

use_mcp_tool({
  server_name: "s3",
  tool_name: "ListBuckets",
  arguments: {}
});
ListObjectsV2β–Ά

Returns some or all (up to 1,000) of the objects in a bucket with each request.

use_mcp_tool({
  server_name: "s3",
  tool_name: "ListObjectsV2",
  arguments: {
    Bucket: "your-bucket-name",
    Prefix: "optional-prefix/"
  }
});
GetObjectβ–Ά

Retrieves an object from Amazon S3. Specify the full key name for the object.

use_mcp_tool({
  server_name: "s3",
  tool_name: "GetObject",
  arguments: {
    Bucket: "your-bucket-name",
    Key: "path/to/your/object.txt"
  }
});

Installation

{
  "mcpServers": {
    "s3": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/sample-mcp-server-s3",
        "run",
        "s3-mcp-server"
      ]
    }
  }
}

Configuration:

Follow the upstream README to configure AWS credentials with appropriate S3 permissions.

Sources