Building with AI
Already configured in your workspace
Section titled “Already configured in your workspace”Workspaces created with the Nx Plugin for AWS preset include project-level MCP configuration for common coding agents — Claude Code, Cursor, Kiro, Gemini CLI, GitHub Copilot and OpenAI Codex — so an agent working inside the workspace can use the plugin’s MCP server with no further setup.
Open your workspace in your assistant and ask it for what you want:
Add a React website with an AG-UI agent, an MCP server for its tools and a DynamoDB table, and wire them together.
It looks up the generators the plugin offers, runs them in the order their dependencies need. Use your agent to fill in the business logic from there.
Install globally
Section titled “Install globally”The workspace configuration above is enough to build with. You can install globally if you’d like to use AI to create new workspaces, or add the Nx Plugin for AWS to an existing project:
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/main/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”With the plugin available globally, your assistant can create the workspace too. 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.