MCP

Access AWS S3 Data for LLM Context

AWS S3 MCP Server provides access to S3 objects and PDF files, integrating with AWS S3 buckets.

Works with aws s3

90
Spark score
out of 100
Updated 4 months ago
Version 1.0.0
Models

Add to Favorites

Why it matters

Integrate your AWS S3 data into LLM applications. This asset provides access to S3 objects, enabling them to be loaded as resources for AI context.

Outcomes

What it gets done

01

List buckets and objects in AWS S3.

02

Retrieve specific objects from S3 buckets.

03

Format S3 data for use in LLM context.

04

Support for PDF documents within S3.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-aws-s3 | bash

Capabilities

Tools your agent gets

ListBuckets

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

ListObjectsV2

Returns some or all (up to 1000) objects in a bucket with each request

GetObject

Retrieves an object from Amazon S3

Overview

AWS S3 MCP Server

What it does

What it does

This MCP server implementation extracts data, such as PDF files, from AWS S3 buckets. It provides access to S3 objects through resources and tools.

When to use - and when NOT to

Use this server when you need to provide access to data stored in AWS S3 buckets, particularly for PDF documents. It's suitable for scenarios where you want to expose S3 objects as GET endpoints. Do not use this if your data is not stored in AWS S3 or if you require support for file formats other than PDF, as only PDF document support is currently available.

Inputs and outputs

Inputs are implicitly AWS S3 buckets and objects, accessed via configured AWS credentials with READ/WRITE permissions. The server exposes S3 objects as resources, primarily supporting PDF documents. The ListObjectsV2 tool is limited to returning a maximum of 1000 objects per request.

Integrations

Integration with AWS S3 buckets.

Who it's for

This tool is for developers and AI engineers who need to integrate data from AWS S3.

Installation and Usage Examples:

Development/Unpublished Version:

uv --directory /Users/user/generative_ai/model_context_protocol/s3-mcp-server run s3-mcp-server

Published Version:

uvx s3-mcp-server

Building from Source:

uv sync
uv build
uv publish

Claude Desktop - Development Configuration:

{
  "mcpServers": {
    "s3-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/user/generative_ai/model_context_protocol/s3-mcp-server",
        "run",
        "s3-mcp-server"
      ]
    }
  }
}

Claude Desktop - Published Version Configuration:

{
  "mcpServers": {
    "s3-mcp-server": {
      "command": "uvx",
      "args": [
        "s3-mcp-server"
      ]
    }
  }
}
Source README

An MCP server implementation for extracting data, such as PDF files, from AWS S3 buckets, providing access to S3 objects through resources and tools.

Installation

Development/Unpublished Version

uv --directory /Users/user/generative_ai/model_context_protocol/s3-mcp-server run s3-mcp-server

Published Version

uvx s3-mcp-server

Building from Source

uv sync
uv build
uv publish

Configuration

Claude Desktop - Development

{
  "mcpServers": {
    "s3-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/user/generative_ai/model_context_protocol/s3-mcp-server",
        "run",
        "s3-mcp-server"
      ]
    }
  }
}

Claude Desktop - Published Version

{
  "mcpServers": {
    "s3-mcp-server": {
      "command": "uvx",
      "args": [
        "s3-mcp-server"
      ]
    }
  }
}

Available Tools

Tool Description
ListBuckets Returns a list of all buckets owned by the authenticated request sender
ListObjectsV2 Returns some or all (up to 1000) objects in a bucket with each request
GetObject Retrieves an object from Amazon S3. In the GetObject request, specify the full key name for...

Features

  • Providing AWS S3 data through resources (as GET endpoints for loading information into LLM context)
  • PDF document support (currently the only supported format)
  • Limited to 1000 objects per request
  • Support for both virtual-hosted-style and path-style requests
  • Integration with AWS S3 buckets

Environment Variables

Optional

  • UV_PUBLISH_TOKEN - PyPI token for publishing packages
  • UV_PUBLISH_USERNAME - PyPI username for publishing packages
  • UV_PUBLISH_PASSWORD - PyPI password for publishing packages

Resources

Notes

Requires configured AWS credentials using the default profile with appropriate READ/WRITE permissions for S3. For debugging, use MCP Inspector with: npx @modelcontextprotocol/inspector uv --directory /Users/user/generative_ai/model_context_protocol/s3-mcp-server run s3-mcp-server. Licensed under the MIT-0 License.

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.