chuk-mcp-s3-bucket-manager
Provides tools for managing Amazon S3 buckets, including listing, creating, and deleting buckets, with optional force deletion that clears all objects.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@chuk-mcp-s3-bucket-manager list all S3 buckets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CHUK MCP S3 Bucket Manager
Overview
The CHUK MCP S3 Bucket Manager is a Python-based tool for managing Amazon S3 buckets using the MCP (Model Context Protocol) runtime. This utility provides a simple interface for listing, creating, and deleting S3 buckets.
Related MCP server: MinIO MCP Server
Features
List all S3 buckets
Create new S3 buckets
Delete existing S3 buckets
Optional force deletion of buckets (clearing all objects)
Supports custom AWS endpoint and region configuration
Prerequisites
Python 3.11+
AWS credentials configured
Required dependencies (installed automatically via pip)
Installation
You can install the package directly from the repository:
pip install git+https://github.com/chrishayuk/chuk-mcp-s3-bucket-manager.gitConfiguration
Environment Variables
AWS_ENDPOINT_URL_S3: Optional custom S3 endpoint URLAWS_REGION: AWS region (defaults to us-east-1)
Configuration File
The project uses a config.yaml file to configure the MCP server settings:
host:
name: "chuk-mcp-s3-bucket-manager"
log_level: "INFO"
server:
type: "stdio"
mcp_servers:
s3_bucket_manager:
enabled: true
location: "."
tools:
enabled: true
module: "chuk_mcp_s3_bucket_manager.tools"Usage
Command-Line Interface
# List buckets
chuk-mcp-s3-bucket-manager list_buckets
# Create a new bucket
chuk-mcp-s3-bucket-manager create_bucket --bucket_name my-new-bucket
# Delete a bucket
chuk-mcp-s3-bucket-manager delete_bucket --bucket_name my-bucket
# Force delete a bucket (remove all objects first)
chuk-mcp-s3-bucket-manager delete_bucket --bucket_name my-bucket --forceProgrammatic Usage
from chuk_mcp_s3_bucket_manager import tools
# List buckets
buckets = tools.list_buckets()
# Create a bucket
result = tools.create_bucket("my-new-bucket")
# Delete a bucket
result = tools.delete_bucket("my-bucket", force=False)Development
Setup
Clone the repository
Create a virtual environment
Install development dependencies:
pip install -e .[dev]Running Tests
pytest tests/Dependencies
boto3
chuk-mcp-runtime
pydantic
PyYAML
License
[Specify your license here]
Contributing
Contributions are welcome! Please submit pull requests or open issues on the GitHub repository.
Support
For issues or questions, please file an issue on the GitHub issue tracker.
Available Tools
3 toolscreate_bucketC
Create a new S3 bucket
Inputs: bucket_name (required).
delete_bucketC
Delete an S3 bucket
Inputs: force (required), bucket_name (required).
list_bucketsA
List all S3 buckets
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools—list, create, delete—are clearly distinct actions on S3 buckets with no overlap. An agent can easily select the right tool based on the desired operation.
All tool names follow a consistent verb_noun pattern with underscores (list_buckets, create_bucket, delete_bucket), making the set predictable and easy to navigate.
With only three tools, the set is minimal but perfectly scoped for a basic S3 bucket manager. Each tool covers an essential operation without redundancy.
The set covers list, create, and delete, but lacks an update operation and a way to fetch details of a specific bucket. While list_buckets can serve as a read, the absence of update leaves a notable gap for a 'manager'.
Maintenance
Related MCP Connectors
An MCP server for the STRG.com s3-compatible object storage network for all management operations. Full documentation access, ask questions, create buckets, configure scoped access keys, CORS rules, lifecycle policies and perform any S3 operation.
LLM Orchestration Agent (Mcp)
Access all your MCPBundles tools in one place. Unified hub for all enabled bundles.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables interaction with AWS S3 through MCP, supporting bucket and object management, lifecycle configurations, tagging, policies, CORS settings, presigned URLs, and file uploads/downloads.3MIT
- FlicenseAqualityDmaintenanceProvides tools for interacting with MinIO and S3-compatible object storage through MCP clients like Claude. It enables comprehensive bucket and object management, including listing, creating, uploading, and generating presigned URLs.132-
- AlicenseNot gradedqualityDmaintenanceA standardized interface for interacting with AWS S3 tools and services through a unified API, following the MCP specification.MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for AWS S3 and S3-compatible storage, enabling file upload, download, listing, deletion, and temporary remote file staging via natural language.BSD 3-Clause