jujugrowth-mcp 1.0.0 → 1.0.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/package.json +14 -5
- package/server.mjs +32 -3
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jujugrowth-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "MCP server connecting your AI coding assistant (Claude, Cursor, Codex) to jujugrowth — pull recommendations and apply them in your repo.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"bin": {
|
|
7
|
+
"jujugrowth-mcp": "server.mjs"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"server.mjs",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=22"
|
|
15
|
+
},
|
|
9
16
|
"license": "UNLICENSED",
|
|
10
|
-
"publishConfig": {
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
}
|
|
11
20
|
}
|
package/server.mjs
CHANGED
|
@@ -55,14 +55,43 @@ const TOOLS = [
|
|
|
55
55
|
{
|
|
56
56
|
name: "mark_recommendation_handled",
|
|
57
57
|
description:
|
|
58
|
-
"Mark a recommendation handled in jujugrowth (status → approved) AFTER you've implemented it in the user's repo. Writes back to jujugrowth only.",
|
|
58
|
+
"Mark a recommendation handled in jujugrowth (status → approved) AFTER you've implemented it in the user's repo. Pass a short `note` describing what you changed — it's recorded on the recommendation. Writes back to jujugrowth only.",
|
|
59
59
|
inputSchema: {
|
|
60
60
|
type: "object",
|
|
61
|
-
properties: {
|
|
61
|
+
properties: {
|
|
62
|
+
tenantId: { type: "string" },
|
|
63
|
+
recId: { type: "string" },
|
|
64
|
+
note: { type: "string", description: "1-3 sentences: what you implemented" },
|
|
65
|
+
},
|
|
62
66
|
required: ["tenantId", "recId"],
|
|
63
67
|
additionalProperties: false,
|
|
64
68
|
},
|
|
65
|
-
run: async (a) =>
|
|
69
|
+
run: async (a) =>
|
|
70
|
+
call("POST", `/recommendations/${a.tenantId}/${a.recId}/handled`, a.note ? { note: a.note } : undefined),
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "request_site_advice",
|
|
74
|
+
description:
|
|
75
|
+
"Pro: kick off a fresh website improvement analysis for a business. The Site Advisor reads the live site + competitors and files a new recommendation (~3-5 min). Costs LLM tokens; requires an active (Pro) account.",
|
|
76
|
+
inputSchema: {
|
|
77
|
+
type: "object",
|
|
78
|
+
properties: { tenantId: { type: "string" } },
|
|
79
|
+
required: ["tenantId"],
|
|
80
|
+
additionalProperties: false,
|
|
81
|
+
},
|
|
82
|
+
run: async (a) => call("POST", `/site-advice/${a.tenantId}`),
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: "request_campaign_brief",
|
|
86
|
+
description:
|
|
87
|
+
"Pro: kick off a campaign brief for a business (the system picks the platform). Files a new recommendation with the economics shown (~2-3 min). Costs LLM tokens; requires an active (Pro) account.",
|
|
88
|
+
inputSchema: {
|
|
89
|
+
type: "object",
|
|
90
|
+
properties: { tenantId: { type: "string" } },
|
|
91
|
+
required: ["tenantId"],
|
|
92
|
+
additionalProperties: false,
|
|
93
|
+
},
|
|
94
|
+
run: async (a) => call("POST", `/campaign-brief/${a.tenantId}`),
|
|
66
95
|
},
|
|
67
96
|
];
|
|
68
97
|
|