SA

samuraikun/aws-s3-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

30 stars 20 forks 品質 71 トレンド 0MIT

samuraikun/aws-s3-mcpは[https://github.com/samuraikun/aws-s3-mcp.からインポートされたMCPサーバー候補です

概要

samuraikun/aws-s3-mcpは[https://github.com/samuraikun/aws-s3-mcp.からインポートされたMCPサーバー候補です

概要(AI 翻訳)

S3 バケットやオブジェクトとやり取りするためのツールを提供する Amazon S3 モデルコンテキストプロトコル (MCP) サーバー。

[https://github.com/user-attachments/assets/d05ff0f1-e2bf-43b9-8d0c-82605abfb666]

##特徴

OST MCP 輸送サポート

  • ✅STDIO Transport - クロードデスクトップの直接プロセス通信
  • ✅ ** HTTP トランスポート** - ウェブクライアントの Server-Sent イベントで REST API
  • ✅Streamable HTTP - レスポンシブインタラクションのリアルタイムストリーミング

  • ✅list-buckets - リストアクセス可能なS3バケットとフィルタリング
  • ✅ list-objects - プレフィックスフィルタリング付きの Bucket 内のオブジェクトを参照
  • ✅get-object - オブジェクトコンテンツの取得(テキスト/バイナリサポート)

配置オプション

  • ✅ローカルNode.js - npm/nodeで直接実行
  • ✅Docker CLI - カスタム設定でコンテナ化されたデプロイ
  • ✅Docker Compose - ローカルテストのためのMinoのフルスタック
  • ✅MCPインスペクタ - デバッグとテストインターフェイス内蔵

概要

このMCPサーバーでは、Claudeのような大きな言語モデル(LLM)がAWS S3ストレージとやり取りすることができます。 それはのための用具を提供します:

  • 利用可能なS3バケットのリスト
  • バケット内のオブジェクトのリスト

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

S3 MCP Server

An Amazon S3 Model Context Protocol (MCP) server that provides tools for interacting with S3 buckets and objects.

https://github.com/user-attachments/assets/d05ff0f1-e2bf-43b9-8d0c-82605abfb666

Features

🚀 MCP Transport Support

  • ✅ STDIO Transport - Direct process communication for Claude Desktop
  • ✅ HTTP Transport - REST API with Server-Sent Events for web clients
  • ✅ Streamable HTTP - Real-time streaming for responsive interactions

🛠️ Available Tools

  • ✅ list-buckets - List accessible S3 buckets with filtering
  • ✅ list-objects - Browse objects within buckets with prefix filtering
  • ✅ get-object - Retrieve object contents (text/binary support)

🐳 Deployment Options

  • ✅ Local Node.js - Direct execution with npm/node
  • ✅ Docker CLI - Containerized deployment with custom configuration
  • ✅ Docker Compose - Full stack with MinIO for local testing
  • ✅ MCP Inspector - Built-in debugging and testing interface

Overview

This MCP server allows Large Language Models (LLMs) like Claude to interact with AWS S3 storage. It provides tools for:

  • Listing available S3 buckets
  • Listing objects within a bucket
  • Retrieving object contents

The server is built using TypeScript and the MCP SDK, providing a secure and standardized way for LLMs to interface with S3.

Installation

Prerequisites

  • Node.js 18 or higher
  • npm or yarn
  • AWS credentials configured (either through environment variables or AWS credentials file)
  • Docker (optional, for containerized setup)

Setup

  1. Install via npm:
# Install globally via npm
npm install -g aws-s3-mcp

# Or as a dependency in your project
npm install aws-s3-mcp
  1. If building from source:
# Clone the repository
git clone https://github.com/samuraikun/aws-s3-mcp.git
cd aws-s3-mcp

# Install dependencies and build
npm install
npm run build
  1. Configure AWS credentials and S3 access:

Create a .env file with your AWS configuration:

AWS_REGION=us-east-1
GitHub で README 全文を見る

インストール

npx aws-s3-mcp --stdio
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "s3": { "command": "npx", "args": ["aws-s3-mcp", "--stdio"], "env": { "AWS_REGION": "us-east-1", "S3_BUCKETS": "bucket1,bucket2,bucket3", "S3_MAX_BUCKETS": "5", "AWS_ACCESS_KEY_ID": "your-access-key", "AWS_SECRET_ACCESS_KEY": "your-secret-key" } } } }