@aws/nx-plugin-mcp 1.0.0-rc.23 → 1.0.0-rc.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/bin/aws-nx-mcp.js +662 -555
  2. package/docs/guides/agentcore-gateway.mdx +4 -4
  3. package/docs/guides/connection/agentcore-gateway-gateway.mdx +4 -4
  4. package/docs/guides/connection/agentcore-gateway-mcp.mdx +5 -5
  5. package/docs/guides/connection/py-agent-a2a.mdx +5 -5
  6. package/docs/guides/connection/py-agent-dynamodb.mdx +1 -1
  7. package/docs/guides/connection/py-agent-gateway.mdx +7 -7
  8. package/docs/guides/connection/py-agent-mcp.mdx +4 -4
  9. package/docs/guides/connection/py-fast-api-dynamodb.mdx +1 -1
  10. package/docs/guides/connection/py-mcp-server-dynamodb.mdx +1 -1
  11. package/docs/guides/connection/react-agui.mdx +4 -4
  12. package/docs/guides/connection/react-fastapi.mdx +2 -2
  13. package/docs/guides/connection/react-py-agent.mdx +3 -3
  14. package/docs/guides/connection/react-smithy.mdx +2 -2
  15. package/docs/guides/connection/react-ts-agent.mdx +5 -5
  16. package/docs/guides/connection/smithy-dynamodb.mdx +1 -1
  17. package/docs/guides/connection/smithy-rdb.mdx +3 -3
  18. package/docs/guides/connection/trpc-dynamodb.mdx +1 -1
  19. package/docs/guides/connection/trpc-rdb.mdx +3 -3
  20. package/docs/guides/connection/ts-agent-a2a.mdx +5 -5
  21. package/docs/guides/connection/ts-agent-dynamodb.mdx +1 -1
  22. package/docs/guides/connection/ts-agent-gateway.mdx +6 -6
  23. package/docs/guides/connection/ts-agent-mcp.mdx +4 -4
  24. package/docs/guides/connection/ts-agent-rdb.mdx +3 -3
  25. package/docs/guides/connection/ts-mcp-server-dynamodb.mdx +1 -1
  26. package/docs/guides/connection/ts-mcp-server-rdb.mdx +3 -3
  27. package/docs/guides/connection.mdx +1 -1
  28. package/docs/guides/fastapi.mdx +6 -0
  29. package/docs/guides/local-development.mdx +20 -9
  30. package/docs/guides/nx-generator.mdx +2 -2
  31. package/docs/guides/py-agent.mdx +9 -5
  32. package/docs/guides/py-dynamodb.mdx +4 -4
  33. package/docs/guides/py-mcp-server.mdx +11 -1
  34. package/docs/guides/react-website-auth.mdx +43 -1
  35. package/docs/guides/react-website.mdx +22 -14
  36. package/docs/guides/trpc.mdx +6 -0
  37. package/docs/guides/ts-agent.mdx +9 -5
  38. package/docs/guides/ts-dynamodb.mdx +4 -4
  39. package/docs/guides/ts-mcp-server.mdx +11 -1
  40. package/docs/guides/ts-rdb.mdx +5 -4
  41. package/docs/guides/ts-smithy-api.mdx +4 -0
  42. package/docs/guides/typescript-infrastructure.mdx +9 -1
  43. package/docs/snippets/api/access-logging.mdx +33 -0
  44. package/docs/snippets/connection/dynamodb-local-development.mdx +2 -2
  45. package/docs/snippets/connection/py-dynamodb-local-development.mdx +2 -2
  46. package/docs/snippets/dynamodb/gsi-config.mdx +1 -1
  47. package/docs/snippets/dynamodb/local-dev-start.mdx +13 -0
  48. package/docs/snippets/dynamodb/local-dev-windows.mdx +15 -0
  49. package/docs/snippets/mcp/config.mdx +3 -2
  50. package/package.json +1 -1
  51. package/src/agentcore-gateway/gateway-connection/schema.json +5 -0
  52. package/src/agentcore-gateway/mcp-connection/schema.json +5 -0
  53. package/src/agentcore-gateway/schema.json +5 -0
  54. package/src/connection/schema.json +5 -0
  55. package/src/infra/app/schema.json +5 -0
  56. package/src/license/schema.json +5 -0
  57. package/src/preset/schema.json +5 -5
  58. package/src/py/agent/a2a-connection/schema.json +5 -0
  59. package/src/py/agent/gateway-connection/schema.json +5 -0
  60. package/src/py/agent/mcp-connection/schema.json +5 -0
  61. package/src/py/agent/react-connection/schema.json +5 -0
  62. package/src/py/agent/schema.json +5 -0
  63. package/src/py/api/schema.json +5 -0
  64. package/src/py/dynamodb/agent-connection/schema.json +5 -0
  65. package/src/py/dynamodb/fast-api-connection/schema.json +5 -0
  66. package/src/py/dynamodb/mcp-server-connection/schema.json +5 -0
  67. package/src/py/dynamodb/schema.json +5 -0
  68. package/src/py/fast-api/react/schema.json +5 -0
  69. package/src/py/fast-api/schema.json +5 -0
  70. package/src/py/lambda-function/schema.json +5 -0
  71. package/src/py/mcp-server/schema.json +5 -0
  72. package/src/py/project/schema.json +5 -0
  73. package/src/smithy/project/schema.json +5 -0
  74. package/src/smithy/react-connection/schema.json +5 -0
  75. package/src/smithy/ts/api/schema.json +5 -0
  76. package/src/terraform/project/schema.json +5 -0
  77. package/src/trpc/backend/schema.json +5 -0
  78. package/src/trpc/react/schema.json +5 -0
  79. package/src/ts/agent/a2a-connection/schema.json +5 -0
  80. package/src/ts/agent/gateway-connection/schema.json +5 -0
  81. package/src/ts/agent/mcp-connection/schema.json +5 -0
  82. package/src/ts/agent/react-connection/schema.json +5 -0
  83. package/src/ts/agent/schema.json +5 -0
  84. package/src/ts/api/schema.json +5 -0
  85. package/src/ts/astro-docs/schema.json +3 -3
  86. package/src/ts/docs/schema.json +3 -3
  87. package/src/ts/dynamodb/agent-connection/schema.json +5 -0
  88. package/src/ts/dynamodb/mcp-server-connection/schema.json +5 -0
  89. package/src/ts/dynamodb/schema.json +5 -0
  90. package/src/ts/dynamodb/smithy-connection/schema.json +5 -0
  91. package/src/ts/dynamodb/trpc-connection/schema.json +5 -0
  92. package/src/ts/lambda-function/schema.json +5 -0
  93. package/src/ts/lib/schema.json +5 -0
  94. package/src/ts/mcp-server/schema.json +5 -0
  95. package/src/ts/nx-generator/schema.json +5 -0
  96. package/src/ts/nx-plugin/schema.json +5 -0
  97. package/src/ts/rdb/agent-connection/schema.json +5 -0
  98. package/src/ts/rdb/mcp-server-connection/schema.json +5 -0
  99. package/src/ts/rdb/schema.json +5 -0
  100. package/src/ts/rdb/smithy-connection/schema.json +5 -0
  101. package/src/ts/rdb/trpc-connection/schema.json +5 -0
  102. package/src/ts/react-website/app/schema.json +11 -6
  103. package/src/ts/react-website/cognito-auth/schema.json +5 -0
  104. package/src/ts/react-website/runtime-config/schema.json +5 -0
  105. package/src/ts/website/app/schema.json +11 -6
  106. package/src/ts/website/auth/schema.json +5 -0
  107. package/docs/snippets/dynamodb/serve-local-start.mdx +0 -13
  108. package/docs/snippets/dynamodb/serve-local-windows.mdx +0 -15
@@ -16,6 +16,11 @@
16
16
  "sourceComponent": {
17
17
  "type": "string",
18
18
  "description": "The MCP server component name"
19
+ },
20
+ "preferInstallDependencies": {
21
+ "type": "boolean",
22
+ "description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
23
+ "default": true
19
24
  }
20
25
  },
21
26
  "required": ["sourceProject", "targetProject"]
@@ -67,6 +67,11 @@
67
67
  "x-priority": "important",
68
68
  "default": "inherit",
69
69
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
70
+ },
71
+ "preferInstallDependencies": {
72
+ "type": "boolean",
73
+ "description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
74
+ "default": true
70
75
  }
71
76
  },
72
77
  "required": ["name", "infra", "engine", "framework"]
@@ -12,6 +12,11 @@
12
12
  "targetProject": {
13
13
  "type": "string",
14
14
  "description": "The ts#rdb project to connect to"
15
+ },
16
+ "preferInstallDependencies": {
17
+ "type": "boolean",
18
+ "description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
19
+ "default": true
15
20
  }
16
21
  },
17
22
  "required": ["sourceProject", "targetProject"]
@@ -12,6 +12,11 @@
12
12
  "targetProject": {
13
13
  "type": "string",
14
14
  "description": "The ts#rdb project to connect to"
15
+ },
16
+ "preferInstallDependencies": {
17
+ "type": "boolean",
18
+ "description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
19
+ "default": true
15
20
  }
16
21
  },
17
22
  "required": ["sourceProject", "targetProject"]
@@ -40,7 +40,7 @@
40
40
  "description": "The preferred UX provider.",
41
41
  "enum": ["none", "cloudscape", "shadcn"],
42
42
  "x-priority": "important",
43
- "default": "cloudscape",
43
+ "default": "shadcn",
44
44
  "x-prompt": {
45
45
  "message": "Which UX provider should we scaffold for this app?",
46
46
  "type": "list",
@@ -49,16 +49,16 @@
49
49
  "value": "none",
50
50
  "label": "None (plain React/Vite without a UI kit)"
51
51
  },
52
- {
53
- "value": "cloudscape",
54
- "label": "Cloudscape (AWS-first components with ready-made layouts)"
55
- },
56
52
  {
57
53
  "value": "shadcn",
58
54
  "label": "Shadcn (shared UI library under packages/common/shadcn)"
55
+ },
56
+ {
57
+ "value": "cloudscape",
58
+ "label": "Cloudscape (AWS-first components with ready-made layouts)"
59
59
  }
60
60
  ],
61
- "default": "cloudscape"
61
+ "default": "shadcn"
62
62
  }
63
63
  },
64
64
  "tailwind": {
@@ -82,6 +82,11 @@
82
82
  "x-priority": "important",
83
83
  "default": "inherit",
84
84
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
85
+ },
86
+ "preferInstallDependencies": {
87
+ "type": "boolean",
88
+ "description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
89
+ "default": true
85
90
  }
86
91
  },
87
92
  "required": ["name"],
@@ -44,6 +44,11 @@
44
44
  "x-priority": "important",
45
45
  "default": "inherit",
46
46
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
47
+ },
48
+ "preferInstallDependencies": {
49
+ "type": "boolean",
50
+ "description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
51
+ "default": true
47
52
  }
48
53
  },
49
54
  "required": ["project"]
@@ -13,6 +13,11 @@
13
13
  "x-priority": "important",
14
14
  "x-prompt": "the project to target",
15
15
  "x-dropdown": "projects"
16
+ },
17
+ "preferInstallDependencies": {
18
+ "type": "boolean",
19
+ "description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
20
+ "default": true
16
21
  }
17
22
  },
18
23
  "required": ["project"]
@@ -48,7 +48,7 @@
48
48
  "description": "The preferred UX provider.",
49
49
  "enum": ["none", "cloudscape", "shadcn"],
50
50
  "x-priority": "important",
51
- "default": "cloudscape",
51
+ "default": "shadcn",
52
52
  "x-prompt": {
53
53
  "message": "Which UX provider should we scaffold for this app?",
54
54
  "type": "list",
@@ -57,16 +57,16 @@
57
57
  "value": "none",
58
58
  "label": "None (plain React/Vite without a UI kit)"
59
59
  },
60
- {
61
- "value": "cloudscape",
62
- "label": "Cloudscape (AWS-first components with ready-made layouts)"
63
- },
64
60
  {
65
61
  "value": "shadcn",
66
62
  "label": "Shadcn (shared UI library under packages/common/shadcn)"
63
+ },
64
+ {
65
+ "value": "cloudscape",
66
+ "label": "Cloudscape (AWS-first components with ready-made layouts)"
67
67
  }
68
68
  ],
69
- "default": "cloudscape"
69
+ "default": "shadcn"
70
70
  }
71
71
  },
72
72
  "tailwind": {
@@ -98,6 +98,11 @@
98
98
  "x-priority": "important",
99
99
  "default": "inherit",
100
100
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
101
+ },
102
+ "preferInstallDependencies": {
103
+ "type": "boolean",
104
+ "description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
105
+ "default": true
101
106
  }
102
107
  },
103
108
  "required": ["name"],
@@ -40,6 +40,11 @@
40
40
  "x-priority": "important",
41
41
  "default": "inherit",
42
42
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
43
+ },
44
+ "preferInstallDependencies": {
45
+ "type": "boolean",
46
+ "description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
47
+ "default": true
43
48
  }
44
49
  },
45
50
  "required": ["project"]
@@ -1,13 +0,0 @@
1
- ---
2
- title: Starting Local DynamoDB
3
- ---
4
- import NxCommands from '@components/nx-commands.astro';
5
-
6
- The generator configures a `serve-local` target that starts a [DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html) instance and creates the table:
7
-
8
- <NxCommands commands={['run <project-name>:serve-local']} />
9
-
10
- This automatically:
11
- 1. Pulls the DynamoDB Local image (`pull-image` target)
12
- 2. Starts a container
13
- 3. Creates a local table with the indexes defined in `config.json`
@@ -1,15 +0,0 @@
1
- ---
2
- title: Serve Local Windows Caution
3
- ---
4
-
5
- Stopping `serve-local` (e.g. with `Ctrl+C`) automatically removes the DynamoDB Local container, but preserves the named volume so your data persists across restarts.
6
-
7
- :::caution[Windows]
8
- Due to limitations with signal handling on Windows, the container is not automatically removed when `serve-local` is stopped. You will need to remove it manually:
9
-
10
- ```bash
11
- <engine> rm -f <scope>-dynamodb
12
- ```
13
-
14
- Replace `<engine>` with your container engine (`docker` or `finch`) and `<scope>` with your Nx workspace scope (e.g. `proj`).
15
- :::