Skip to main content
Glama
AWS MCP Audit
by oldcoder01

aws-mcp-audit (MVP)

A contractor-friendly read-only AWS assessment tool (MCP server) that inventories an AWS environment, runs deterministic security/ops checks, and generates actionable reports plus a cost/usage snapshot.

Quick start (uv)

uv sync
uv run python -m aws_mcp_audit.server

Related MCP server: emfirge

Claude Desktop (Windows) example config

Put this in %APPDATA%\Claude\claude_desktop_config.json and adjust the directory path:

{
  "mcpServers": {
    "aws-mcp-audit": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\D_Drive\\Dev\\aws-mcp-audit",
        "run",
        "python",
        "-m",
        "aws_mcp_audit.server"
      ]
    }
  }
}

Tool usage (conceptual)

  • aws_whoami(auth?)

  • collect_snapshot(scope, auth?) -> snapshot_id

  • run_checks(snapshot_id) -> finding_set_id

  • cost_signals(snapshot_id)

  • cost_explorer_summary(days=30, auth?) (optional permissions)

  • generate_report(snapshot_id, finding_set_id, format="md|pdf")

Auth

All tools accept an optional auth object:

{ "mode": "default" }

or (contractor-run):

{
  "mode": "assume_role",
  "role_arn": "arn:aws:iam::123456789012:role/ContractorAuditReadOnly",
  "external_id": "client-specific-external-id",
  "session_name": "aws-mcp-audit",
  "region_name": "us-east-1"
}

Outputs

Artifacts are stored locally under ./data/snapshots/<snapshot_id>/:

  • snapshot.json

  • findings.json

  • cost.json (tier-1 signals)

  • cost_explorer.json (if enabled)

  • report.md / report.pdf

Terraform module (client-side)

See terraform/ContractorAuditReadOnly/ for a simple module that creates a read-only role with ExternalId.

Available Tools

10 tools
aws_whoamiD

Inputs: auth. Returns: object

collect_snapshotD

Inputs: scope (required), auth. Returns: object

cost_explorer_by_regionD

Inputs: days, top_n, auth. Returns: object

cost_explorer_by_serviceD

Inputs: days, top_n, auth. Returns: object

cost_explorer_summary_toolD

Inputs: days, granularity, auth. Returns: object

cost_signalsD

Inputs: snapshot_id (required). Returns: object

generate_reportD

Inputs: snapshot_id (required), finding_set_id, format, auth. Returns: object

get_snapshot_summaryD

Inputs: snapshot_id (required). Returns: object

list_findingsD

Inputs: finding_set_id (required), severity_min. Returns: object

run_checksD

Inputs: snapshot_id (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.8/5.0

    Scored across 10 tools

    Disambiguation3/5

    The tools have distinct names suggesting different AWS audit functions, but without descriptions, there is potential ambiguity in overlapping areas like cost analysis (cost_explorer_by_region, cost_explorer_by_service, cost_explorer_summary_tool, cost_signals) and snapshot handling (collect_snapshot, get_snapshot_summary). An agent might struggle to choose between similar-sounding tools without clear purpose differentiation.

    Naming Consistency4/5

    Most tools follow a consistent snake_case pattern with descriptive verb-noun combinations (e.g., collect_snapshot, generate_report, list_findings). However, there are minor deviations like aws_whoami (which uses a command-like name) and cost_explorer_summary_tool (which includes 'tool' redundantly), slightly breaking the pattern.

    Tool Count5/5

    With 10 tools, this server is well-scoped for AWS audit purposes, covering areas like identity (aws_whoami), cost analysis, reporting, snapshot management, and compliance checks. The count is neither too sparse nor overwhelming, allowing for comprehensive audit workflows without unnecessary complexity.

    Completeness3/5

    The tool set appears to cover key audit aspects such as cost analysis, snapshot collection, report generation, and findings listing, but without descriptions, it's unclear if there are gaps in CRUD operations or lifecycle coverage. For example, tools for updating or deleting findings might be missing, potentially limiting agent effectiveness in full audit management.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to assess AWS environments against the AWS Security Reference Architecture (SRA) by providing tools to discover, describe, and run security checks across AWS services and accounts.
      5
      3
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      A read-only MCP server for inspecting AWS resources, detecting misconfigurations, and estimating costs across EC2, S3, and IAM, enabling agents to safely query and analyze cloud infrastructure.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to run read-only AWS security audits and receive normalized, severity-ranked findings about account posture, such as stale access keys, missing MFA, public buckets, open security groups, and CloudTrail coverage.
      11
      MIT