AWS MCP Server

AWS MCP Server

用于操作AWS资源的模型上下文协议服务器实现。

smithery 徽章 AWS 服务器 MCP 服务器

这是用于 AWS 操作的模型上下文协议服务器,支持 S3 和 DynamoDB 服务。所有操作会自动记录并可通过 audit://aws-operations 访问。

安装方式

1. 通过 Smithery 自动安装 (推荐)

npx -y @smithery/cli install mcp-server-aws --client claude

2. 手动安装

  1. 克隆仓库

  2. 设置 AWS 凭证(需要 S3 和 DynamoDB 读写权限):

    • 环境变量: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION
    • 或使用 AWS CLI (aws configure)
  3. 编辑 claude_desktop_config.json:

    • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
    "mcpServers": {
      "mcp-server-aws": {
        "command": "uv",
        "args": [
          "--directory",
          "/path/to/repo/mcp-server-aws",
          "run",
          "mcp-server-aws"
        ]
      }
    }
    
  4. 安装并打开 Claude 桌面应用程序

  5. 测试安装是否成功(如创建 S3 存储桶)

支持的功能

S3 操作

  • 创建/列出/删除存储桶
  • 上传/下载/列出/删除对象

DynamoDB 操作

  • 表管理:创建/描述/更新/删除表
  • 项目操作:读/写/更新/删除/查询/扫描
  • 批量操作:批量读取/写入/执行 PartiQL
  • TTL 管理:获取/更新 TTL 设置

调试问题

如遇问题,请参考 MCP 调试指南


观看演示视频