MCP ConfigsMay 14, 2026·2 min read

IAM Policy Autopilot — CLI + MCP for AWS IAM

IAM Policy Autopilot generates baseline IAM policies from source code via CLI or MCP; verified 357★ and supports stdio/http transports.

Agent ready

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install 27f7518e-239c-5a07-8880-4ef8cf764522 --target codex

Stages files first; activation requires review of the staged README and plan.

Intro

IAM Policy Autopilot generates baseline IAM policies from source code via CLI or MCP; verified 357★ and supports stdio/http transports.

Best for: AWS teams who want deterministic policy scaffolding and faster AccessDenied debugging with an AI assistant

Works with: Python/Go/TS/JS/Java AWS SDK codebases; works with MCP clients via mcp-server

Setup time: 10-20 minutes

Key facts (verified)

  • GitHub: 357 stars · 38 forks · pushed 2026-05-13.
  • License: Apache-2.0 · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: iam-policy-autopilot mcp-server --transport stdio.

Main

  • Treat output as a baseline: review policies before deployment and narrow resources/conditions to your actual boundaries.

  • Use CLI explanations to trace why actions were included; keep that explanation as evidence in code review.

  • Prefer MCP integration for agent workflows, but still enforce least privilege at the IaC layer (ARNs, boundaries, SCPs).

Source-backed notes

  • README lists three CLI commands: generate-policies, fix-access-denied, and mcp-server.
  • README notes mcp-server supports stdio (default) and http transports (example: --transport http).
  • README describes deterministic local code analysis to generate identity-based policies across multiple languages.

FAQ

  • Does this guarantee least privilege?: No — it generates a baseline; you still need review and resource scoping.
  • What if resources are chosen at runtime?: README notes it can’t predict dynamic values; add conditions/ARN constraints manually.
  • Should I use CLI or MCP?: Use CLI for one-offs; use MCP when an agent should call tools during iteration.
🙏

Source & Thanks

Source: https://github.com/awslabs/iam-policy-autopilot > License: Apache-2.0 > GitHub stars: 357 · forks: 38

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets