AWS S3 MCP 服务器
MCP 服务器用于 AWS S3 操作,通过预签名的 URL 提供对 S3 存储桶的安全访问。
工具
list_objects
列出 S3 存储桶中的对象
输入:
prefix
(字符串,可选):对象键的前缀过滤器
返回:包含键、大小和上次修改日期的对象数组
get_object
生成用于访问对象的预签名 URL
输入:
key
(字符串,必需):要检索的对象键expiry
(数字,可选):URL 过期时间(秒)(默认值:3600)
返回:包含预签名 URL 的
object_url
put_object
生成用于上传对象的预签名 URL
输入:
key
(字符串,必需):要上传的对象键expiry
(数字,可选):URL 过期时间(秒)(默认值:3600)
返回:包含预签名 URL 的
upload_url
delete_object
从存储桶中删除对象
输入:
key
(字符串,必需):要删除的对象键
返回:表示删除状态的
success
布尔值
设置
环境变量
服务器需要以下环境变量:
BUCKET_NAME
:您的 S3 存储桶的名称(必需)REGION
:AWS 区域(默认值:“ap-southeast-1”)
应使用标准 AWS 凭证配置方法(环境变量、IAM 角色或 AWS 凭证文件)配置 AWS 凭证。
与 Claude Desktop 一起使用
将以下内容添加到您的claude_desktop_config.json
中:
NPX 命令
建造
Docker 构建:
发展
该服务器使用以下方式构建:
Node.js
TypeScript
@modelcontextprotocol/sdk
@aws-sdk/客户端-s3
@aws-sdk/s3-request-presigner
执照
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
通过预签名的 URL 提供对 AWS S3 存储桶的安全访问,支持列出、下载、上传和删除对象。
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP server that provides tools for interacting with AWS S3 buckets, enabling direct access to S3 operations through the Model Context Protocol.Last updated -1
- AsecurityAlicenseAqualityAn Amazon S3 Model Context Protocol server that allows Large Language Models like Claude to interact with AWS S3 storage, providing tools for listing buckets, listing objects, and retrieving object contents.Last updated -32314MIT License
- -securityFlicense-qualityProvides structured access to OCSF-normalized security data stored in Amazon Security Lake, enabling AI assistants to search for IP addresses, GuardDuty findings, and explore available data sources.Last updated -2
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server for AWS S3 integration using FastMCP and boto3. This server provides access to S3 functionality through MCP-compatible tools.Last updated -10MIT License