AWS MCP Server

Cloudstdiov0.9.2
Repository

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.

Connect

Add this configuration to .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>"
      }
    }
  }
}

Tools (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"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
AWS Labs (@awslabs)
Repository
https://github.com/awslabs/aws-mcp-server
License
Apache-2.0
Version
0.9.2
Stars
5,430
Last Updated
May 25, 2026