Nx Plugin for AWS
Build full-stack AWS apps in minutes
@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
Kiro
Install the Kiro Power for the best experience — no manual MCP configuration needed:
- Open the Kiro Powers panel from the sidebar
- Click
+ to add a custom power
- Paste:
https://github.com/awslabs/nx-plugin-for-aws/tree/main/powers/nx-plugin-for-aws
- 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 Code
claude mcp add nx-plugin-for-aws -- npx -y @aws/nx-plugin-mcp
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"nx-plugin-for-aws": {
"command": "npx",
"args": ["-y", "@aws/nx-plugin-mcp"]
}
}
}
Codex
Add to ~/.codex/config.toml:
[mcp_servers.nx-plugin-for-aws]
command = "npx"
args = ["-y", "@aws/nx-plugin-mcp"]
Other assistants
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 my-project
cd my-project
# Add a tRPC API
pnpm nx g @aws/nx-plugin:ts#trpc-api
# Add a Strands AI agent (Python)
pnpm nx g @aws/nx-plugin:py#strands-agent
# Add a React website
pnpm nx g @aws/nx-plugin:ts#react-website
# Add authentication to your website
pnpm nx g @aws/nx-plugin:ts#react-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