S3 Tools
Provides tools for interacting with AWS S3 buckets.
s3-tools MCP Server
An MCP server that provides tools for interacting with AWS S3 buckets. This server enables direct access to S3 bucket operations through the Model Context Protocol.
Features
Tools
The server currently implements the following tools:
- list-s3-buckets: Lists all S3 buckets in your AWS account
- Optional
regionparameter to specify AWS region - Returns a formatted list of bucket names
- Optional
Prerequisites
- Python 3.13 or higher
- AWS credentials configured (see AWS Credentials Setup)
- uv package manager
Installation
From PyPI
uvx install s3-tools
From Source
- Clone the repository
- Install using uv:
uv pip install .
AWS Credentials Setup
This server requires AWS credentials to access your S3 buckets. You can configure credentials in several ways:
-
AWS CLI configuration (Recommended)
aws configureThis will create/update credentials in
~/.aws/credentials -
Environment Variables
export AWS_ACCESS_KEY_ID="your_access_key" export AWS_SECRET_ACCESS_KEY="your_secret_key" export AWS_DEFAULT_REGION="your_preferred_region" # optional -
IAM Role (if running on AWS infrastructure)
For more information about AWS credentials, see the AWS documentation.
Configuration
Claude Desktop
Add the server configuration to your Claude Desktop config file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"s3-tools": {
"command": "uvx",
"args": ["s3-tools"]
}
}
}
Development Configuration
For development/testing, you can run the server directly from source:
{
"mcpServers": {
"s3-tools": {
"command": "uv",
"args": [
"--directory",
"/path/to/s3-tools",
"run",
"s3-tools"
]
}
}
}
Development
Building
- Sync dependencies:
uv sync
- Build package:
uv build
Publishing
To publish to PyPI:
uv publish
Note: You'll need PyPI credentials configured via:
- Token:
--tokenorUV_PUBLISH_TOKEN - Or username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector for development:
npx @modelcontextprotocol/inspector uv run s3-tools
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Máy chủ liên quan
VaultSage MCP
Give your AI agent persistent memory: upload, search, and chat over files stored in VaultSage — no install required, just sign in with Google and paste one token.
The Drive AI
Interact with The Drive AI files directly from AI assistants like ChatGPT or Claude using the Model Context Protocol (MCP).
4EVERLAND Hosting
Deploy AI-generated code instantly to decentralized storage networks like Greenfield, IPFS, and Arweave.
AWS S3
Manage AWS S3 buckets and objects, including policies, tagging, and configurations.
MinIO
MCP server and client for MinIO object storage, configured via environment variables.
Google Drive MCP
Access and manage your Google Drive files and folders.
Intersight MCP
A comprehensive MCP server for configuring and managing Cisco Intersight.
CData IBM Cloud Object Storage
A read-only MCP server for IBM Cloud Object Storage, powered by CData. Requires a separate CData JDBC Driver license.
MCP Bilibili Img Uploader
Uploads local images to Bilibili's image hosting service and returns a permanent HTTPS link.
Storacha MCP Storage Server
An MCP server for Storacha hot storage, enabling AI applications to store and retrieve files using IPFS and CIDs.