Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Iam policy autopilot

MCP server by awslabs Verified · gh:awslabs

Generates baseline AWS IAM identity-based policies by analyzing application code locally. It runs as a command-line tool and an MCP server for AI coding assistants, aimed at builders on AWS.

  • Score 85
  • 508 stars
  • Apache-2.0
  • Updated

Install Iam policy autopilot

Built from the published package, never by AI.

claude mcp add iam-policy-autopilot -- uvx iam-policy-autopilot

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Iam policy autopilot in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the iam-policy-autopilot block.

About

IAM Policy Autopilot is an open source Model Context Protocol (MCP) server and command-line tool. It helps AI coding assistants create baseline IAM policies for application roles that can be refined as the application evolves. It analyzes application code locally and generates identity-based policies, which the source says can reduce access troubleshooting time.

The tool uses deterministic static code analysis of AWS SDK calls. It supports Python, Go, TypeScript, JavaScript and Java, and can also generate policies from a Terraform plan file in JSON format. The source says it is for builders on AWS using AI coding assistants, including developers, product managers, technical experimenters and business leaders. The source recommends reviewing generated policies before deployment.

Written from the project's README and checked against it.

What you need

  • AWS credentials configured for AWS CLI
  • An MCP client such as Kiro, Kiro CLI or Claude Desktop
  • uv or pip to install the tool
  • Python

Try asking

  • Generate a baseline IAM policy for the AWS calls in this Python app
  • Create an IAM policy for this Go service's SDK calls, limited to S3 and IAM
  • Build a baseline IAM policy from this Terraform plan JSON file

Good to know

  • Produces identity-based policies only, not resource-based policies, SCPs, RCPs or permission boundaries.
  • Runtime-determined resources, such as a bucket name set at runtime, are not predicted.
  • Native .tf configuration files are not yet supported as direct input; Terraform plan JSON is supported.
  • Service hints can still leave permissions from other services when they are needed for the operations.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl -sSL https://github.com/awslabs/iam-policy-autopilot/raw/refs/heads/main/install.sh | sudo sh
  • Asks for administrator rights (sudo)In README.md: sudo

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Baseline IAM policies for application roles
  • Reducing AccessDenied troubleshooting time
  • Generating policies from Terraform plan JSON

Alternatives to Iam policy autopilot

All alternatives →
Agentmesh MCP Proxy microsoft
94

Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.

AAA Local 6.6k
Bla qybaihe
94

Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.

AAA Local 7.3k
Bla Agents qybaihe
94

Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.

AAC Local 37k/wk

Compare with Agentmesh MCP Proxy, Bla or Bla Agents

Iam policy autopilot: common questions

Does IAM Policy Autopilot create resource-based policies?

No. The source says it produces IAM identity-based policies and does not support resource-based policies such as S3 bucket policies or KMS key policies.

Which languages does IAM Policy Autopilot support?

The source lists Python, Go, TypeScript, JavaScript and Java, using the AWS SDKs for each language. It can also generate policies from a Terraform plan file in JSON format.

Why might a generated policy include permissions my app does not use?

The source says method names can match AWS SDK calls from multiple services, such as listAccounts() matching both AWS Organizations and Amazon Chime. Using the --service-hints option can narrow the services analyzed.

How do I install Iam policy autopilot?

In Claude Code run claude mcp add iam-policy-autopilot -- uvx iam-policy-autopilot. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Iam policy autopilot the official server?

Iam policy autopilot is published by gh:awslabs from its verified domain in the official MCP Registry.

Is Iam policy autopilot free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Iam policy autopilot safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to Iam policy autopilot?

Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.

Does Iam policy autopilot work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Iam policy autopilot Install

Add to stack

Loading.