AWS API MCP Server

Runs AWS CLI commands for the agent across services.

By defaultCan delete
With our presetRead-only
Flagssecrets

Labels are provisional (from the project README/docs, checked Nov 3, 2026). Not yet tested in our sandbox.

Read-only switch

READ_OPERATIONS_ONLY=true limits to read-only operations. REQUIRE_MUTATION_CONSENT=true asks before mutations (weaker).

Preset

Read-onlyRead-only switch from the vendor's docs. Not sandbox-tested yet.
What the preset changes
  • Set READ_OPERATIONS_ONLY=true

Claude Code

.mcp.json
{
  "mcpServers": {
    "aws-api": {
      "command": "uvx",
      "args": ["awslabs.aws-api-mcp-server@latest"],
      "env": {
        "AWS_REGION": "us-east-1",
        "READ_OPERATIONS_ONLY": "true"
      }
    }
  }
}

Optional third layer: add "deny": ["mcp__aws-api__<write tool>"] under permissions in .claude/settings.json.

Codex

~/.codex/config.toml
# Generated by redpresets.dev on 2026-11-03. Unverified preset. Also use a read-only credential. Not a security guarantee.

[mcp_servers.aws-api]
command = "uvx"
args = ["awslabs.aws-api-mcp-server@latest"]
default_tools_approval_mode = "writes"

[mcp_servers.aws-api.env]
AWS_REGION = "us-east-1"
READ_OPERATIONS_ONLY = "true"

default_tools_approval_mode = "writes" asks before any tool the server does not mark read-only.

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "aws-api": {
      "type": "stdio",
      "command": "uvx",
      "args": ["awslabs.aws-api-mcp-server@latest"],
      "env": {
        "AWS_REGION": "us-east-1",
        "READ_OPERATIONS_ONLY": "true"
      }
    }
  }
}

Don't add write tools to mcpAllowlist in .cursor/permissions.json. Leave them on approval. Cursor's docs say the allowlist is not a security boundary.

Lines marked + are what we added to the vendor's install command. Struck-through lines marked − are what they replaced; Copy leaves those out.

Credential layer

Use an IAM role with ReadOnlyAccess (or ViewOnlyAccess). ReadOnlyAccess can still read some data (e.g. S3 objects); ViewOnlyAccess is stricter.

Related incidents

Facts

Vendor
AWS Labs official
Source
awslabs/mcp
License
Apache-2.0
GitHub stars
9.8k
Latest release
2026.10.20261027104512 (Oct 27, 2026)
Last push
Oct 27, 2026
Status
Active
Last checked
Nov 3, 2026

Sources

Spotted something wrong? Labels change when vendors change. Suggest a correction

Read-only alternatives in Cloud