Skip to main content
Glama

S3 MCP Server

A Model Context Protocol server that interfaces with S3-compatible storage (like Cloudflare R2).

Features

  • List buckets (s3_list_buckets)

  • List objects in a bucket (s3_list_objects)

  • Read object content (s3_read_object)

  • Upload objects (s3_put_object)

  • Delete objects (s3_delete_object)

Related MCP server: Sample S3 MCP Server

Installation

  1. Navigate to the directory:

    cd s3-mcp-server
  2. Install dependencies:

    npm install
  3. Build the server:

    npm run build

Configuration

To use this with an MCP client (like Claude Desktop or a custom client), add it to your configuration.

Cloudflare R2 Example

For Cloudflare R2, your endpoint should look like: https://<ACCOUNT_ID>.r2.cloudflarestorage.com

{
  "mcpServers": {
    "s3": {
      "command": "npx",
      "args": [
        "-y",
        "github:AM1010101/s3-mcp-server"
      ],
      "env": {
        "S3_ENDPOINT": "https://<YOUR_ACCOUNT_ID>.r2.cloudflarestorage.com",
        "S3_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
        "S3_SECRET_ACCESS_KEY": "<YOUR_SECRET_ACCESS_KEY>",
        "S3_REGION": "auto"
      }
    }
  }
}

Running Locally

If you have cloned the repository and built it locally:

{
  "mcpServers": {
    "s3": {
      "command": "node",
      "args": ["/absolute/path/to/s3-mcp-server/dist/index.js"],
      "env": {
        "S3_ENDPOINT": "https://<YOUR_ACCOUNT_ID>.r2.cloudflarestorage.com",
        "S3_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
        "S3_SECRET_ACCESS_KEY": "<YOUR_SECRET_ACCESS_KEY>",
        "S3_REGION": "auto"
      }
    }
  }
}

Environment Variables

  • S3_ENDPOINT: The S3 API endpoint URL.

  • S3_ACCESS_KEY_ID: Your access key ID.

  • S3_SECRET_ACCESS_KEY: Your secret access key.

  • S3_REGION: The region (default: "auto").

Tools

  • s3_list_buckets: Lists all available buckets.

  • s3_list_objects: Lists files in a bucket.

    • bucket: Name of the bucket.

    • prefix: (Optional) Filter by prefix.

  • s3_read_object: Reads a file as text.

    • bucket: Name of the bucket.

    • key: File path/key.

  • s3_put_object: Uploads text content to a file.

    • bucket: Name of the bucket.

    • key: File path/key.

    • content: Content string.

  • s3_delete_object: Deletes a file.

    • bucket: Name of the bucket.

    • key: File path/key.

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    F
    maintenance
    Enables interaction with AWS S3 through MCP, supporting bucket and object management, lifecycle configurations, tagging, policies, CORS settings, presigned URLs, and file uploads/downloads.
    Last updated
    3
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables interaction with AWS S3 storage through bucket operations (create, delete, list), object management (upload, download, delete, list), and bucket policy configuration using AWS credentials.
    Last updated
    15
    2
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Provides tools for interacting with MinIO and S3-compatible object storage through MCP clients like Claude. It enables comprehensive bucket and object management, including listing, creating, uploading, and generating presigned URLs.
    Last updated
    13
    2

View all related MCP servers

Related MCP Connectors

  • Encrypted A2A object storage for autonomous agent state and artifacts

  • Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.

  • The agent-native cloud: database, functions, AI, storage, computers. 55 tools, one API key.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AM1010101/s3-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server