@recanica/mcp 0.1.0 → 0.2.0
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/data/recanica.json +1 -1
- package/package.json +3 -3
- package/src/index.js +2 -2
- package/data/rekanica.json +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@recanica/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "MCP server for Recanica: gives AI tools the design rules, tokens, component source, patterns and setup guides.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Aturanica Labs",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@recanica/tokens": "0.
|
|
43
|
-
"@recanica/css": "0.
|
|
42
|
+
"@recanica/tokens": "0.2.0",
|
|
43
|
+
"@recanica/css": "0.2.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "node scripts/build-data.mjs",
|
package/src/index.js
CHANGED
|
@@ -138,9 +138,9 @@ server.registerTool("get_setup", {
|
|
|
138
138
|
|
|
139
139
|
server.registerTool("get_kickoff_questions", {
|
|
140
140
|
title: "Kickoff questionnaire",
|
|
141
|
-
description: "The questions to ask the
|
|
141
|
+
description: "The plain-language questions to ask the person at the start of every new project (who is building it, what it is, how it is built, how strict, when a page is done), each with fixed options. Ask them in these exact words, one group at a time, offer only the given options (never invent people or teams), then save the answers as JSON and run `npx recanica kickoff --answers <file>`.",
|
|
142
142
|
inputSchema: {},
|
|
143
|
-
}, async () => text((data.kickoff ?? []).map((q) =>
|
|
143
|
+
}, async () => text([data.kickoffHowToAsk ?? "", ...(data.kickoff ?? []).map((q) => `\n- ${q.id} [${q.group}] ${q.q}${q.askIf ? ` (ask only if ${q.askIf})` : ""}\n why: ${q.why}${q.example ? `\n e.g. ${q.example}` : ""}${(q.options ?? []).map((o) => `\n · ${o.label}${o.free ? "" : ` → ${JSON.stringify(o.value)}`}`).join("")}\n default: ${JSON.stringify(q.default)}`)].join("\n")));
|
|
144
144
|
|
|
145
145
|
server.registerTool("check_copy", {
|
|
146
146
|
title: "Check copy for AI slop",
|