
rustfs/mcp 是从 https://github.com/rustfs/mcp. 导入的 MCP 服务器候选
概览
rustfs/mcp 是从 https://github.com/rustfs/mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
高性能MCP服务器,提供兼容S3的对象存储操作,支持AI/LLM集成
📖 文献资料 🐛 漏洞报告 💬 讨论
📖 概述
RustFS MCP 服务器 是一款高性能模型上下文协议(MCP)服务器,为 AI/LLM 工具无缝访问兼容 S3 的对象存储操作。采用 Rust 构建,以实现最大性能和安全性,使像 Claude Desktop 这样的 AI 助手能够通过标准化协议与云存储交互。
什么是MCP?
模型上下文协议是一个开放标准,能够实现人工智能应用与外部系统之间安全、受控的连接。该服务器作为人工智能工具与兼容S3存储服务之间的桥梁,在保持安全和可观察性的同时,提供对文件操作的结构化访问。
✨ 特色
支持的S3运营
- 列表桶:列出所有可访问的S3桶
- 列表对象:使用可选前缀过滤浏览桶内容
- 上传文件:上传本地文件,并自动进行MIME类型检测和缓存控制
- 获取对象:通过读取或下载模式从S3存储中检索对象
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
RustFS MCP Server - Model Context Protocol
High-performance MCP server providing S3-compatible object storage operations for AI/LLM integration
📖 Documentation 🐛 Bug Reports 💬 Discussions
📖 Overview
RustFS MCP Server is a high-performance Model Context Protocol (MCP) server that provides AI/LLM tools with seamless access to S3-compatible object storage operations. Built with Rust for maximum performance and safety, it enables AI assistants like Claude Desktop to interact with cloud storage through a standardized protocol.
What is MCP?
The Model Context Protocol is an open standard that enables secure, controlled connections between AI applications and external systems. This server acts as a bridge between AI tools and S3-compatible storage services, providing structured access to file operations while maintaining security and observability.
✨ Features
Supported S3 Operations
- List Buckets: List all accessible S3 buckets
- List Objects: Browse bucket contents with optional prefix filtering
- Bucket Lifecycle: Inspect, set, and remove rules that expire objects, change their storage class, or clean up old versions
- Bucket Logging: Inspect, enable, and disable server access logging of a bucket
- Upload Files: Upload local files with automatic MIME type detection and cache control
- Upload Content: Write text, JSON, or code straight to S3 without creating a local file
- Get Objects: Retrieve objects from S3 storage with read or download modes
- Bucket Encryption: Inspect, set, and remove the default server-side encryption of a bucket
- Create Bucket: Create a new S3 bucket with the specified name
- Bucket CORS: Inspect, set, and remove the cross-origin resource sharing rules of a bucket
- Bucket Notifications: Inspect, set, and remove the rules that deliver object events to Lambda functions, queues, topics, or webhook targets
- Delete Bucket: Delete an existing, empty S3 bucket
安装
docker run --rm -i -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_REGION -e AWS_ENDPOINT_URL rustfs/rustfs-mcp配置
{
"mcpServers": {
"rustfs-mcp": {
"command": "/path/to/rustfs-mcp",
"args": [
"--endpoint-url", "your_url",
"--access-key-id", "your_access_key",
"--secret-access-key", "your_secret_key",
"--region", "us-west-2",
"--log-level", "info"
]
}
}
}