AWS API MCP Server
Runs AWS CLI commands for the agent across services.
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
- Set
READ_OPERATIONS_ONLY=true
Claude Code
{
"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
# 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
{
"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
- README: READ_OPERATIONS_ONLY, REQUIRE_MUTATION_CONSENT · checked Oct 27, 2026
Spotted something wrong? Labels change when vendors change. Suggest a correction
Read-only alternatives in Cloud
Metrics, alarms and Logs Insights queries from CloudWatch.
EKS cluster management, Kubernetes resources and troubleshooting.
Query CloudTrail events and Lake for audit investigations.