@mushi-mushi/mcp 0.17.0 → 0.18.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 CHANGED
@@ -2,7 +2,12 @@
2
2
 
3
3
  > **Your AI wrote it. Mushi tells you why it broke.**
4
4
 
5
- [Model Context Protocol](https://spec.modelcontextprotocol.io/) server that wires Mushi into Cursor, Claude Code, and any MCP client. Pull fix context, run triage, and dispatch fixes without a second LLM vendor key.
5
+ [![Add to Cursor](https://img.shields.io/badge/Add%20to-Cursor-0098FF)](https://kensaur.us/mushi-mushi/docs/connect)
6
+ [![Add to VS Code](https://img.shields.io/badge/Add%20to-VS%20Code-007ACC?logo=visualstudiocode&logoColor=white)](https://kensaur.us/mushi-mushi/docs/connect)
7
+ [![Try the demo — no signup](https://img.shields.io/badge/Try%20the%20demo-no%20signup-E34234)](https://kensaur.us/mushi-mushi/docs/connect)
8
+ [![npm](https://img.shields.io/npm/v/@mushi-mushi/mcp?color=cb3837)](https://www.npmjs.com/package/@mushi-mushi/mcp)
9
+
10
+ [Model Context Protocol](https://spec.modelcontextprotocol.io/) server that wires Mushi into Cursor, Claude Code, and any MCP client. Pull fix context, review bugs, and dispatch fixes without a second LLM vendor key.
6
11
 
7
12
  Wire it into Cursor, Claude Code, or any MCP client in one command:
8
13
 
@@ -141,14 +146,24 @@ The Mushi backend now exposes the same tool catalog over the **Streamable HTTP**
141
146
 
142
147
  ### Feature groups (`?features=` / `MUSHI_FEATURES`)
143
148
 
144
- Full catalog is **71 tools**. New installs default to a lean set via:
149
+ Full catalog is **67 tools**. New installs now default to the lean
150
+ `triage,fixes,inventory,setup,docs` set automatically (stdio: when
151
+ `MUSHI_FEATURES` is unset; HTTP: pass the same `?features=` on the URL). To
152
+ change the surface:
145
153
 
146
- - **Stdio:** `MUSHI_FEATURES=triage,fixes,inventory,setup,docs`
147
- - **HTTP:** `?features=triage,fixes,inventory,setup,docs` on the MCP URL
154
+ - **Stdio:** `MUSHI_FEATURES=all` for the full catalog, or a CSV like `MUSHI_FEATURES=triage,qa,skills`
155
+ - **HTTP:** `?features=all` or `?features=triage,qa,skills` on the MCP URL
148
156
 
149
- Append `legacy` to keep deprecated aliases (`setup_check`, `ingest_setup_check`, …). Use `features=all` for the full catalog.
157
+ Renamed tools (`inventory_get` → `get_inventory`, `inventory_diff` →
158
+ `diff_inventory`, `inventory_findings` → `list_gate_findings`, `fix_suggest` →
159
+ `suggest_fix`, `graph_neighborhood` → `get_graph_neighborhood`,
160
+ `graph_node_status` → `get_graph_node`) and the consolidated setup tooling
161
+ (`setup_check` / `ingest_setup_check` / `diagnose_connection` → `diagnose_setup`;
162
+ `get_activation_status` → `activation_status`; `get_reporter_thread` →
163
+ `get_report_timeline`) are documented in the changelog — update calls to the new
164
+ names.
150
165
 
151
- New unified tools: `diagnose_setup` (replaces setup trilogy), `search_mushi_docs` (keyword doc search).
166
+ New unified tools: `diagnose_setup` (replaces the setup trilogy), `search_mushi_docs` (keyword doc search).
152
167
 
153
168
  Append `?read_only=1` to the URL to hide write tools (Supabase-parity mode).
154
169
 
@@ -194,10 +209,9 @@ The endpoint accepts JSON-RPC 2.0 over POST (returns `application/json` or `text
194
209
  | `get_fix_timeline` | Ordered timeline of a fix attempt (dispatched → started → branch → commit → PR → CI → completed/failed) |
195
210
  | `get_blast_radius` | Graph traversal showing other components a bug group touches |
196
211
  | `get_knowledge_graph` | Traverse the knowledge graph from a seed component or page |
197
- | `setup_check` | The 4 **dispatch-readiness** checks (GitHub repo, codebase indexed, Anthropic key, autofix enabled) — run before `dispatch_fix` |
198
- | `ingest_setup_check` | The 4 **required ingest** checks (project, active API key, SDK heartbeat, first report) + `last_sdk_seen_at` diagnostics — run after wiring env vars to confirm the SDK is reporting |
199
- | `get_activation_status` | Unified setup posture for the active project — required steps, SDK heartbeat, dispatch preflight, and the next best action. Run first when a user says setup is broken |
200
- | `get_reporter_thread` | Unified report timeline — the reporter/admin comment thread (including verify/reopen signals) plus fix, QA, and status lanes. Use when triaging whether an end user still sees a bug as unfixed |
212
+ | `diagnose_setup` | Setup health in one call — `mode=full` (default) runs ingest + dispatch preflight, `mode=ingest` / `mode=dispatch` narrow it. Returns the single best next action. Run first when a user says setup is broken |
213
+ | `activation_status` | Unified activation posture for the active project — required steps, SDK heartbeat, dispatch preflight, and the next best action |
214
+ | `get_report_timeline` | Ordered report timeline — the reporter/admin comment thread (including verify/reopen signals) plus fix, QA, and status lanes. Use when triaging whether an end user still sees a bug as unfixed |
201
215
  | `list_projects` | Discover all Mushi projects accessible to this API key. Returns project id, name, and created date |
202
216
  | `get_project_context` | Rich context snapshot: SDK heartbeat, ingest status, autofix readiness, and open report counts |
203
217
  | `get_pipeline_logs` | Recent log entries from fix-worker, pipeline, and QA story runner — filterable by service, level, time, and limit |
@@ -259,7 +273,7 @@ Named templates the MCP client surfaces in its slash-menu. Each one bakes in the
259
273
  |---|---|---|---|
260
274
  | `MUSHI_API_KEY` | yes | — | Project API key with `mcp:read` or `mcp:write` scope. Mint one in the admin console → **Projects** (the one-time reveal card has a **Copy as `.env.local`** tab). |
261
275
  | `MUSHI_PROJECT_ID` | yes | — | UUID from the admin console URL (`/projects/<uuid>/...`) or the reveal card. |
262
- | `MUSHI_API_ENDPOINT` | no | `https://api.mushimushi.dev` | Override only if you self-host. Localhost value: `http://localhost:54321/functions/v1/api`. |
276
+ | `MUSHI_API_ENDPOINT` | no | `https://dxptnwrhwsqckaftyymj.supabase.co/functions/v1/api` | Override only if you self-host. Localhost: `http://localhost:54321/functions/v1/api`. |
263
277
 
264
278
  ### Storing the key in `.env.local`
265
279
 
@@ -269,7 +283,7 @@ The MCP binary reads these three vars from `process.env` on spawn — that means
269
283
 
270
284
  ```bash
271
285
  # Mushi MCP — drop into .env.local (gitignored). The MCP binary picks these up on spawn.
272
- MUSHI_API_ENDPOINT=https://api.mushimushi.dev
286
+ MUSHI_API_ENDPOINT=https://dxptnwrhwsqckaftyymj.supabase.co/functions/v1/api
273
287
  MUSHI_PROJECT_ID=<your-uuid>
274
288
  MUSHI_API_KEY=mushi_live_…
275
289
  ```
@@ -459,6 +473,7 @@ Both are complementary — use Sentry for exception noise, Mushi for "the user s
459
473
 
460
474
  ## See also
461
475
 
476
+ - [GTM distribution runbook](../../docs/marketing/GTM-DISTRIBUTION.md) — MCP registry, Glama, Connect, cursor.directory, release checklist.
462
477
  - [V5.3 whitepaper §2.10](../../MushiMushi_Whitepaper_V5.md) — the agentic fix architecture this server feeds into.
463
478
  - [`@mushi-mushi/agents`](../agents/README.md) — orchestrator that consumes MCP-exposed fix workers.
464
479
 
@@ -470,4 +485,4 @@ MIT
470
485
  <!-- mushi-readme-stats-footer -->
471
486
  ---
472
487
 
473
- <sub>Monorepo scale (June 2026): 47 edge functions · 256 SQL migrations · 13 outbound plugins · 11 inbound adapters · 18 pipeline agents. Canonical counts: <a href="https://github.com/kensaurus/mushi-mushi/blob/master/docs/stats.md">docs/stats.md</a> · <code>pnpm docs-stats</code></sub>
488
+ <sub>Monorepo scale (June 2026): 51 edge functions · 298 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: <a href="https://github.com/kensaurus/mushi-mushi/blob/master/docs/stats.md">docs/stats.md</a> · <code>pnpm docs-stats</code></sub>
package/dist/branding.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  MUSHI_SERVER_METADATA,
6
6
  MUSHI_WEBSITE_URL,
7
7
  mcpIconUrl
8
- } from "./chunk-EHB2BGWX.js";
8
+ } from "./chunk-EANW5YTI.js";
9
9
  export {
10
10
  MUSHI_ICON_PNG_URL,
11
11
  MUSHI_ICON_SVG_URL,
package/dist/catalog.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  RESOURCE_CATALOG,
6
6
  TDD_TOOL_CATALOG,
7
7
  TOOL_CATALOG
8
- } from "./chunk-MM3IMFM4.js";
8
+ } from "./chunk-KNVB6HA7.js";
9
9
  export {
10
10
  ALL_SCOPES,
11
11
  CODEBASE_TOOL_CATALOG,
@@ -3,7 +3,9 @@ var MUSHI_WEBSITE_URL = "https://kensaur.us/mushi-mushi";
3
3
  var MUSHI_ICON_PNG_URL = `${MUSHI_WEBSITE_URL}/integrations/mushi-mark-512.png`;
4
4
  var MUSHI_ICON_SVG_URL = `${MUSHI_WEBSITE_URL}/favicon.svg`;
5
5
  function mcpIconUrl(mcpBaseUrl) {
6
- const base = mcpBaseUrl.replace(/\/+$/, "");
6
+ let end = mcpBaseUrl.length;
7
+ while (end > 0 && mcpBaseUrl.charCodeAt(end - 1) === 47) end--;
8
+ const base = mcpBaseUrl.slice(0, end);
7
9
  return `${base}?icon=1`;
8
10
  }
9
11
  var MUSHI_SERVER_ICONS = [