Skip to main content
Glama

AWS MCP 服务器

铁匠徽章

针对 AWS 操作的模型上下文协议 (MCP)服务器实现,目前支持 S3 和 DynamoDB 服务。所有操作均自动记录,并可通过audit://aws-operations资源端点访问。

在此处观看演示视频。

在 MCP 服务器存储库中列为社区服务器。

使用 Claude 桌面应用程序在本地运行

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 AWS MCP 服务器:

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

手动安装

  1. 克隆此存储库。

  2. 通过以下两种方法之一设置您的 AWS 凭证。请注意,此服务器需要 IAM 用户拥有您的 AWS 账户的 S3 和 DynamoDB 读写权限。

  • 环境变量: AWS_ACCESS_KEY_ID 、 AWS_SECRET_ACCESS_KEY 、 AWS_REGION (默认为us-east-1 )

  • 默认 AWS 凭证链(通过 AWS CLI 使用aws configure设置)

  1. 将以下内容添加到您的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"
    ]
  }
}
  1. 安装并打开Claude 桌面应用程序。

  2. 尝试让 Claude 执行某种读/写操作来确认设置(例如,创建一个 S3 存储桶并为其指定一个随机名称)。如果出现问题,请使用 MCP 文档中提供的调试工具(此处)。

Related MCP server: AWS Resources MCP Server

可用工具

S3 操作

  • s3_bucket_create :创建一个新的 S3 存储桶

  • s3_bucket_list :列出所有 S3 存储桶

  • s3_bucket_delete :删除 S3 存储桶

  • s3_object_upload :将对象上传到 S3

  • s3_object_delete :从 S3 中删除对象

  • s3_object_list :列出 S3 存储桶中的对象

  • s3_object_read :从 S3 读取对象的内容

DynamoDB 操作

表操作

  • dynamodb_table_create :创建一个新的 DynamoDB 表

  • dynamodb_table_describe :获取有关 DynamoDB 表的详细信息

  • dynamodb_table_delete :删除 DynamoDB 表

  • dynamodb_table_update :更新 DynamoDB 表

项目操作

  • dynamodb_item_put :将项目放入 DynamoDB 表中

  • dynamodb_item_get :从 DynamoDB 表中获取项目

  • dynamodb_item_update :更新 DynamoDB 表中的项目

  • dynamodb_item_delete :从 DynamoDB 表中删除项目

  • dynamodb_item_query :查询 DynamoDB 表中的项目

  • dynamodb_item_scan :扫描 DynamoDB 表中的项目

批量操作

  • dynamodb_batch_get :从 DynamoDB 表中批量获取多个项目

  • dynamodb_item_batch_write :DynamoDB 项目的批量写入操作(放入/删除)

  • dynamodb_batch_execute :批量执行多个 PartiQL 语句

TTL 操作

  • dynamodb_describe_ttl :获取表的 TTL 设置

  • dynamodb_update_ttl :更新表的 TTL 设置

Available Tools

23 tools
dynamodb_batch_executeC

Execute multiple PartiQL statements in a batch

Inputs: statements (required), parameters (required).

dynamodb_batch_getC

Batch get multiple items from DynamoDB tables

Inputs: request_items (required).

dynamodb_describe_ttlC

Get the TTL settings for a table

Inputs: table_name (required).

dynamodb_item_batch_writeC

Batch write operations (put/delete) for DynamoDB items

Inputs: table_name (required), operation (required), items (required), key_attributes.

dynamodb_item_deleteC

Delete an item from a DynamoDB table

Inputs: table_name (required), key (required).

dynamodb_item_getC

Get an item from a DynamoDB table

Inputs: table_name (required), key (required).

dynamodb_item_putC

Put an item into a DynamoDB table

Inputs: table_name (required), item (required).

dynamodb_item_queryC

Query items in a DynamoDB table

Inputs: table_name (required), key_condition (required), expression_values (required).

dynamodb_item_scanC

Scan items in a DynamoDB table

Inputs: table_name (required), filter_expression, expression_attributes.

dynamodb_item_updateC

Update an item in a DynamoDB table

Inputs: table_name (required), key (required), item (required).

dynamodb_table_createC

Create a new DynamoDB table

Inputs: table_name (required), key_schema (required), attribute_definitions (required).

dynamodb_table_deleteC

Delete a DynamoDB table

Inputs: table_name (required).

dynamodb_table_describeC

Get details about a DynamoDB table

Inputs: table_name (required).

dynamodb_table_listB

List all DynamoDB tables

Inputs: no named parameters.

dynamodb_table_updateC

Update a DynamoDB table

Inputs: table_name (required), attribute_definitions (required).

dynamodb_update_ttlC

Update the TTL settings for a table

Inputs: table_name (required), ttl_enabled (required), ttl_attribute (required).

s3_bucket_createC

Create a new S3 bucket

Inputs: bucket_name (required).

s3_bucket_deleteC

Delete an S3 bucket

Inputs: bucket_name (required).

s3_bucket_listB

List all S3 buckets

Inputs: no named parameters.

s3_object_deleteC

Delete an object from S3

Inputs: bucket_name (required), object_key (required).

s3_object_listC

List objects in an S3 bucket

Inputs: bucket_name (required).

s3_object_readC

Read an object's content from S3

Inputs: bucket_name (required), object_key (required).

s3_object_uploadC

Upload an object to S3

Inputs: bucket_name (required), object_key (required), file_content (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 23 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity. The DynamoDB tools are precisely scoped to specific operations (batch_execute, batch_get, describe_ttl, etc.), and S3 tools are similarly well-defined (bucket_create, object_read, etc.). There is no overlap where an agent would struggle to choose between tools.

    Naming Consistency5/5

    All tool names follow a consistent pattern of service_operation format (e.g., dynamodb_item_get, s3_object_upload). The naming is uniformly snake_case with clear verbs (get, put, delete, list, create, update) that match the operations precisely, making it highly predictable and readable.

    Tool Count4/5

    With 23 tools, the count is slightly high but reasonable for covering two major AWS services (DynamoDB and S3). It provides comprehensive operations for each service, though it might feel heavy for a single server. The scope is well-defined, and each tool serves a distinct function, justifying its inclusion.

    Completeness5/5

    The tool set offers complete CRUD/lifecycle coverage for both DynamoDB and S3 domains. For DynamoDB, it includes table management (create, describe, list, update, delete) and item operations (get, put, update, delete, query, scan, batch operations, TTL). For S3, it covers bucket management (create, list, delete) and object operations (upload, read, list, delete). No obvious gaps exist for core workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      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.
      3
      296
      ISC
    • A
      license
      A
      quality
      D
      maintenance
      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.
      3
      11,239 npm
      30
      MIT