@aws/nx-plugin-mcp 0.121.0 → 1.0.0-rc.1

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 (60) hide show
  1. package/bin/aws-nx-mcp.js +63 -18
  2. package/docs/guides/astro-docs.mdx +5 -3
  3. package/docs/guides/connection/py-agent-a2a.mdx +1 -1
  4. package/docs/guides/connection/py-agent-mcp.mdx +1 -1
  5. package/docs/guides/connection/react-agui.mdx +3 -3
  6. package/docs/guides/connection/react-fastapi.mdx +1 -1
  7. package/docs/guides/connection/react-py-agent.mdx +3 -3
  8. package/docs/guides/connection/react-smithy.mdx +1 -1
  9. package/docs/guides/connection/react-trpc.mdx +2 -2
  10. package/docs/guides/connection/react-ts-agent.mdx +3 -3
  11. package/docs/guides/connection/ts-agent-a2a.mdx +1 -1
  12. package/docs/guides/connection/ts-agent-mcp.mdx +1 -1
  13. package/docs/guides/docs.mdx +21 -0
  14. package/docs/guides/fastapi.mdx +11 -9
  15. package/docs/guides/py-agent.mdx +18 -18
  16. package/docs/guides/py-api.mdx +22 -0
  17. package/docs/guides/py-mcp-server.mdx +5 -5
  18. package/docs/guides/python-lambda-function.mdx +4 -4
  19. package/docs/guides/react-website-auth.mdx +3 -3
  20. package/docs/guides/react-website.mdx +8 -5
  21. package/docs/guides/trpc.mdx +18 -16
  22. package/docs/guides/ts-agent.mdx +18 -18
  23. package/docs/guides/ts-api.mdx +28 -0
  24. package/docs/guides/ts-lambda-function.mdx +4 -4
  25. package/docs/guides/ts-mcp-server.mdx +5 -5
  26. package/docs/guides/ts-rdb.mdx +3 -3
  27. package/docs/guides/ts-smithy-api.mdx +8 -6
  28. package/docs/guides/website.mdx +21 -0
  29. package/docs/guides/workspace.mdx +2 -2
  30. package/docs/snippets/agent/architecture.mdx +4 -4
  31. package/docs/snippets/agent/bedrock-deployment.mdx +2 -2
  32. package/docs/snippets/api/api-architecture.mdx +2 -2
  33. package/docs/snippets/api/cors-configuration-cdk-note.mdx +1 -1
  34. package/docs/snippets/api/cors-configuration-terraform-note.mdx +1 -1
  35. package/docs/snippets/api/type-safe-api-integrations.mdx +2 -2
  36. package/docs/snippets/lambda-function/deploying-your-function.mdx +2 -2
  37. package/docs/snippets/mcp/architecture.mdx +4 -4
  38. package/docs/snippets/mcp/bedrock-deployment.mdx +2 -2
  39. package/generators.json +47 -6
  40. package/package.json +1 -1
  41. package/src/infra/app/schema.json +1 -1
  42. package/src/preset/schema.json +4 -4
  43. package/src/py/agent/schema.json +18 -18
  44. package/src/py/api/schema.json +100 -0
  45. package/src/py/fast-api/schema.json +15 -15
  46. package/src/py/lambda-function/schema.json +7 -7
  47. package/src/py/mcp-server/schema.json +15 -15
  48. package/src/py/project/schema.json +2 -2
  49. package/src/smithy/ts/api/schema.json +15 -15
  50. package/src/trpc/backend/schema.json +15 -15
  51. package/src/ts/agent/schema.json +18 -18
  52. package/src/ts/api/schema.json +105 -0
  53. package/src/ts/docs/schema.json +70 -0
  54. package/src/ts/lambda-function/schema.json +7 -7
  55. package/src/ts/mcp-server/schema.json +15 -15
  56. package/src/ts/rdb/schema.json +13 -13
  57. package/src/ts/react-website/app/schema.json +13 -13
  58. package/src/ts/react-website/cognito-auth/schema.json +4 -4
  59. package/src/ts/website/app/schema.json +97 -0
  60. package/src/ts/website/auth/schema.json +46 -0
@@ -15,14 +15,6 @@
15
15
  "x-prompt": "Select the Python project to add the MCP server to",
16
16
  "x-dropdown": "projects"
17
17
  },
18
- "computeType": {
19
- "type": "string",
20
- "description": "The type of compute to host your MCP server. Select None for no hosting.",
21
- "x-prompt": "How would you like to host your MCP server?",
22
- "enum": ["BedrockAgentCoreRuntime", "None"],
23
- "default": "BedrockAgentCoreRuntime",
24
- "x-priority": "important"
25
- },
26
18
  "name": {
27
19
  "type": "string",
28
20
  "description": "The name of your MCP server (default: mcp-server)",
@@ -30,19 +22,27 @@
30
22
  },
31
23
  "auth": {
32
24
  "type": "string",
33
- "description": "The method used to authenticate with your MCP server. Only applicable when computeType is set (ignored when computeType is None).",
34
- "default": "IAM",
35
- "enum": ["IAM", "Cognito"],
25
+ "description": "The method used to authenticate with your MCP server. Only applicable when infra is set (ignored when infra is none).",
26
+ "default": "iam",
27
+ "enum": ["iam", "cognito"],
36
28
  "x-prompt": "How would you like to authenticate with your MCP server?",
37
29
  "x-priority": "important"
38
30
  },
39
- "iacProvider": {
31
+ "iac": {
40
32
  "type": "string",
41
33
  "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
42
- "enum": ["Inherit", "CDK", "Terraform"],
34
+ "enum": ["inherit", "cdk", "terraform"],
43
35
  "x-priority": "important",
44
- "default": "Inherit",
45
- "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
36
+ "default": "inherit",
37
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
38
+ },
39
+ "infra": {
40
+ "type": "string",
41
+ "description": "The type of infrastructure to host your MCP server. Select none for no hosting.",
42
+ "x-prompt": "How would you like to host your MCP server?",
43
+ "enum": ["agentcore", "none"],
44
+ "default": "agentcore",
45
+ "x-priority": "important"
46
46
  }
47
47
  },
48
48
  "required": ["project"]
@@ -27,7 +27,7 @@
27
27
  "description": "The sub directory the project is placed in. By default this is the project name.",
28
28
  "x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
29
29
  },
30
- "projectType": {
30
+ "type": {
31
31
  "type": "string",
32
32
  "description": "Whether the project is an application or library",
33
33
  "default": "application",
@@ -38,5 +38,5 @@
38
38
  "description": "Python module name"
39
39
  }
40
40
  },
41
- "required": ["name", "projectType"]
41
+ "required": ["name", "type"]
42
42
  }
@@ -19,14 +19,6 @@
19
19
  "description": "The namespace for the Smithy API. Defaults to your monorepo scope",
20
20
  "x-prompt": "What namespace would you like your API to have? i.e: com.example"
21
21
  },
22
- "computeType": {
23
- "type": "string",
24
- "description": "The type of compute to use to deploy this API.",
25
- "default": "ServerlessApiGatewayRestApi",
26
- "enum": ["ServerlessApiGatewayRestApi"],
27
- "x-prompt": "What compute type would you like to deploy your API with?",
28
- "x-priority": "internal"
29
- },
30
22
  "integrationPattern": {
31
23
  "type": "string",
32
24
  "description": "How API Gateway integrations are generated for the API. Choose between isolated (default) and shared.",
@@ -51,9 +43,9 @@
51
43
  },
52
44
  "auth": {
53
45
  "type": "string",
54
- "description": "The method used to authenticate with your API. Choose between IAM (default), Cognito or Custom.",
55
- "default": "IAM",
56
- "enum": ["IAM", "Cognito", "Custom"],
46
+ "description": "The method used to authenticate with your API. Choose between iam (default), cognito or custom.",
47
+ "default": "iam",
48
+ "enum": ["iam", "cognito", "custom"],
57
49
  "x-prompt": "How would you like users to authenticate with your API?",
58
50
  "x-priority": "important"
59
51
  },
@@ -70,13 +62,21 @@
70
62
  "description": "The sub directory the project is placed in. By default this is the project name.",
71
63
  "x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
72
64
  },
73
- "iacProvider": {
65
+ "iac": {
74
66
  "type": "string",
75
67
  "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
76
- "enum": ["Inherit", "CDK", "Terraform"],
68
+ "enum": ["inherit", "cdk", "terraform"],
77
69
  "x-priority": "important",
78
- "default": "Inherit",
79
- "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
70
+ "default": "inherit",
71
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
72
+ },
73
+ "infra": {
74
+ "type": "string",
75
+ "description": "The type of infrastructure to use to deploy this API.",
76
+ "default": "rest-lambda",
77
+ "enum": ["rest-lambda"],
78
+ "x-prompt": "What infrastructure would you like to deploy your API with?",
79
+ "x-priority": "internal"
80
80
  }
81
81
  },
82
82
  "required": ["name"]
@@ -13,14 +13,6 @@
13
13
  },
14
14
  "x-prompt": "What name would you like your API to have? i.e: MyApi"
15
15
  },
16
- "computeType": {
17
- "type": "string",
18
- "description": "The type of compute to use to deploy this API. Choose between ServerlessApiGatewayRestApi (default) or ServerlessApiGatewayHttpApi.",
19
- "default": "ServerlessApiGatewayRestApi",
20
- "enum": ["ServerlessApiGatewayRestApi", "ServerlessApiGatewayHttpApi"],
21
- "x-prompt": "What compute type would you like to deploy your API with?",
22
- "x-priority": "important"
23
- },
24
16
  "integrationPattern": {
25
17
  "type": "string",
26
18
  "description": "How API Gateway integrations are generated for the API. Choose between isolated (default) and shared.",
@@ -45,9 +37,9 @@
45
37
  },
46
38
  "auth": {
47
39
  "type": "string",
48
- "description": "The method used to authenticate with your API. Choose between IAM (default), Cognito or Custom.",
49
- "default": "IAM",
50
- "enum": ["IAM", "Cognito", "Custom"],
40
+ "description": "The method used to authenticate with your API. Choose between iam (default), cognito or custom.",
41
+ "default": "iam",
42
+ "enum": ["iam", "cognito", "custom"],
51
43
  "x-prompt": "How would you like users to authenticate with your API?",
52
44
  "x-priority": "important"
53
45
  },
@@ -64,13 +56,21 @@
64
56
  "description": "The sub directory the project is placed in. By default this is the project name.",
65
57
  "x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
66
58
  },
67
- "iacProvider": {
59
+ "iac": {
68
60
  "type": "string",
69
61
  "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
70
- "enum": ["Inherit", "CDK", "Terraform"],
62
+ "enum": ["inherit", "cdk", "terraform"],
71
63
  "x-priority": "important",
72
- "default": "Inherit",
73
- "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
64
+ "default": "inherit",
65
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
66
+ },
67
+ "infra": {
68
+ "type": "string",
69
+ "description": "The type of infrastructure to use to deploy this API. Choose between rest-lambda (default) or http-lambda.",
70
+ "default": "rest-lambda",
71
+ "enum": ["rest-lambda", "http-lambda"],
72
+ "x-prompt": "What infrastructure would you like to deploy your API with?",
73
+ "x-priority": "important"
74
74
  }
75
75
  },
76
76
  "required": ["name"]
@@ -15,7 +15,7 @@
15
15
  "x-prompt": "Select the TypeScript project to add the Agent to",
16
16
  "x-dropdown": "projects"
17
17
  },
18
- "sdk": {
18
+ "framework": {
19
19
  "type": "string",
20
20
  "description": "The agent SDK to use.",
21
21
  "x-prompt": "Which agent SDK would you like to use?",
@@ -23,14 +23,6 @@
23
23
  "default": "strands",
24
24
  "x-priority": "important"
25
25
  },
26
- "computeType": {
27
- "type": "string",
28
- "description": "The type of compute to host your Agent.",
29
- "x-prompt": "How would you like to host your Agent server?",
30
- "enum": ["BedrockAgentCoreRuntime", "None"],
31
- "default": "BedrockAgentCoreRuntime",
32
- "x-priority": "important"
33
- },
34
26
  "name": {
35
27
  "type": "string",
36
28
  "description": "The name of your Agent (default: agent)",
@@ -38,9 +30,9 @@
38
30
  },
39
31
  "auth": {
40
32
  "type": "string",
41
- "description": "The method used to authenticate with your Agent. Only applicable when computeType is set (ignored when computeType is None).",
42
- "default": "IAM",
43
- "enum": ["IAM", "Cognito"],
33
+ "description": "The method used to authenticate with your Agent. Only applicable when infra is set (ignored when infra is none).",
34
+ "default": "iam",
35
+ "enum": ["iam", "cognito"],
44
36
  "x-prompt": "How would you like to authenticate with your Agent?",
45
37
  "x-priority": "important"
46
38
  },
@@ -48,17 +40,25 @@
48
40
  "type": "string",
49
41
  "description": "The server protocol for your Agent. HTTP exposes a tRPC/WebSocket server. A2A exposes an Agent-to-Agent protocol server. AG-UI exposes an AG-UI protocol server for direct frontend integration with CopilotKit.",
50
42
  "x-prompt": "Which protocol would you like to use for your Agent?",
51
- "enum": ["HTTP", "A2A", "AG-UI"],
52
- "default": "HTTP",
43
+ "enum": ["http", "a2a", "ag-ui"],
44
+ "default": "http",
53
45
  "x-priority": "important"
54
46
  },
55
- "iacProvider": {
47
+ "iac": {
56
48
  "type": "string",
57
49
  "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
58
- "enum": ["Inherit", "CDK", "Terraform"],
50
+ "enum": ["inherit", "cdk", "terraform"],
59
51
  "x-priority": "important",
60
- "default": "Inherit",
61
- "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
52
+ "default": "inherit",
53
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
54
+ },
55
+ "infra": {
56
+ "type": "string",
57
+ "description": "The type of infrastructure to host your Agent.",
58
+ "x-prompt": "How would you like to host your Agent server?",
59
+ "enum": ["agentcore", "none"],
60
+ "default": "agentcore",
61
+ "x-priority": "important"
62
62
  }
63
63
  },
64
64
  "required": ["project"]
@@ -0,0 +1,105 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "ts#api",
4
+ "title": "ts#api",
5
+ "description": "Create a TypeScript API",
6
+ "type": "object",
7
+ "properties": {
8
+ "name": {
9
+ "type": "string",
10
+ "description": "The name of the API (required). Used to generate class names and file paths.",
11
+ "$default": {
12
+ "$source": "argv",
13
+ "index": 0
14
+ },
15
+ "x-prompt": "What name would you like your API to have? i.e: MyApi"
16
+ },
17
+ "framework": {
18
+ "type": "string",
19
+ "description": "The API framework to use.",
20
+ "default": "trpc",
21
+ "enum": ["trpc", "smithy"],
22
+ "x-prompt": {
23
+ "message": "Which API framework would you like to use?",
24
+ "type": "list",
25
+ "items": [
26
+ {
27
+ "value": "trpc",
28
+ "label": "tRPC (end-to-end type-safe APIs with TypeScript)"
29
+ },
30
+ {
31
+ "value": "smithy",
32
+ "label": "Smithy (model-driven API development)"
33
+ }
34
+ ],
35
+ "default": "trpc"
36
+ },
37
+ "x-priority": "important"
38
+ },
39
+ "namespace": {
40
+ "type": "string",
41
+ "description": "The namespace for the Smithy API (only applicable for the smithy framework). Defaults to your monorepo scope",
42
+ "x-prompt": "What namespace would you like your API to have? i.e: com.example"
43
+ },
44
+ "integrationPattern": {
45
+ "type": "string",
46
+ "description": "How API Gateway integrations are generated for the API. Choose between isolated (default) and shared.",
47
+ "default": "isolated",
48
+ "enum": ["isolated", "shared"],
49
+ "x-priority": "important",
50
+ "x-prompt": {
51
+ "message": "How would you like to map integrations to your API operations?",
52
+ "type": "list",
53
+ "items": [
54
+ {
55
+ "value": "isolated",
56
+ "label": "isolated (one integration per operation)"
57
+ },
58
+ {
59
+ "value": "shared",
60
+ "label": "shared (single default integration with optional overrides)"
61
+ }
62
+ ],
63
+ "default": "isolated"
64
+ }
65
+ },
66
+ "auth": {
67
+ "type": "string",
68
+ "description": "The method used to authenticate with your API. Choose between iam (default), cognito or custom.",
69
+ "default": "iam",
70
+ "enum": ["iam", "cognito", "custom"],
71
+ "x-prompt": "How would you like users to authenticate with your API?",
72
+ "x-priority": "important"
73
+ },
74
+ "directory": {
75
+ "description": "The directory to store the application in.",
76
+ "type": "string",
77
+ "alias": "dir",
78
+ "x-priority": "important",
79
+ "default": "packages",
80
+ "x-prompt": "What directory would you like to store your application in?"
81
+ },
82
+ "subDirectory": {
83
+ "type": "string",
84
+ "description": "The sub directory the project is placed in. By default this is the project name.",
85
+ "x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
86
+ },
87
+ "iac": {
88
+ "type": "string",
89
+ "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
90
+ "enum": ["inherit", "cdk", "terraform"],
91
+ "x-priority": "important",
92
+ "default": "inherit",
93
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
94
+ },
95
+ "infra": {
96
+ "type": "string",
97
+ "description": "The type of infrastructure to use to deploy this API.",
98
+ "default": "rest-lambda",
99
+ "enum": ["rest-lambda", "http-lambda"],
100
+ "x-prompt": "What infrastructure would you like to deploy your API with?",
101
+ "x-priority": "important"
102
+ }
103
+ },
104
+ "required": ["name"]
105
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "cli": "nx",
4
+ "$id": "ts#docs",
5
+ "title": "Create a documentation site",
6
+ "description": "Generates a documentation site. Use the `framework` option to select the underlying docs framework.",
7
+ "examples": [
8
+ {
9
+ "command": "nx g ts#docs",
10
+ "description": "Generate a docs site using Astro (default framework)"
11
+ },
12
+ {
13
+ "command": "nx g ts#docs --framework=astro --noTranslation",
14
+ "description": "Generate an Astro docs site without the automated translation pipeline"
15
+ }
16
+ ],
17
+ "type": "object",
18
+ "properties": {
19
+ "name": {
20
+ "description": "The name of the docs project.",
21
+ "type": "string",
22
+ "default": "docs",
23
+ "$default": {
24
+ "$source": "argv",
25
+ "index": 0
26
+ },
27
+ "x-prompt": "What name would you like to use for the docs project?",
28
+ "pattern": "^[a-zA-Z][^:]*$"
29
+ },
30
+ "directory": {
31
+ "description": "The parent directory the docs project is placed in.",
32
+ "type": "string",
33
+ "alias": "dir",
34
+ "x-priority": "important",
35
+ "default": ".",
36
+ "x-prompt": "Which parent directory would you like to place the docs project in?"
37
+ },
38
+ "subDirectory": {
39
+ "type": "string",
40
+ "description": "The sub directory the docs project is placed in. Defaults to the kebab-case project name.",
41
+ "x-prompt": "Which sub directory should the docs project be created in? (default: kebab-case of the name)"
42
+ },
43
+ "framework": {
44
+ "description": "The documentation framework to use.",
45
+ "type": "string",
46
+ "enum": ["astro"],
47
+ "default": "astro",
48
+ "x-priority": "important",
49
+ "x-prompt": "Which documentation framework would you like to use?"
50
+ },
51
+ "noTranslation": {
52
+ "description": "Opt out of the automated documentation translation pipeline (Strands Agent on Amazon Bedrock + a `translate` project target).",
53
+ "type": "boolean",
54
+ "default": false,
55
+ "x-prompt": "Would you like to opt out of automated documentation translation?"
56
+ },
57
+ "noBlog": {
58
+ "description": "Opt out of the `starlight-blog` plugin and the sample blog post.",
59
+ "type": "boolean",
60
+ "default": false,
61
+ "x-prompt": "Would you like to opt out of the blog?"
62
+ },
63
+ "skipInstall": {
64
+ "description": "Skip installing dependencies after the generator runs.",
65
+ "type": "boolean",
66
+ "default": false
67
+ }
68
+ },
69
+ "required": ["name"]
70
+ }
@@ -11,7 +11,7 @@
11
11
  "x-prompt": "Select the project to add the lambda function to",
12
12
  "x-dropdown": "projects"
13
13
  },
14
- "functionName": {
14
+ "name": {
15
15
  "type": "string",
16
16
  "description": "The name of the function to add",
17
17
  "$default": {
@@ -26,7 +26,7 @@
26
26
  "description": "Optional subdirectory within the project source directory to add the function to",
27
27
  "x-prompt": "Enter the path within the project source directory to add the function to (e.g. 'lambda-functions/')"
28
28
  },
29
- "eventSource": {
29
+ "event": {
30
30
  "type": "string",
31
31
  "description": "Optional event source schema to use for the lambda function",
32
32
  "x-priority": "important",
@@ -77,14 +77,14 @@
77
77
  "default": "Any",
78
78
  "x-prompt": "Enter the event source schema to use for the lambda function"
79
79
  },
80
- "iacProvider": {
80
+ "iac": {
81
81
  "type": "string",
82
82
  "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
83
- "enum": ["Inherit", "CDK", "Terraform"],
83
+ "enum": ["inherit", "cdk", "terraform"],
84
84
  "x-priority": "important",
85
- "default": "Inherit",
86
- "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
85
+ "default": "inherit",
86
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
87
87
  }
88
88
  },
89
- "required": ["project", "functionName"]
89
+ "required": ["project", "name"]
90
90
  }
@@ -15,14 +15,6 @@
15
15
  "x-prompt": "Select the TypeScript project to add the MCP server to",
16
16
  "x-dropdown": "projects"
17
17
  },
18
- "computeType": {
19
- "type": "string",
20
- "description": "The type of compute to host your MCP server. Select None for no hosting.",
21
- "x-prompt": "How would you like to host your MCP server?",
22
- "enum": ["BedrockAgentCoreRuntime", "None"],
23
- "default": "BedrockAgentCoreRuntime",
24
- "x-priority": "important"
25
- },
26
18
  "name": {
27
19
  "type": "string",
28
20
  "description": "The name of your MCP server (default: mcp-server)",
@@ -30,19 +22,27 @@
30
22
  },
31
23
  "auth": {
32
24
  "type": "string",
33
- "description": "The method used to authenticate with your MCP server. Only applicable when computeType is set (ignored when computeType is None).",
34
- "default": "IAM",
35
- "enum": ["IAM", "Cognito"],
25
+ "description": "The method used to authenticate with your MCP server. Only applicable when infra is set (ignored when infra is none).",
26
+ "default": "iam",
27
+ "enum": ["iam", "cognito"],
36
28
  "x-prompt": "How would you like to authenticate with your MCP server?",
37
29
  "x-priority": "important"
38
30
  },
39
- "iacProvider": {
31
+ "iac": {
40
32
  "type": "string",
41
33
  "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
42
- "enum": ["Inherit", "CDK", "Terraform"],
34
+ "enum": ["inherit", "cdk", "terraform"],
43
35
  "x-priority": "important",
44
- "default": "Inherit",
45
- "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
36
+ "default": "inherit",
37
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
38
+ },
39
+ "infra": {
40
+ "type": "string",
41
+ "description": "The type of infrastructure to host your MCP server. Select none for no hosting.",
42
+ "x-prompt": "How would you like to host your MCP server?",
43
+ "enum": ["agentcore", "none"],
44
+ "default": "agentcore",
45
+ "x-priority": "important"
46
46
  }
47
47
  },
48
48
  "required": ["project"]
@@ -27,18 +27,18 @@
27
27
  "description": "The sub directory the project is placed in. By default this is the project name.",
28
28
  "x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
29
29
  },
30
- "service": {
30
+ "infra": {
31
31
  "type": "string",
32
- "enum": ["Aurora"],
33
- "default": "Aurora",
32
+ "enum": ["aurora"],
33
+ "default": "aurora",
34
34
  "description": "Relational database service to provision.",
35
35
  "x-priority": "important",
36
36
  "x-prompt": "Which database service would you like to use?"
37
37
  },
38
38
  "engine": {
39
39
  "type": "string",
40
- "enum": ["PostgreSQL", "MySQL"],
41
- "default": "PostgreSQL",
40
+ "enum": ["postgres", "mysql"],
41
+ "default": "postgres",
42
42
  "description": "Database engine to use with the selected service.",
43
43
  "x-priority": "important",
44
44
  "x-prompt": "Which database engine would you like to use?"
@@ -52,22 +52,22 @@
52
52
  "type": "string",
53
53
  "description": "Initial database name. Defaults to the project name."
54
54
  },
55
- "ormFramework": {
55
+ "framework": {
56
56
  "type": "string",
57
- "enum": ["Prisma"],
58
- "default": "Prisma",
57
+ "enum": ["prisma"],
58
+ "default": "prisma",
59
59
  "description": "ORM framework to use for the generated project.",
60
60
  "x-priority": "important",
61
61
  "x-prompt": "Which ORM framework would you like to use?"
62
62
  },
63
- "iacProvider": {
63
+ "iac": {
64
64
  "type": "string",
65
65
  "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
66
- "enum": ["Inherit", "CDK", "Terraform"],
66
+ "enum": ["inherit", "cdk", "terraform"],
67
67
  "x-priority": "important",
68
- "default": "Inherit",
69
- "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
68
+ "default": "inherit",
69
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
70
70
  }
71
71
  },
72
- "required": ["name", "service", "engine", "ormFramework"]
72
+ "required": ["name", "infra", "engine", "framework"]
73
73
  }
@@ -35,53 +35,53 @@
35
35
  "description": "The sub directory the project is placed in. By default this is the project name.",
36
36
  "x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
37
37
  },
38
- "uxProvider": {
38
+ "ux": {
39
39
  "type": "string",
40
40
  "description": "The preferred UX provider.",
41
- "enum": ["None", "Cloudscape", "Shadcn"],
41
+ "enum": ["none", "cloudscape", "shadcn"],
42
42
  "x-priority": "important",
43
- "default": "Cloudscape",
43
+ "default": "cloudscape",
44
44
  "x-prompt": {
45
45
  "message": "Which UX provider should we scaffold for this app?",
46
46
  "type": "list",
47
47
  "items": [
48
48
  {
49
- "value": "None",
49
+ "value": "none",
50
50
  "label": "None (plain React/Vite without a UI kit)"
51
51
  },
52
52
  {
53
- "value": "Cloudscape",
53
+ "value": "cloudscape",
54
54
  "label": "Cloudscape (AWS-first components with ready-made layouts)"
55
55
  },
56
56
  {
57
- "value": "Shadcn",
57
+ "value": "shadcn",
58
58
  "label": "Shadcn (shared UI library under packages/common/shadcn)"
59
59
  }
60
60
  ],
61
- "default": "Cloudscape"
61
+ "default": "cloudscape"
62
62
  }
63
63
  },
64
- "enableTailwind": {
64
+ "tailwind": {
65
65
  "description": "Enable TailwindCSS for utility-first styling.",
66
66
  "type": "boolean",
67
67
  "default": true,
68
68
  "x-priority": "important",
69
69
  "x-prompt": "Would you like to enable TailwindCSS for additional styling capabilities?"
70
70
  },
71
- "enableTanstackRouter": {
71
+ "tanstackRouter": {
72
72
  "description": "Enable Tanstack router for type-safe routing.",
73
73
  "type": "boolean",
74
74
  "default": true,
75
75
  "x-priority": "important",
76
76
  "x-prompt": "Would you like to enable Tanstack Router for type-safe routing?"
77
77
  },
78
- "iacProvider": {
78
+ "iac": {
79
79
  "type": "string",
80
80
  "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
81
- "enum": ["Inherit", "CDK", "Terraform"],
81
+ "enum": ["inherit", "cdk", "terraform"],
82
82
  "x-priority": "important",
83
- "default": "Inherit",
84
- "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
83
+ "default": "inherit",
84
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
85
85
  }
86
86
  },
87
87
  "required": ["name"],
@@ -37,13 +37,13 @@
37
37
  "x-prompt": "Enable self signup?",
38
38
  "x-priority": "important"
39
39
  },
40
- "iacProvider": {
40
+ "iac": {
41
41
  "type": "string",
42
42
  "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
43
- "enum": ["Inherit", "CDK", "Terraform"],
43
+ "enum": ["inherit", "cdk", "terraform"],
44
44
  "x-priority": "important",
45
- "default": "Inherit",
46
- "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
45
+ "default": "inherit",
46
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
47
47
  }
48
48
  },
49
49
  "required": ["project"]