iam-policy-autopilot
Generate baseline AWS IAM identity policies from code with an MCP server and CLI.
Install
See the repository for setupWhat it does
IAM Policy Autopilot examines application source code on your own machine and produces starter IAM identity-based policies for the roles your app uses. It reads AWS SDK calls to work out which actions are needed, so developers, technical experimenters, and others building on AWS can skip much of the manual effort of drafting permissions alongside an AI coding assistant. Static analysis covers Python using boto3 or botocore, Go with SDK v2, Java with SDK v2, and JavaScript or TypeScript with SDK v3. A Terraform plan written in JSON can also be used as input; plain .tf files are not accepted yet.
You can run it through uvx or pip, or install it directly on macOS or Linux, and it needs AWS credentials. An MCP server mode plugs into clients such as Kiro, Kiro CLI, and Claude Desktop; the CLI offers extra options like service hints and an explain mode that shows why an action was included.
Keep these limits in mind:
- Output is a baseline to review and refine, not a finished security posture.
- Resource-based policies, SCPs, RCPs, and permission boundaries are out of scope.
- Bucket or key names resolved only at runtime are not predicted.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 506
- Last push
- Nov 21, 2026
- License
- Apache-2.0
- Archived
- No
Other AWS MCP servers
Compare serversFAQ
- What license does iam-policy-autopilot use?
- Apache-2.0
- Does iam-policy-autopilot run locally or remotely?
- It runs locally.
- Is iam-policy-autopilot an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/iam-policy-autopilot"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.