# s3-mcp-connector [Health: Active]

**Category:** 📂 File Systems  
**Repository:** https://github.com/FerhatDundar/s3-mcp-connector  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/s3-mcp-connector

## Description
MCP server for Amazon S3 and S3-compatible endpoints (LocalStack, MinIO). Single Go binary.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/FerhatDundar/s3-mcp-connector), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Run:

```sh
cd go-server
```

2. Install:

```sh
go build -o s3-connector-server .
```

3. Install:

```sh
cp s3-connector-server ../plugin/servers/go/
```

4. Start the server:

```sh
./go-server/s3-connector-server   # serves MCP over stdio
```

## Documentation

## What s3-mcp-connector does

The s3-mcp-connector MCP server gives an MCP-speaking agent access to common Amazon S3 operations without requiring a Python runtime, `uv`, or another runtime dependency. It can connect to AWS S3 as well as S3-compatible services such as LocalStack and MinIO.

The server is packaged as a single static Go binary. Agents can use it to discover buckets, inspect object metadata, list objects under an optional prefix, retrieve small files, upload limited-size content, and perform bucket or object cleanup. This makes it suitable for configuration files, logs, reports, and other small objects rather than large-scale data transfer.

## How it works

The s3-mcp-connector MCP server communicates with the agent over standard input and output. Configuration is supplied through environment variables, typically passed by an MCP configuration file such as `.mcp.json`. Leaving `S3_ENDPOINT_URL` unset targets real AWS; setting it redirects requests to a compatible endpoint.

Eight tools are exposed:

- `s3_list_buckets` lists buckets available to the configured credentials.
- `s3_list_objects` lists objects in a bucket, with optional prefix filtering and pagination.
- `s3_head_object` returns metadata such as size, content type, and ETag without downloading the object.
- `s3_get_object` reads text or binary content, returning binary data as base64 when appropriate.
- `s3_put_object` writes a text or base64 object.
- `s3_delete_object` removes one object.
- `s3_create_bucket` creates a bucket.
- `s3_delete_bucket` removes an empty bucket.

Each tool accepts an optional `response_format`. The default `markdown` format is intended for readable chat output, while `json` is available for programmatic consumers.

## Setup and configuration

Prebuilt bundles can be downloaded from the project's latest release. After extracting a bundle, the compiled server is placed in the plugin's `servers/go/` directory. Alternatively, build from the `go-server` directory with Go, then copy the resulting binary into that location. The executable serves MCP over stdio.

The documented configuration variables are:

- `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` provide credentials. LocalStack accepts any non-empty values for local testing.
- `AWS_REGION` selects the region and defaults to `us-east-1`.
- `S3_ENDPOINT_URL` specifies a custom S3 endpoint; omit it for AWS.
- `S3_FORCE_PATH_STYLE` should be `true` for LocalStack or MinIO and defaults to `false`.

The repository includes Docker Compose support for starting LocalStack. A local setup can use the endpoint `http://localhost:4566`, test credentials, the default region, and path-style addressing.

## Tools and capabilities

Object reads are size-limited. The default output limit for `s3_get_object` is 200,000 bytes, which can be increased with `max_bytes` up to a hard maximum of 5,000,000 bytes. The server distinguishes text from binary content and uses base64 for binary responses. Object writes are limited to 5 MB.

The implementation includes input-validation tests and has been exercised end to end against LocalStack, including successful bucket and object operations and a missing-object error path. The repository also provides Makefile shortcuts for building, testing, formatting, linting, and LocalStack lifecycle commands.

## Limitations and notes

This toolset is not intended for bulk object transfer. For objects larger than the read or write limits, use the AWS CLI or an SDK directly. Bucket deletion only applies to empty buckets, and object and bucket deletion are destructive operations.

Credentials are stored locally through the MCP configuration in the documented plugin layout. Real credentials should not be committed to the repository. The same binary and tool set can target AWS or a compatible local endpoint, but endpoint and path-style settings must match the target service.

_Full upstream README: https://allmcps.com/mcp/s3-mcp-connector/readme_

