AWS MCP Server

Cloudstdiov0.9.2
代码仓库

Enables AI agents to interact with Amazon Web Services through the Model Context Protocol. Provides access to core AWS services including S3, Lambda, DynamoDB, CloudWatch, and IAM. Supports resource discovery, log analysis, and infrastructure management with proper credential handling and region awareness.

连接

将此配置添加到 .claude/mcp.json

{
  "mcpServers": {
    "aws": {
      "command": "uvx",
      "args": [
        "awslabs.aws-mcp-server@latest"
      ],
      "env": {
        "AWS_ACCESS_KEY_ID": "<YOUR_AWS_ACCESS_KEY_ID>",
        "AWS_SECRET_ACCESS_KEY": "<YOUR_AWS_SECRET_ACCESS_KEY>",
        "AWS_REGION": "<YOUR_AWS_REGION>"
      }
    }
  }
}

工具 (4)

s3_list_objects

List objects in an S3 bucket with optional prefix filtering.

{
  "type": "object",
  "required": [
    "bucket"
  ],
  "properties": {
    "bucket": {
      "type": "string",
      "description": "S3 bucket name"
    },
    "prefix": {
      "type": "string",
      "description": "Key prefix to filter objects"
    },
    "max_keys": {
      "type": "integer",
      "description": "Maximum number of objects to return"
    }
  }
}

s3_get_object

Retrieve an object from S3 and return its contents.

{
  "type": "object",
  "required": [
    "bucket",
    "key"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "Object key"
    },
    "bucket": {
      "type": "string",
      "description": "S3 bucket name"
    }
  }
}

cloudwatch_query_logs

Query CloudWatch Logs using Logs Insights query syntax.

{
  "type": "object",
  "required": [
    "log_group",
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Logs Insights query string"
    },
    "end_time": {
      "type": "integer",
      "description": "End time as UNIX timestamp"
    },
    "log_group": {
      "type": "string",
      "description": "CloudWatch log group name"
    },
    "start_time": {
      "type": "integer",
      "description": "Start time as UNIX timestamp"
    }
  }
}

lambda_invoke

Invoke an AWS Lambda function and return its response.

{
  "type": "object",
  "required": [
    "function_name"
  ],
  "properties": {
    "payload": {
      "type": "object",
      "description": "JSON payload to send to the function"
    },
    "function_name": {
      "type": "string",
      "description": "Lambda function name or ARN"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
AWS Labs (@awslabs)
代码仓库
https://github.com/awslabs/aws-mcp-server
许可证
Apache-2.0
版本
0.9.2
星标
5,430
最后更新
2026年5月25日