@seed-design/mcp 0.0.19 → 0.0.21
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/index.mjs +3 -3
- package/package.json +5 -6
- package/src/prompts.ts +2 -2
package/bin/index.mjs
CHANGED
|
@@ -601,14 +601,14 @@ function registerPrompts(server) {
|
|
|
601
601
|
- First use get_selection() to understand the current selection
|
|
602
602
|
- If no selection ask user to select single node
|
|
603
603
|
|
|
604
|
-
2. Get React code of the selected
|
|
604
|
+
2. Get React code of the selected node:
|
|
605
605
|
- Use get_node_react_code() to get the React code of the selected node
|
|
606
606
|
- If no selection ask user to select single node
|
|
607
607
|
`
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
610
|
],
|
|
611
|
-
description: "Best practices for
|
|
611
|
+
description: "Best practices for implementing React components"
|
|
612
612
|
};
|
|
613
613
|
});
|
|
614
614
|
server.prompt("read_design_strategy", "Best practices for reading Figma designs", (_extra)=>{
|
|
@@ -636,7 +636,7 @@ function registerPrompts(server) {
|
|
|
636
636
|
});
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
-
var version = "0.0.
|
|
639
|
+
var version = "0.0.21";
|
|
640
640
|
|
|
641
641
|
// Initialize CLI
|
|
642
642
|
const cli = cac("@seed-design/mcp");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seed-design/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/daangn/seed-design.git",
|
|
@@ -22,20 +22,19 @@
|
|
|
22
22
|
"lint:publish": "bun publint"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
26
|
-
"@seed-design/figma": "0.0.
|
|
25
|
+
"@modelcontextprotocol/sdk": "^1.10.2",
|
|
26
|
+
"@seed-design/figma": "0.0.21",
|
|
27
27
|
"cac": "^6.7.14",
|
|
28
|
-
"express": "^4.21.2",
|
|
29
28
|
"uuid": "^11.1.0",
|
|
30
29
|
"ws": "^8.18.1",
|
|
31
30
|
"yargs": "^17.7.2",
|
|
32
31
|
"zod": "^3.24.3"
|
|
33
32
|
},
|
|
34
33
|
"devDependencies": {
|
|
35
|
-
"@types/bun": "^1.2.
|
|
34
|
+
"@types/bun": "^1.2.10",
|
|
36
35
|
"@types/ws": "^8.18.1",
|
|
37
36
|
"@types/yargs": "^17.0.33",
|
|
38
|
-
"typescript": "^5.
|
|
37
|
+
"typescript": "^5.8.3"
|
|
39
38
|
},
|
|
40
39
|
"publishConfig": {
|
|
41
40
|
"access": "public"
|
package/src/prompts.ts
CHANGED
|
@@ -17,14 +17,14 @@ export function registerPrompts(server: McpServer): void {
|
|
|
17
17
|
- First use get_selection() to understand the current selection
|
|
18
18
|
- If no selection ask user to select single node
|
|
19
19
|
|
|
20
|
-
2. Get React code of the selected
|
|
20
|
+
2. Get React code of the selected node:
|
|
21
21
|
- Use get_node_react_code() to get the React code of the selected node
|
|
22
22
|
- If no selection ask user to select single node
|
|
23
23
|
`,
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
26
|
],
|
|
27
|
-
description: "Best practices for
|
|
27
|
+
description: "Best practices for implementing React components",
|
|
28
28
|
};
|
|
29
29
|
},
|
|
30
30
|
);
|