Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2025 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    S3 Mcp Server

    ⚙️ A Model Context Protocol (MCP) server for accessing Amazon S3 buckets. This server provides seamless integration with S3 storage through MCP, allowing efficient handling of large files including PDFs through streaming capabilities.

    3 stars
    TypeScript
    Updated Sep 29, 2025

    Documentation

    S3 MCP Server

    A Model Context Protocol (MCP) server for accessing Amazon S3 buckets. This server provides seamless integration with S3 storage through MCP, allowing efficient handling of large files including PDFs through streaming capabilities.

    Features

    • S3 bucket object listing with prefix filtering
    • Efficient large file handling through streaming
    • Secure AWS credentials management
    • TypeScript support
    • CLI interface with customizable options

    Installation

    bash
    npx -y @geunoh/s3-mcp-server

    Usage

    Command Line Options

    bash
    npx -y @geunoh/s3-mcp-server [options]

    Options:

    • --port, -p: Server port (default: 3000)
    • --region, -r: AWS region (default: ap-northeast-2)
    • --bucket, -b: S3 bucket name (default: my-dancing-bucket)
    • --content-type, -t: Input file content type for uploads/downloads (default: application/octet-stream)

    Environment Variables

    Required:

    bash
    export AWS_ACCESS_KEY_ID="your_access_key"
    export AWS_SECRET_ACCESS_KEY="your_secret_key"

    Optional:

    bash
    export AWS_REGION="ap-northeast-2"
    export S3_BUCKET_NAME="my-bucket-name"
    export CONTENT_TYPE="application/octet-stream" # Optional: default MIME type for uploads/downloads

    MCP Integration

    Add to your mcp.json:

    json
    {
      "mcpServers": {
        "s3-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@geunoh/s3-mcp-server",
            "--region",
            "us-east-1",
            "--bucket",
            "my-test-bucket",
            "--content-type",
            "text/plain"
          ],
          "env": {
            "AWS_ACCESS_KEY_ID": "YOUR_AWS_ACCESS_KEY_ID",
            "AWS_SECRET_ACCESS_KEY": "YOUR_AWS_SECRET_ACCESS_KEY"
          }
        }
      }
    }

    Or like this way:

    json
    {
      "mcpServers": {
        "s3-mcp-server": {
          "command": "npx",
          "args": ["-y", "@geunoh/s3-mcp-server"],
          "env": {
            "AWS_ACCESS_KEY_ID": "YOUR_AWS_ACCESS_KEY_ID",
            "AWS_SECRET_ACCESS_KEY": "YOUR_AWS_SECRET_ACCESS_KEY",
    
            // optional
            "AWS_REGION": "us-east-1",
            "S3_BUCKET_NAME": "my-test-bucket"
          }
        }
      }
    }

    Available MCP Functions

    listObjects

    Lists objects in the S3 bucket.

    Parameters:

    • prefix (optional): Filter objects by prefix

    getObject

    Retrieves an object from the S3 bucket. Optimized for large files through streaming.

    Parameters:

    • key: The key of the object to retrieve

    Returns:

    • stream: ReadableStream of the object content
    • contentType: MIME type of the object
    • contentLength: Size of the object in bytes
    • lastModified: Last modification timestamp
    • text: Text buffer of raw pdf ByteArray

    AWS IAM Permissions

    Minimum required permissions (see s3-policy.json):

    json
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": ["s3:ListBucket", "s3:GetObject"],
          "Resource": "arn:aws:s3:::my-bucket-name"
        }
      ]
    }

    Development

    1. Clone the repository:

    bash
    git clone https://github.com/Geun-Oh/s3-mcp-server.git
    cd s3-mcp-server

    2. Install dependencies:

    bash
    npm install

    3. Build the project:

    bash
    npm run build

    4. Run locally:

    bash
    node dist/cli.js

    Project Structure

    code
    .
    ├── src/              # TypeScript source files
    ├── dist/            # Compiled JavaScript files and runtime dependencies
    ├── tsconfig.json    # TypeScript configuration
    └── package.json     # Project configuration and dependencies

    Deployment

    1. Create a new version tag:

    bash
    npm version patch

    2. Push to npm registry:

    bash
    npm publish --access public

    The GitHub Actions workflow will automatically publish the package when a new version tag is pushed.

    License

    MIT

    Contributing

    Issues and pull requests are welcome. Please ensure that your changes maintain the existing code style and include appropriate tests.

    Similar MCP

    Based on tags & features

    • GL

      Glm Mcp Server

      TypeScript·
      3
    • NS

      Ns Private Access Mcp

      TypeScript·
      3
    • MC

      Mcp Wave

      TypeScript00
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • GL

      Glm Mcp Server

      TypeScript·
      3
    • NS

      Ns Private Access Mcp

      TypeScript·
      3
    • MC

      Mcp Wave

      TypeScript00
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k