Skip to main content
Glama

s3-tools

by sofianhamiti

s3-tools MCP 服务器

提供与 AWS S3 bucket 交互工具的 MCP 服务器。该服务器支持通过模型上下文协议 (MCP) 直接访问 S3 bucket 操作。

特征

工具

该服务器目前实现了以下工具:

  • list-s3-buckets :列出您的 AWS 账户中的所有 S3 存储桶
    • 可选region参数,用于指定 AWS 区域
    • 返回存储桶名称的格式化列表

先决条件

  • Python 3.13 或更高版本
  • 已配置 AWS 凭证(请参阅AWS 凭证设置
  • uv包管理器

安装

来自 PyPI

uvx install s3-tools

来自源

  1. 克隆存储库
  2. 使用 uv 安装:
uv pip install .

AWS凭证设置

此服务器需要 AWS 凭证才能访问您的 S3 存储桶。您可以通过多种方式配置凭证:

  1. AWS CLI 配置(推荐)
    aws configure
    这将在~/.aws/credentials中创建/更新凭证
  2. 环境变量
    export AWS_ACCESS_KEY_ID="your_access_key" export AWS_SECRET_ACCESS_KEY="your_secret_key" export AWS_DEFAULT_REGION="your_preferred_region" # optional
  3. IAM 角色(如果在 AWS 基础设施上运行)

有关 AWS 凭证的更多信息,请参阅AWS 文档

配置

克劳德桌面

将服务器配置添加到您的 Claude Desktop 配置文件:

MacOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "s3-tools": { "command": "uvx", "args": ["s3-tools"] } } }

开发配置

对于开发/测试,您可以直接从源代码运行服务器:

{ "mcpServers": { "s3-tools": { "command": "uv", "args": [ "--directory", "/path/to/s3-tools", "run", "s3-tools" ] } } }

发展

建筑

  1. 同步依赖项:
uv sync
  1. 构建包:
uv build

出版

要发布到 PyPI:

uv publish

注意:您需要通过以下方式配置 PyPI 凭据:

  • 令牌: --tokenUV_PUBLISH_TOKEN
  • 或用户名/密码: --username / UV_PUBLISH_USERNAME--password / UV_PUBLISH_PASSWORD

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们建议使用MCP Inspector进行开发:

npx @modelcontextprotocol/inspector uv run s3-tools

执照

麻省理工学院

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

MCP 服务器提供与 AWS S3 存储桶交互的工具,支持通过模型上下文协议直接访问 S3 操作。

  1. 特征
    1. 工具
  2. 先决条件
    1. 安装
      1. 来自 PyPI
      2. 来自源
    2. AWS凭证设置
      1. 配置
        1. 克劳德桌面
        2. 开发配置
      2. 发展
        1. 建筑
        2. 出版
        3. 调试
      3. 执照
        1. 贡献

          Related MCP Servers

          • Amazon Web Services
            aws-mcp

            A
            security
            F
            license
            A
            quality
            A Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your AWS environment. This allows for natural language querying and management of your AWS resources during conversations. Think of better Amazon Q alternative.
            Last updated -
            3
            264
            TypeScript
            • Apple
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server implementation that enables Claude to perform AWS operations on S3 and DynamoDB services through natural language commands.
            Last updated -
            23
            92
            Python
            MIT License
            • Apple
          • A
            security
            A
            license
            A
            quality
            An 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 -
            3
            85
            10
            TypeScript
            MIT License
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server allowing Claude AI to interact with AWS resources through natural language, enabling users to query and manage AWS services without using the traditional AWS Console or CLI.
            Last updated -
            TypeScript
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/sofianhamiti/mcp-server-s3'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server