AI

awslabs/iam-policy-autopilot

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

508 stars 61 forks 质量 86 趋势 21Apache-2.0

awslabs/iam-policy-autopilot 是从 https://github.com/awslabs/iam-policy-autopilot. 导入的 MCP 服务器候选

概览

awslabs/iam-policy-autopilot 是从 https://github.com/awslabs/iam-policy-autopilot. 导入的 MCP 服务器候选

概述(AI 翻译)

一个开源的模型上下文协议(MCP)服务器和命令行工具,帮助您的AI编码助手快速创建基线IAM策略,随着应用演进可以不断优化,从而加快构建速度。IAM策略Autopilot会在本地分析您的应用代码,生成基于身份的应用角色策略,从而加快IAM策略创建速度并减少访问故障排除时间。IAM策略Autopilot支持为Python、Go、TypeScript、JavaScript和Java构建的应用程序生成策略,也能从Terraform计划文件生成JSON格式的策略——参见支持的语言和SDK,了解策略生成。

我们希望听到您的声音。在讨论区提问或分享想法,通过问题报告错误,或直接通过拉取请求贡献。

目录

  • IAM Policy Autopilot 是为谁服务的?
  • IAM Policy Autopilot 有何帮助?
  • 最佳实践与注意事项
  • 入门指南
  • 网络需求
  • CLI 使用
  • 支持的策略生成语言和SDK。
  • 构建说明
  • 工作区结构
  • 发展
  • 安全
  • 许可证

IAM Policy Autopilot 是为谁服务的?

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

IAM Policy Autopilot

An open source Model Context Protocol (MCP) server and command-line tool that helps your AI coding assistants quickly create baseline IAM policies that you can refine as your application evolves, so you can build faster. IAM Policy Autopilot analyzes your application code locally to generate identity-based policies for application roles, enabling faster IAM policy creation and reducing access troubleshooting time. IAM Policy Autopilot supports policy generation for applications built in Python, Go, TypeScript, JavaScript, and Java, and can also generate policies from a Terraform plan file in JSON format — see Supported Languages and SDKs for policy generation.

We want to hear from you. Ask questions or share ideas in Discussions, report bugs through Issues, or contribute directly with a Pull Request.

Table of Contents

Who is IAM Policy Autopilot for?

IAM Policy Autopilot is for builders on AWS using AI coding assistants, including developers, product managers, technical experimenters, and business leaders.

How is IAM Policy Autopilot helpful?

IAM Policy Autopilot is:

Fast

IAM Policy Autopilot accelerates development by generating baseline identity-based IAM policies. Your AI coding assistant can call IAM Policy Autopilot to analyze AWS SDK calls within your application. IAM Policy Autopilot then automatically creates the baseline IAM permissions for your application roles.

Reliable

在 GitHub 查看完整 README

安装

uvx iam-policy-autopilot mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "iam-policy-autopilot": { "command": "uvx", "args": ["iam-policy-autopilot", "mcp-server"], "env": { "AWS_PROFILE": "your-profile-name", "AWS_REGION": "us-east-1" }, "disabled": false, "autoApprove": [] } } }