Skip to content

Working with clients? Stay ahead of what they ask for.

OfficialSecurity

AWS CloudTrail MCP

by AWS Labs

Official AWS Labs MCP for CloudTrail: 90 days of management events via lookup_events and Trino-compatible SQL queries against CloudTrail Lake Event Data Stores. 3 commits on the server path in the last 30 days. Pairs with the IAM MCP for security audit workflows.

★ 8,924·5 listed tools·Released AUG 2025·Apache-2.0
uvx awslabs.cloudtrail-mcp-server@latest
Share:

INSTALL THIS SERVER

Requires authenticationAWS credentials chain. IAM permissions required: cloudtrail:LookupEvents, cloudtrail:ListEventDataStores, cloudtrail:GetEventDataStore, cloudtrail:StartQuery, cloudtrail:DescribeQuery, cloudtrail:GetQueryResults.
{ "mcpServers": { "awslabs.cloudtrail-mcp-server": { "command": "uvx", "args": [ "awslabs.cloudtrail-mcp-server@latest" ], "env": { "AWS_PROFILE": "default", "AWS_REGION": "us-east-1" } } } }
PrereqRequires uv installed and an AWS profile with the documented CloudTrail IAM permissions. PyPI package: `awslabs.cloudtrail-mcp-server`. Read-only by design. Path: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
{ "mcpServers": { "awslabs.cloudtrail-mcp-server": { "command": "uvx", "args": [ "awslabs.cloudtrail-mcp-server@latest" ], "env": { "AWS_PROFILE": "default", "AWS_REGION": "us-east-1" } } } }
{ "mcpServers": { "awslabs.cloudtrail-mcp-server": { "command": "uvx", "args": [ "awslabs.cloudtrail-mcp-server@latest" ], "env": { "AWS_PROFILE": "default", "AWS_REGION": "us-east-1" } } } }
{ "mcpServers": { "awslabs.cloudtrail-mcp-server": { "command": "uvx", "args": [ "awslabs.cloudtrail-mcp-server@latest" ], "env": { "AWS_PROFILE": "default", "AWS_REGION": "us-east-1" } } } }
{ "mcpServers": { "awslabs.cloudtrail-mcp-server": { "command": "uvx", "args": [ "awslabs.cloudtrail-mcp-server@latest" ], "env": { "AWS_PROFILE": "default", "AWS_REGION": "us-east-1" } } } }

5 SELECTED TOOLS

lookup_events
Query last 90 days of CloudTrail management events with username, event name, resource name filters
Read
lake_query
Execute Trino-compatible SQL against CloudTrail Lake Event Data Stores
Read
list_event_data_stores
List available Lake stores with capabilities and event selectors
Read

OUR ASSESSMENT

The CloudTrail MCP covers the CloudTrail Events API for management-event lookup over the last 90 days, plus CloudTrail Lake for SQL analytics across longer retention windows. Lookup supports filtering by username, event name, resource name, and other criteria. Lake queries use Trino-compatible SQL syntax for advanced analytics. List, status, and results tools handle the asynchronous Lake query lifecycle. Required IAM permissions are documented in the README: cloudtrail:LookupEvents, cloudtrail:ListEventDataStores, cloudtrail:GetEventDataStore, cloudtrail:StartQuery, cloudtrail:DescribeQuery, cloudtrail:GetQueryResults.

Strengths
  • Apache-2.0 licence.
  • Official AWS Labs maintenance.
  • Two access patterns: 90-day lookup via lookup_events, plus full Lake SQL via lake_query.
  • Trino-compatible SQL syntax for Lake queries.
  • Async query lifecycle with explicit status and results tools.
  • Pagination support on both lookup and Lake results for large result sets.
  • Clear IAM permission table in the README.
Weaknesses
  • 3 commits on the server path in the last 30 days, modest cadence.
  • 90-day cap on the lookup_events API; longer windows require CloudTrail Lake (separate infrastructure).
  • CloudTrail Lake pricing covers query and storage; large queries carry cost.
  • Read-only by design; remediation actions live elsewhere.
Security Notes

The MCP is read-only for CloudTrail data; it carries no mutation surface. Scope the AWS profile to the listed IAM permissions; reserve broader CloudTrail permissions (e.g., cloudtrail:DeleteTrail) for dedicated administrative roles separate from the MCP. CloudTrail Lake queries can return sensitive operational data; treat the MCP results stream as sensitive in the host LLM context. Lake query results contain raw event payloads; redact or filter columns when surfacing to broad agent contexts.

Best For

Security teams running CloudTrail Lake who want agent-driven audit queries with SQL-native flexibility; incident response workflows: trace what happened, who acted, when, across the last 90 days of management events; compliance reporting where the agent pulls evidence from CloudTrail Lake under operator-scoped IAM.

TECHNICAL DETAILS

Language
python
Transport
stdio
Clients
Claude DesktopClaude CodeCursorVS CodeWindsurf
License
Apache-2.0
GitHub
awslabs/mcp · ★ 8,924
npm
awslabs.cloudtrail-mcp-server
Last Release
awslabs.cloudtrail-mcp-server (PyPI)MAY 1, 2026
First Released
AUG 1, 2025

RECORDED ADOPTION METRICS

Saved directory snapshots. Record last checked MAY 1, 2026. The review date above does not refresh these figures.

// GitHub Stars
8,924

// Recorded note8,924 stars on the awslabs/mcp parent monorepo. 3 commits on the CloudTrail server path in the last 30 days.

// Popularity Rank
#5
Recorded directory rank · #5 in Security

// Recorded noteFifth-ranked in security. Tier 2 cadence; Tier 1 vendor signal. Pairs with IAM MCP for audit and incident response.

SOURCES & RECORDED CHECKS

These are the directory listings and check details held in this record. Client compatibility, directory listings and installation testing are separate signals. Recorded client names describe the scope of a check; they do not establish a security assessment or a recurring test schedule.

01
Discovered
Source not recorded
First indexed MAY 1, 2026
02
Directory listings
4 directories
PulseMCP, MCP.so, Glama, Official MCP Registry
03
Recorded client testing
Claude Desktop, Cursor, Kiro, Cline (per awslabs/mcp install instructions)
Check current setup against the provider documentation
04
Record last checked
MAY 1, 2026
Record date; functional retest scope may differ
// How other directories see it

The same server, 4 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.

SourceTheir ratingTheir star countTheir downloadsLast synced
AutomationSwitch This page4editorial8,924—MAY 1, 2026
PulseMCP— unratedunavailableunavailableMAY 1, 2026
MCP.so— unratedunavailableunavailableMAY 1, 2026
Glama— unratedunavailableunavailableMAY 1, 2026
Official MCP Registry— unratedunavailableunavailableMAY 1, 2026

// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.

OTHER SECURITY MCP SERVERS

Vendor4.6

Prowler MCP

Prowler

Cloud Security Posture Management (CSPM) platform with 1000+ security checks across multiple cloud providers and 70+ compliance frameworks, exposed through MCP. Three deployment options: Prowler Cloud (recommended), local stdio, self-hosted HTTP. 13,717 stars, Apache-2.0.

8 tools★ 13,717
Official4.5

Snyk Agent Scan

Snyk

Snyk's security scanner for AI agents, MCP servers, and agent skills. Scans MCP server manifests and agent skill files for known security risks. 2,366 GitHub stars and 81 commits on main in the last 30 days.

6 tools★ 2,366
Official4.4

CrowdStrike Falcon MCP

CrowdStrike

Official CrowdStrike Falcon MCP server. Connect AI agents to CrowdStrike Falcon for automated security analysis and threat hunting. 148 stars and 8 commits on main in the last 30 days.

7 tools★ 148
Community4.3

HexStrike AI

0x4m4 (community)

Advanced MCP server that lets AI agents perform offensive security tasks and red-team workflows. 8,695 GitHub stars and 1 commit on main in the last 30 days.

6 tools★ 8,695
Vendor4.3

Auth0 MCP Server

Auth0

Official Auth0 MCP server connecting Claude, Cursor, Windsurf, VS Code, and Gemini to Auth0 Management APIs. Create apps, deploy Actions, debug logs, and query users with natural-language commands. Read-only mode and tool-glob filtering supported. Beta software per Auth0.

8 tools★ 106
Official4.2

HashiCorp Vault MCP

HashiCorp

Official HashiCorp MCP for Vault: secrets, mounts, KV, and PKI management with stdio and Streamable HTTP transports. 9 commits on main in the last 30 days. MPL-2.0 with HashiCorp official-vendor signal.

9 tools★ 45
// Get in touch

DISCUSS YOUR
MCP REQUIREMENTS.

Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.

Discuss Your MCP Requirements →