---
title: "AWS CloudTrail MCP Server: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/mcp-servers/awslabs-cloudtrail/
description: "Queries CloudTrail events for an account you administer."
---

# AWS CloudTrail MCP Server: review, setup & limitations · Undominated.ai

> Queries CloudTrail events for an account you administer.

[← Explore all mcp servers](/mcp-servers/)

CLOUD OPERATIONS / Amazon Web Services

# AWS CloudTrail MCP Server

Queries CloudTrail events for an account you administer.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/awslabs/mcp/tree/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server)

SOURCE REVIEW

 Reviewed 2026-10-14
 Evidence 5 linked sources
 Publisher Amazon Web Services
 Licence [Apache-2.0 ↗](https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/LICENSE)
 Revision 49de7cc11ae0
 [Read what was—and wasn’t—checked ↓](#review)

“The CloudTrail MCP Server provides specialized tools to address common security and operational scenarios including event lookup, user activity analysis, API call tracking, and advanced CloudTrail Lake analytics.”

 [Amazon Web Services · upstream description ↗](https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/README.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - The README contains the package name awslabs.cloudtrail-mcp-server and a uvx command.
- The recorded revision is the monorepo commit, not a per-server release tag.
- The README is for local CloudTrail event lookup and CloudTrail Lake SQL, aimed at investigations and audit questions.
- Event History is described as on by default and limited to 90 days of management events, while Lake queries need Lake to be enabled.

### A good fit for

 - Inspecting an API call that already happened
- Separating an event lookup from a guessed cause
- Looking up recent management events or running CloudTrail Lake SQL from a local process
- Not for a hosted CloudTrail endpoint, and not for Lake analytics until Lake is enabled

### Weigh up before choosing

 - Event-history lookup is not a census of all data events or all historical activity; check configured Lake event selectors and retention.
- Lake must be enabled and queries can incur charges; no query was submitted in this review.
- An incomplete query or unconsumed page must not be reported as no matching activity.
- The @latest package launcher is not pinned to the reviewed Git revision.
- Lookup is the last 90 days of management events, not a full history and not data events by itself.
- Lake SQL does not work unless CloudTrail Lake is enabled.
- The server can only run locally on the LLM client's host.
- A pin does not verify transitive dependencies. Documented uvx examples use a floating package tag, not the reviewed commit.
- This review did not execute the resource.
- The server was not started and its tools were not called.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - src/cloudtrail-mcp-server/README.md
- src/cloudtrail-mcp-server/pyproject.toml at 49de7cc11ae064b9224f07ae050c612c3f92dd55
- src/cloudtrail-mcp-server/awslabs/cloudtrail_mcp_server/server.py at 49de7cc11ae064b9224f07ae050c612c3f92dd55
- LICENSE

### Our findings

 - Event lookup covers recent management-event history; CloudTrail Lake is a separate source for SQL analysis.
- The reference separates starting Lake queries, polling status and retrieving paginated results.
- The Docker example embeds combined flags and a tilde path in argument strings; the retained uvx route avoids copying those shell assumptions into direct process arguments.
- MCP lane cross-review matched the retained primary setup/permission evidence and the added source-specific findings before this wave was frozen.
- The server looks up CloudTrail events and can run Trino-compatible SQL against CloudTrail Lake for investigations, auditing, and operational troubleshooting.
- It must run locally beside the LLM client. The README names cloudtrail:LookupEvents and cloudtrail:StartQuery among the required actions.
- Event History covers the last 90 days of management events and is on by default. Advanced SQL does not run unless CloudTrail Lake is enabled.

### Not established by this review

 - No server installation, authentication, live API operation or isolation test was performed.
- The server was not started and its tools were not called.
- A pin does not verify transitive dependencies.
- No tools/list or tool call was made.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Connect a server deliberately.

[Upstream setup instructions ↗](https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/README.md)

DOCUMENTED COMMAND

 uvx awslabs.cloudtrail-mcp-server@latest Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - Register the uvx command.
- Use credentials for the account you mean.
- The one-line command above is the uvx launch in the README client block at this commit, not a separate installer. It was not run.

### Before you start

 - uv
- AWS credentials for the service

### Documented configuration example

Use the client and authentication context described in the setup guidance. Configuration formats vary between hosts.

 {
 "mcpServers": {
 "awslabs.cloudtrail-mcp-server": {
 "autoApprove": [],
 "disabled": false,
 "command": "uvx",
 "args": [
 "awslabs.cloudtrail-mcp-server@latest"
 ],
 "env": {
 "AWS_PROFILE": "[The AWS Profile Name to use for AWS access]",
 "FASTMCP_LOG_LEVEL": "ERROR"
 },
 "transportType": "stdio"
 }
 }
} Copy configuration ↗

### Compatibility

Local stdio MCP clients

### Implementation

Python

### Transports

stdio

### Local process, AWS credentials

 - Call the AWS APIs the credential allows for this server

### Cost model

Apache-2.0 server. AWS usage may be billed.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Server documentation ↗](https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/README.md) Checked 2026-10-14 https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/README.md Supports: Install command and stated scope
- [Repository licence ↗](https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/LICENSE) Checked 2026-10-07 https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/LICENSE Supports: Redistribution terms
- [Pinned package metadata and server registration ↗](https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/pyproject.toml) Checked 2026-10-14 https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/pyproject.toml Supports: review, install, access, limitations
- [Pinned package metadata and server registration ↗](https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/awslabs/cloudtrail_mcp_server/server.py) Checked 2026-10-14 https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/awslabs/cloudtrail_mcp_server/server.py Supports: review, install, access, limitations
- [Server documentation ↗](https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/README.md) Checked 2026-10-07 https://github.com/awslabs/mcp/blob/49de7cc11ae064b9224f07ae050c612c3f92dd55/src/cloudtrail-mcp-server/README.md Supports: Install command and stated scope

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### AWS Billing and Cost Management MCP Server ↗ Reads realised AWS billing and cost-management data, which is a different number from the advertised unit price.](/mcp-servers/awslabs-aws-billing-cost-management/)[### AWS CloudWatch Application Signals MCP Server ↗ Reads CloudWatch Application Signals for an account you administer. It is not the general CloudWatch server.](/mcp-servers/awslabs-cloudwatch-applicationsignals/)[### AWS CloudWatch MCP Server ↗ Queries CloudWatch for an account you administer. It does not invent a metric.](/mcp-servers/awslabs-cloudwatch/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Inspect resource evidence](/tools/)
- [Choose a host](/agents/)
- [Inspect reusable workflows](/skills/)
- [Use Undominated data](/api/)
