AIを使った構築
ワークスペースに既に設定済み
Section titled “ワークスペースに既に設定済み”Nx Plugin for AWSプリセットで作成されたワークスペースには、一般的なコーディングエージェント(Claude Code、Cursor、Kiro、Gemini CLI、GitHub Copilot、OpenAI Codex)向けのプロジェクトレベルのMCP設定が含まれているため、ワークスペース内で動作するエージェントは、追加のセットアップなしでプラグインのMCPサーバーを使用できます。
ワークスペースをアシスタントで開き、必要なものを尋ねてください:
Add a React website with an AG-UI agent, an MCP server for its tools and a DynamoDB table, and wire them together.
アシスタントは、プラグインが提供するジェネレーターを検索し、依存関係が必要とする順序で実行します。そこからビジネスロジックを記入するには、エージェントを使用してください。
グローバルにインストール
Section titled “グローバルにインストール”上記のワークスペース設定は構築に十分です。AIを使用して新しいワークスペースを作成したい場合、または既存のプロジェクトにNx Plugin for AWSを追加したい場合は、グローバルにインストールできます:
Nx Plugin for AWSは、MCPサーバーとステアリングドキュメント、ワークフローガイドをバンドルしたKiro Powerとして提供されています。
-
KiroのPowersパネルを開き、Add power from GitHubをクリックします
-
以下のURLを入力します:
https://github.com/awslabs/nx-plugin-for-aws/tree/main/powers/nx-plugin-for-aws -
Installをクリックします
Kiroは自動的にMCPサーバーを設定します — 追加のセットアップは不要です。
以下のコマンドを実行します:
kiro-cli mcp add \ --name nx-plugin-for-aws \ --scope global \ --command npx \ --args "-y,@aws/nx-plugin-mcp"詳細はKiro CLI MCP docsを参照してください。
Nx Plugin for AWSは、SkillとMCPサーバーをバンドルしたClaude Code pluginとして配布されています。
Claude Code内で以下のコマンドを1つずつ実行します:
/plugin marketplace add awslabs/nx-plugin-for-aws/plugin install nx-plugin-for-aws@nx-plugin-for-awsその後、/reload-pluginsを実行してプラグインを有効化します。
~/.cursor/mcp.json(またはプロジェクト内の.cursor/mcp.json)に以下を追加します:
{ "mcpServers": { "nx-plugin-for-aws": { "command": "npx", "args": ["-y", "@aws/nx-plugin-mcp"] } }}詳細はCursor MCP docsを参照してください。
~/.codex/config.tomlに以下を追加します:
[mcp_servers.nx-plugin-for-aws]command = "npx"args = ["-y", "@aws/nx-plugin-mcp"]詳細はCodex config docsを参照してください。
ほとんどのMCP互換アシスタントはJSON設定ファイルを使用します。以下のエントリを追加します:
{ "mcpServers": { "nx-plugin-for-aws": { "command": "npx", "args": ["-y", "@aws/nx-plugin-mcp"] } }}ENOENT npxなどの問題が発生した場合は、コマンドをnpxのフルパスに置き換えてください(which npxで確認できます)。
アシスタント固有のドキュメントについては:
Vibe Codingを始める
Section titled “Vibe Codingを始める”プラグインがグローバルに利用可能になると、アシスタントはワークスペースも作成できます。次のようなプロンプトを試してみてください:
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.
または、より小さな出発点として:
Use the Nx Plugin for AWS to scaffold a React website backed by a tRPC API, with Cognito auth and CDK infrastructure.