@aws/nx-plugin-mcp 1.0.0-rc.0 → 1.0.0-rc.2
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.
- package/bin/aws-nx-mcp.js +22 -17
- package/docs/guides/connection/py-agent-a2a.mdx +1 -1
- package/docs/guides/connection/py-agent-mcp.mdx +1 -1
- package/docs/guides/connection/react-agui.mdx +1 -1
- package/docs/guides/connection/react-py-agent.mdx +1 -1
- package/docs/guides/connection/react-trpc.mdx +1 -1
- package/docs/guides/connection/react-ts-agent.mdx +1 -1
- package/docs/guides/connection/ts-agent-a2a.mdx +1 -1
- package/docs/guides/connection/ts-agent-mcp.mdx +1 -1
- package/docs/guides/fastapi.mdx +8 -8
- package/docs/guides/py-agent.mdx +18 -18
- package/docs/guides/py-mcp-server.mdx +5 -5
- package/docs/guides/python-lambda-function.mdx +4 -4
- package/docs/guides/react-website.mdx +2 -2
- package/docs/guides/trpc.mdx +16 -15
- package/docs/guides/ts-agent.mdx +18 -18
- package/docs/guides/ts-lambda-function.mdx +4 -4
- package/docs/guides/ts-mcp-server.mdx +5 -5
- package/docs/guides/ts-rdb.mdx +3 -3
- package/docs/guides/ts-smithy-api.mdx +6 -5
- package/docs/guides/workspace.mdx +2 -2
- package/docs/snippets/agent/architecture.mdx +4 -4
- package/docs/snippets/agent/bedrock-deployment.mdx +1 -1
- package/docs/snippets/api/api-architecture.mdx +2 -2
- package/docs/snippets/api/type-safe-api-integrations.mdx +2 -2
- package/docs/snippets/lambda-function/deploying-your-function.mdx +2 -2
- package/docs/snippets/mcp/architecture.mdx +4 -4
- package/docs/snippets/mcp/bedrock-deployment.mdx +1 -1
- package/generators.json +10 -5
- package/package.json +1 -1
- package/src/infra/app/schema.json +1 -1
- package/src/preset/schema.json +4 -4
- package/src/py/agent/schema.json +18 -18
- package/src/py/api/schema.json +15 -15
- package/src/py/fast-api/schema.json +15 -15
- package/src/py/lambda-function/schema.json +15 -7
- package/src/py/mcp-server/schema.json +15 -15
- package/src/py/project/schema.json +2 -2
- package/src/smithy/ts/api/schema.json +15 -15
- package/src/trpc/backend/schema.json +15 -15
- package/src/ts/agent/schema.json +18 -18
- package/src/ts/api/schema.json +15 -15
- package/src/ts/lambda-function/schema.json +15 -7
- package/src/ts/mcp-server/schema.json +15 -15
- package/src/ts/rdb/schema.json +13 -13
- package/src/ts/react-website/app/schema.json +13 -13
- package/src/ts/react-website/cognito-auth/schema.json +4 -4
- package/src/ts/website/app/schema.json +21 -13
- package/src/ts/website/auth/schema.json +4 -4
|
@@ -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
|
|
34
|
-
"default": "
|
|
35
|
-
"enum": ["
|
|
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
|
-
"
|
|
31
|
+
"iac": {
|
|
40
32
|
"type": "string",
|
|
41
33
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
42
|
-
"enum": ["
|
|
34
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
43
35
|
"x-priority": "important",
|
|
44
|
-
"default": "
|
|
45
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
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"]
|
package/src/ts/rdb/schema.json
CHANGED
|
@@ -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
|
-
"
|
|
30
|
+
"infra": {
|
|
31
31
|
"type": "string",
|
|
32
|
-
"enum": ["
|
|
33
|
-
"default": "
|
|
32
|
+
"enum": ["aurora", "none"],
|
|
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": ["
|
|
41
|
-
"default": "
|
|
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
|
-
"
|
|
55
|
+
"framework": {
|
|
56
56
|
"type": "string",
|
|
57
|
-
"enum": ["
|
|
58
|
-
"default": "
|
|
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
|
-
"
|
|
63
|
+
"iac": {
|
|
64
64
|
"type": "string",
|
|
65
65
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
66
|
-
"enum": ["
|
|
66
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
67
67
|
"x-priority": "important",
|
|
68
|
-
"default": "
|
|
69
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
68
|
+
"default": "inherit",
|
|
69
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"required": ["name", "
|
|
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
|
-
"
|
|
38
|
+
"ux": {
|
|
39
39
|
"type": "string",
|
|
40
40
|
"description": "The preferred UX provider.",
|
|
41
|
-
"enum": ["
|
|
41
|
+
"enum": ["none", "cloudscape", "shadcn"],
|
|
42
42
|
"x-priority": "important",
|
|
43
|
-
"default": "
|
|
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": "
|
|
49
|
+
"value": "none",
|
|
50
50
|
"label": "None (plain React/Vite without a UI kit)"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
"value": "
|
|
53
|
+
"value": "cloudscape",
|
|
54
54
|
"label": "Cloudscape (AWS-first components with ready-made layouts)"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"value": "
|
|
57
|
+
"value": "shadcn",
|
|
58
58
|
"label": "Shadcn (shared UI library under packages/common/shadcn)"
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
|
-
"default": "
|
|
61
|
+
"default": "cloudscape"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
78
|
+
"iac": {
|
|
79
79
|
"type": "string",
|
|
80
80
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
81
|
-
"enum": ["
|
|
81
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
82
82
|
"x-priority": "important",
|
|
83
|
-
"default": "
|
|
84
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
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
|
-
"
|
|
40
|
+
"iac": {
|
|
41
41
|
"type": "string",
|
|
42
42
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
43
|
-
"enum": ["
|
|
43
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
44
44
|
"x-priority": "important",
|
|
45
|
-
"default": "
|
|
46
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
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"]
|
|
@@ -43,53 +43,61 @@
|
|
|
43
43
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
44
44
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"ux": {
|
|
47
47
|
"type": "string",
|
|
48
48
|
"description": "The preferred UX provider.",
|
|
49
|
-
"enum": ["
|
|
49
|
+
"enum": ["none", "cloudscape", "shadcn"],
|
|
50
50
|
"x-priority": "important",
|
|
51
|
-
"default": "
|
|
51
|
+
"default": "cloudscape",
|
|
52
52
|
"x-prompt": {
|
|
53
53
|
"message": "Which UX provider should we scaffold for this app?",
|
|
54
54
|
"type": "list",
|
|
55
55
|
"items": [
|
|
56
56
|
{
|
|
57
|
-
"value": "
|
|
57
|
+
"value": "none",
|
|
58
58
|
"label": "None (plain React/Vite without a UI kit)"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
"value": "
|
|
61
|
+
"value": "cloudscape",
|
|
62
62
|
"label": "Cloudscape (AWS-first components with ready-made layouts)"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"value": "
|
|
65
|
+
"value": "shadcn",
|
|
66
66
|
"label": "Shadcn (shared UI library under packages/common/shadcn)"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
|
-
"default": "
|
|
69
|
+
"default": "cloudscape"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"
|
|
72
|
+
"tailwind": {
|
|
73
73
|
"description": "Enable TailwindCSS for utility-first styling.",
|
|
74
74
|
"type": "boolean",
|
|
75
75
|
"default": true,
|
|
76
76
|
"x-priority": "important",
|
|
77
77
|
"x-prompt": "Would you like to enable TailwindCSS for additional styling capabilities?"
|
|
78
78
|
},
|
|
79
|
-
"
|
|
79
|
+
"tanstackRouter": {
|
|
80
80
|
"description": "Enable Tanstack router for type-safe routing.",
|
|
81
81
|
"type": "boolean",
|
|
82
82
|
"default": true,
|
|
83
83
|
"x-priority": "important",
|
|
84
84
|
"x-prompt": "Would you like to enable Tanstack Router for type-safe routing?"
|
|
85
85
|
},
|
|
86
|
-
"
|
|
86
|
+
"infra": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "The type of infrastructure to deploy your website with.",
|
|
89
|
+
"enum": ["cloudfront-s3", "none"],
|
|
90
|
+
"default": "cloudfront-s3",
|
|
91
|
+
"x-priority": "important",
|
|
92
|
+
"x-prompt": "What infrastructure would you like to deploy your website with?"
|
|
93
|
+
},
|
|
94
|
+
"iac": {
|
|
87
95
|
"type": "string",
|
|
88
96
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
89
|
-
"enum": ["
|
|
97
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
90
98
|
"x-priority": "important",
|
|
91
|
-
"default": "
|
|
92
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
99
|
+
"default": "inherit",
|
|
100
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
93
101
|
}
|
|
94
102
|
},
|
|
95
103
|
"required": ["name"],
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"x-prompt": "Enable self signup?",
|
|
34
34
|
"x-priority": "important"
|
|
35
35
|
},
|
|
36
|
-
"
|
|
36
|
+
"iac": {
|
|
37
37
|
"type": "string",
|
|
38
38
|
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
39
|
-
"enum": ["
|
|
39
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
40
40
|
"x-priority": "important",
|
|
41
|
-
"default": "
|
|
42
|
-
"x-prompt": "Which provider would you like to manage your infrastructure? (default:
|
|
41
|
+
"default": "inherit",
|
|
42
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"required": ["project"]
|