@mushi-mushi/mcp 0.5.0 → 0.6.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/README.md +28 -9
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# @mushi-mushi/mcp
|
|
2
2
|
|
|
3
|
-
[Model Context Protocol](https://spec.modelcontextprotocol.io/) server that
|
|
3
|
+
[Model Context Protocol](https://spec.modelcontextprotocol.io/) server that wires Mushi Mushi's closed-loop bug intelligence into your AI coding agent — so Cursor, Claude Code, Copilot, and any other MCP-compatible client can read classified reports, query the lesson library, and dispatch AI-generated fixes directly from the editor.
|
|
4
|
+
|
|
5
|
+
**The evolutionary angle:** the lesson library (`lessons.query` tool) is the agent's institutional memory. Every bug cluster your team has ever named is available to the agent before it touches a single line of code — so it doesn't repeat the same class of mistake the last agent made. That's the "cumulative selection" loop the [main README](https://www.npmjs.com/package/mushi-mushi) describes, delivered to your IDE.
|
|
4
6
|
|
|
5
7
|
> **What this is, and what it isn't**
|
|
6
8
|
>
|
|
@@ -21,9 +23,9 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)
|
|
|
21
23
|
"command": "npx",
|
|
22
24
|
"args": ["-y", "@mushi-mushi/mcp@latest"],
|
|
23
25
|
"env": {
|
|
24
|
-
"MUSHI_API_KEY": "
|
|
25
|
-
"MUSHI_PROJECT_ID": "
|
|
26
|
-
"MUSHI_API_ENDPOINT": "https
|
|
26
|
+
"MUSHI_API_KEY": "mushi_xxxxxxxxxxxxxxxxxxxx",
|
|
27
|
+
"MUSHI_PROJECT_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
|
|
28
|
+
"MUSHI_API_ENDPOINT": "https://<your-ref>.supabase.co/functions/v1/api"
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -32,6 +34,13 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)
|
|
|
32
34
|
|
|
33
35
|
Restart Claude Desktop. You should see a hammer icon in the chat input — click it to see the Mushi Mushi tools.
|
|
34
36
|
|
|
37
|
+
> **Where do I find these values?**
|
|
38
|
+
> - **`MUSHI_API_KEY`**: [Admin console](https://kensaur.us/mushi-mushi/settings) → **Settings → API Keys**
|
|
39
|
+
> - **`MUSHI_PROJECT_ID`**: [Admin console](https://kensaur.us/mushi-mushi/projects) → click your project → copy the UUID below the project name (e.g. `542b34e0-019e-41fe-b900-7b637717bb86`)
|
|
40
|
+
> - **`MUSHI_API_ENDPOINT`**: [Admin console](https://kensaur.us/mushi-mushi/settings) → **Settings → API Keys** — shown alongside your key
|
|
41
|
+
>
|
|
42
|
+
> Or visit **Admin → MCP** in the console for a one-click pre-filled config snippet.
|
|
43
|
+
|
|
35
44
|
### 2. With Cursor
|
|
36
45
|
|
|
37
46
|
In Cursor settings, open **MCP** → **Add new MCP server** and paste:
|
|
@@ -40,12 +49,22 @@ In Cursor settings, open **MCP** → **Add new MCP server** and paste:
|
|
|
40
49
|
npx -y @mushi-mushi/mcp@latest
|
|
41
50
|
```
|
|
42
51
|
|
|
43
|
-
|
|
52
|
+
Then set the same three environment variables:
|
|
53
|
+
|
|
54
|
+
| Variable | Where to find it |
|
|
55
|
+
|---|---|
|
|
56
|
+
| `MUSHI_API_KEY` | Admin console → Settings → API Keys |
|
|
57
|
+
| `MUSHI_PROJECT_ID` | Admin console → Projects → click project → UUID below the name |
|
|
58
|
+
| `MUSHI_API_ENDPOINT` | Admin console → Settings → API Keys (shown alongside your key) |
|
|
59
|
+
|
|
60
|
+
Without `MUSHI_PROJECT_ID` the server starts but scoped tools return an empty result with a message pointing you here.
|
|
44
61
|
|
|
45
62
|
### 3. From the command line
|
|
46
63
|
|
|
47
64
|
```bash
|
|
48
|
-
MUSHI_API_KEY=
|
|
65
|
+
MUSHI_API_KEY=mushi_xxxxxxxxxxxxxxxxxxxx \
|
|
66
|
+
MUSHI_PROJECT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
|
|
67
|
+
npx -y @mushi-mushi/mcp@latest
|
|
49
68
|
```
|
|
50
69
|
|
|
51
70
|
The server speaks stdio MCP transport by default — your client launches it as a subprocess.
|
|
@@ -59,10 +78,10 @@ The Mushi backend now exposes the same tool catalog over the **Streamable HTTP**
|
|
|
59
78
|
{
|
|
60
79
|
"mcpServers": {
|
|
61
80
|
"mushi-mushi-hosted": {
|
|
62
|
-
"url": "https
|
|
81
|
+
"url": "https://<your-ref>.supabase.co/functions/v1/mcp",
|
|
63
82
|
"headers": {
|
|
64
|
-
"X-Mushi-Api-Key": "
|
|
65
|
-
"X-Mushi-Project
|
|
83
|
+
"X-Mushi-Api-Key": "mushi_xxxxxxxxxxxxxxxxxxxx",
|
|
84
|
+
"X-Mushi-Project": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
66
85
|
}
|
|
67
86
|
}
|
|
68
87
|
}
|
package/dist/index.js
CHANGED
|
@@ -913,7 +913,7 @@ async function main() {
|
|
|
913
913
|
}
|
|
914
914
|
if (!PROJECT_ID) {
|
|
915
915
|
console.error(
|
|
916
|
-
"[mushi-mcp] MUSHI_PROJECT_ID is not set.\n\nTools that scope to a project (get_recent_reports, get_report_detail,\nsearch_reports, etc.) will require you to pass projectId explicitly on\nevery call. To set it once and never pass it again:\n\n 1. Open the Mushi admin console \u2192 Projects\n
|
|
916
|
+
"[mushi-mcp] MUSHI_PROJECT_ID is not set.\n\nTools that scope to a project (get_recent_reports, get_report_detail,\nsearch_reports, etc.) will require you to pass projectId explicitly on\nevery call. To set it once and never pass it again:\n\n 1. Open the Mushi admin console \u2192 Projects\n https://kensaur.us/mushi-mushi/projects\n 2. Click your project \u2014 copy the UUID below the project name.\n 3. Add it to your MCP env config:\n MUSHI_PROJECT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n\nOr visit Admin \u2192 MCP for a pre-filled config snippet with your actual UUID."
|
|
917
917
|
);
|
|
918
918
|
}
|
|
919
919
|
log.info("Starting Mushi MCP server", { version: VERSION, endpoint: API_ENDPOINT || "(unset)", hasProjectId: !!PROJECT_ID });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mushi-mushi/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "MCP server exposing Mushi Mushi reports to coding agents",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
28
28
|
"zod": "^4.4.2",
|
|
29
|
-
"@mushi-mushi/core": "^1.
|
|
29
|
+
"@mushi-mushi/core": "^1.2.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.19.17",
|