Building with AI
Install the Claude Plugin, Kiro Power, or MCP Server to enable AI assistants to work effectively with the plugin. By using these, you can accelerate your development workflow with AI while benefitting from your projects being scaffolded in a consistent fashion, spending less time on setting up the main components and benefitting from the security, observability, type-safety and local development built into the plugin.
Configure your AI Assistant
Section titled “Configure your AI Assistant”The Nx Plugin for AWS ships as a Kiro Power that bundles the MCP server with steering documentation and workflow guides.
-
Open the Powers panel in Kiro and click Add power from GitHub
-
Enter the following URL:
https://github.com/awslabs/nx-plugin-for-aws/tree/release/0.x/powers/nx-plugin-for-aws -
Click Install
Kiro automatically configures the MCP server — no additional setup required.
Run the following command:
kiro-cli mcp add \ --name nx-plugin-for-aws \ --scope global \ --command npx \ --args "-y,@aws/nx-plugin-mcp"See the Kiro CLI MCP docs for more details.
The Nx Plugin for AWS is distributed as a Claude Code plugin that bundles a Skill with the MCP server.
Run the following commands inside Claude Code, one at a time:
/plugin marketplace add awslabs/nx-plugin-for-aws/plugin install nx-plugin-for-aws@nx-plugin-for-awsThen run /reload-plugins to activate the plugin.
Add the following to ~/.cursor/mcp.json (or .cursor/mcp.json in your project):
{ "mcpServers": { "nx-plugin-for-aws": { "command": "npx", "args": ["-y", "@aws/nx-plugin-mcp"] } }}See the Cursor MCP docs for more details.
Add the following to ~/.codex/config.toml:
[mcp_servers.nx-plugin-for-aws]command = "npx"args = ["-y", "@aws/nx-plugin-mcp"]See the Codex config docs for more details.
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"] } }}If you have issues such as ENOENT npx, replace the command with the full path to npx (find it with which npx).
For assistant-specific documentation:
Start Vibe Coding
Section titled “Start Vibe Coding”Ask your AI Assistant to build something using the nx-plugin-for-aws! It will typically create a workspace, scaffold with the applicable generators, then fill in the business logic.
Try a prompt like:
“Build a multi-agent application using the Nx Plugin for AWS. I want a React frontend that talks to a backend orchestrator agent which delegates to specialised research and writing agents.”
Or for a smaller starting point:
“Use the Nx Plugin for AWS to scaffold a React website backed by a tRPC API, with Cognito auth and CDK infrastructure.”
Build your own MCP Server
Section titled “Build your own MCP Server”Check out the ts#mcp-server generator guide for details about building your own MCP Server.