convez.ai
MCP ServerDevOps & InfraestruturaIntermediário
awslabs

Nx Plugin for AWS

awslabs/nx-plugin-for-aws

Construa apps AWS full-stack prontos para produção em minutos

Ver no GitHub
BomPluginScore · de 0 a 100

Coleção de geradores de código que automatiza a criação de aplicações full-stack prontas para produção na AWS usando Nx. Gera scaffolds de aplicações com TypeScript, Python e React além da infraestrutura CDK necessária para deploy, tudo type-safe e executável localmente.

Instalação

$npx convez-ai awslabs/nx-plugin-for-aws

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
154
Forks
38
Acompanhando
4
Saúde
87%
Último commit
há 1 dia
Versão
v1.5.0
Issues abertas
24
Contribuidores
24

Casos de uso

  • Scaffolding de projetos full-stack com API tRPC, autenticação Cognito e frontend React
  • Automação de configuração de infraestrutura AWS (CDK) junto ao código
  • Integração com assistentes de IA para construção automática de arquitetura completa

Veredito

Plugin maduro e bem-mantido (AWS Labs) que reduz significativamente o tempo de setup de projetos AWS em monorepos Nx. Excelente integração com assistentes de IA via MCP para desenvolvimento orientado por IA, though a curva de aprendizado do Nx pode ser inicial para quem não usa o ecossistema.

README

A tradução para o português deste README ainda está na fila.


@aws/nx-plugin is a collection of code generators that scaffold full-stack, production-ready AWS applications inside an Nx monorepo. Every generator produces best-practice application code and the infrastructure to deploy it — type-safe, locally runnable, and ready to deploy.

Quick Start

Build with AI

Add the MCP server to your AI assistant and let it build for you.

claude mcp add nx-plugin-for-aws -- npx -y @aws/nx-plugin-mcp

Install the Kiro Power for the best experience — no manual MCP configuration needed:

  1. Open the Kiro Powers panel from the sidebar
  2. Click + to add a custom power
  3. Paste: https://github.com/awslabs/nx-plugin-for-aws/tree/main/powers/nx-plugin-for-aws
  4. Click install

Or add the MCP server manually in .kiro/mcp.json:

{
  "mcpServers": {
    "nx-plugin-for-aws": {
      "command": "npx",
      "args": ["-y", "@aws/nx-plugin-mcp"]
    }
  }
}
claude mcp add nx-plugin-for-aws -- npx -y @aws/nx-plugin-mcp

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "nx-plugin-for-aws": {
      "command": "npx",
      "args": ["-y", "@aws/nx-plugin-mcp"]
    }
  }
}

Add to ~/.codex/config.toml:

[mcp_servers.nx-plugin-for-aws]
command = "npx"
args = ["-y", "@aws/nx-plugin-mcp"]

Most MCP-compatible assistants use a JSON configuration file. Add the following entry:

{
  "mcpServers": {
    "nx-plugin-for-aws": {
      "command": "npx",
      "args": ["-y", "@aws/nx-plugin-mcp"]
    }
  }
}

Then just ask:

"Use the Nx Plugin for AWS to build a full-stack app with a React website, a tRPC API, Cognito auth, and CDK infrastructure."

Your AI assistant will use the MCP tools to scaffold, connect, and configure everything. See the Building with AI guide for more details.

Build with the CLI

Create a workspace and start adding components — zero configuration required:

# Create a new workspace
pnpm create @aws/nx-workspace@next my-project
cd my-project

# Add a tRPC API
pnpm nx g @aws/nx-plugin:ts#api --framework=trpc

# Add a Strands AI agent (Python)
pnpm nx g @aws/nx-plugin:py#agent

# Add a React website
pnpm nx g @aws/nx-plugin:ts#website --framework=react

# Add authentication to your website
pnpm nx g @aws/nx-plugin:ts#website#auth

# Connect your website to your API and agent
pnpm nx g @aws/nx-plugin:connection

# Add CDK infrastructure to deploy it all (or choose Terraform)
pnpm nx g @aws/nx-plugin:ts#infra

See the full Quick Start guide and Dungeon Adventure tutorial for a deeper walkthrough.

Available Generators

GeneratorDescription
ts#projectTypeScript library
ts#apiTypeScript API (tRPC or Smithy) with API Gateway + Lambda + Powertools
ts#rdbRelational databases with Aurora RDS
ts#websiteReact app (Vite)
ts#website#authAdd Cognito auth to a website
ts#infraAWS CDK infrastructure project
ts#lambda-functionTypeScript Lambda with type-safe event sources
ts#mcp-serverMCP server (TypeScript)
ts#agentStrands Agent (TypeScript)
ts#nx-generatorNx generator scaffold
py#projectPython project (uv)
py#apiPython API (FastAPI) with API Gateway + Lambda + Powertools
py#lambda-functionPython Lambda with type-safe event sources
py#mcp-serverMCP server (Python)
py#agentStrands Agent (Python)
connectionConnect projects together (e.g. frontend to API)
terraform#projectTerraform project
licenseManage LICENSE files and source headers

Community

Join us on Slack in the #nx-plugin-for-aws channel to ask questions, share feedback, and connect with other users and contributors.

Contributing

Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.

Code of Conduct

This project has adopted a Code of Conduct that we expect project participants to adhere to. Please read the Code of Conduct so that you can understand what actions will and will not be tolerated.

License

@aws/nx-plugin is Apache 2.0 licensed.

Ver o original no GitHub

Bom para

Relacionados