@mushi-mushi/mcp 0.34.0 → 0.35.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
@@ -31,7 +31,7 @@ Restart the editor and ask *"what's broken in prod?"*. For Cursor and Claude, `s
31
31
  "mcpServers": {
32
32
  "mushi-mushi": {
33
33
  "command": "npx",
34
- "args": ["-y", "@mushi-mushi/mcp@^0.34"],
34
+ "args": ["-y", "@mushi-mushi/mcp@^0.35"],
35
35
  "env": {
36
36
  "MUSHI_API_KEY": "mushi_xxxxxxxxxxxxxxxxxxxx",
37
37
  "MUSHI_PROJECT_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
@@ -61,7 +61,7 @@ Claude Desktop does not expand `${VAR}` references in this file; Cursor and VS C
61
61
  | `diagnose_setup` | Explains a broken install and the one next step |
62
62
  | `search_mushi_docs` | Answers setup and API questions from the docs |
63
63
 
64
- The full catalog has 156 tools, plus 8 resources (`project://dashboard`, `project://stats`, …) and 6 prompts (`summarize_report_for_fix`, `triage_next_steps`, …). Every tool carries read-only and destructive hints, so your editor can ask before it changes anything. Full list: [MCP tool reference](https://kensaur.us/mushi-mushi/docs/sdks/mcp-tools).
64
+ The full catalog has 158 tools, plus 8 resources (`project://dashboard`, `project://stats`, …) and 6 prompts (`summarize_report_for_fix`, `triage_next_steps`, …). Every tool carries read-only and destructive hints, so your editor can ask before it changes anything. Full list: [MCP tool reference](https://kensaur.us/mushi-mushi/docs/sdks/mcp-tools).
65
65
 
66
66
  **Tool groups.** New installs get a lean default: `triage`, `fixes`, `inventory`, `setup`, `docs`. Turn on more with `MUSHI_FEATURES=triage,qa,codebase` (stdio) or `?features=…` on the hosted URL, or everything with `all`. Groups: `qa`, `skills`, `codebase`, `rewards`, `admin`, `audit`, `usage`. For a chat tool such as Lovable, or an editor that caps how many tools it loads, `vibe` gives about a dozen tools for the core loop. Add `?read_only=1` to the hosted URL to hide every write tool.
67
67
 
package/dist/catalog.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  TOOL_CATALOG,
9
9
  USE_MUSHI_INTENTS,
10
10
  routeUseMushiIntent
11
- } from "./chunk-DXYPERNG.js";
11
+ } from "./chunk-SXASHTKO.js";
12
12
  export {
13
13
  ALL_SCOPES,
14
14
  CODEBASE_TOOL_CATALOG,
@@ -4,7 +4,7 @@ import {
4
4
  TDD_TOOL_CATALOG,
5
5
  TOOL_CATALOG,
6
6
  routeUseMushiIntent
7
- } from "./chunk-DXYPERNG.js";
7
+ } from "./chunk-SXASHTKO.js";
8
8
  import {
9
9
  MUSHI_SERVER_METADATA
10
10
  } from "./chunk-XSTWBVLT.js";
@@ -15,7 +15,7 @@ import {
15
15
  TOOL_FEATURE_MAP,
16
16
  featuresImplyReadOnly,
17
17
  toolMatchesFeatures
18
- } from "./chunk-SYV3LMVF.js";
18
+ } from "./chunk-SVDFHXHQ.js";
19
19
 
20
20
  // src/server.ts
21
21
  import { AsyncLocalStorage } from "async_hooks";
@@ -259,7 +259,7 @@ var MUSHI_DOCS_INDEX = [
259
259
  route: "/admin/credits",
260
260
  markdown: "admin/credits.md",
261
261
  keywords: ["admin", "credits", "spend"],
262
- headings: ["Cursor: fix bugs", "Cursor: improve your apps with skills", "Firecrawl: find bugs on your live sites", "Site audit", "Search rank", "Where the fixes go"],
262
+ headings: ["Who fixes your bugs, and who pays", "Cursor: fix bugs", "Cursor: improve your apps with skills", "Firecrawl: find bugs on your live sites", "Site audit", "Search rank", "Where the fixes go"],
263
263
  excerpt: "Spend credits lists expiring Cursor and Firecrawl credits and every way Mushi Mushi can spend them fixing bugs, improving apps with skills and checking sites."
264
264
  },
265
265
  {
@@ -637,7 +637,7 @@ var MUSHI_DOCS_INDEX = [
637
637
  route: "/admin/reports",
638
638
  markdown: "admin/reports.md",
639
639
  keywords: ["admin", "reports", "bugs"],
640
- headings: ["Bugs and Signals", "The counts on this page", "Diagnosis + Fix hero", "Compact diagnosis preview", "Pipeline strip on report detail", "Merging a fix from report detail"],
640
+ headings: ["Bugs and Signals", "The counts on this page", "Closing bugs", "Closing many at once", "Diagnosis + Fix hero", "Compact diagnosis preview", "Pipeline strip on report detail", "Merging a fix from report detail"],
641
641
  excerpt: "Bugs lists your users' reports and thrown errors. Signals holds Mushi Mushi's own guesses, with no Fix button, until you promote one."
642
642
  },
643
643
  {
@@ -673,7 +673,7 @@ var MUSHI_DOCS_INDEX = [
673
673
  route: "/admin/screens",
674
674
  markdown: "admin/screens.md",
675
675
  keywords: ["admin", "screens"],
676
- headings: ["What you see", "How the numbers work", "Adding screens", "Your app's address", "Which build a check shows", "Doing it by hand"],
676
+ headings: ["What you see", "How the numbers work", "Adding screens", "Your app's address", "Check again after each deploy", "A smaller check beside a fuller one", "A check that stopped early", "Only the launch screen"],
677
677
  excerpt: "Every screen of your app on one map, with Claude's review beside each. Check a website or a phone app in one click, see which build each check shows."
678
678
  },
679
679
  {
@@ -700,7 +700,7 @@ var MUSHI_DOCS_INDEX = [
700
700
  route: "/admin/security",
701
701
  markdown: "admin/security.md",
702
702
  keywords: ["admin", "security", "check"],
703
- headings: ["What it checks", "Live tests", "Two test logins", 'What "nothing found" means', "Fixing a finding", "Proving it closed", "When it's meant to be this way", "Fix later"],
703
+ headings: ["Ready to ship?", "What it checks", "Live tests", "Two test logins", "Made outside your migrations", 'What "nothing found" means', "Fixing a finding", "Proving it closed"],
704
704
  excerpt: "Find what your Supabase data leaves open, prove it with a live test on your own project, fix it with a migration pull request, and prove it closed."
705
705
  },
706
706
  {
@@ -4922,6 +4922,33 @@ function createMushiServer(config) {
4922
4922
  return jsonText(await apiCall(`/v1/admin/projects/${encodeURIComponent(pid)}/ai-scan/scan`, { method: "POST", body: JSON.stringify(args.reportId ? { reportId: args.reportId } : {}) }));
4923
4923
  }
4924
4924
  );
4925
+ server.registerTool(
4926
+ "run_ai_probes",
4927
+ {
4928
+ title: titleOf("run_ai_probes"),
4929
+ description: descOf("run_ai_probes"),
4930
+ annotations: annotationsFor("run_ai_probes"),
4931
+ inputSchema: PROJECT_ID_INPUT
4932
+ },
4933
+ async (args) => {
4934
+ const pid = await resolveProjectId(args.projectId);
4935
+ return jsonText(await apiCall(`/v1/admin/projects/${encodeURIComponent(pid)}/ai-probes/run`, { method: "POST", body: "{}" }));
4936
+ }
4937
+ );
4938
+ server.registerTool(
4939
+ "get_ai_probes",
4940
+ {
4941
+ title: titleOf("get_ai_probes"),
4942
+ description: descOf("get_ai_probes"),
4943
+ annotations: annotationsFor("get_ai_probes"),
4944
+ outputSchema: z2.looseObject({}),
4945
+ inputSchema: PROJECT_ID_INPUT
4946
+ },
4947
+ async (args) => {
4948
+ const pid = await resolveProjectId(args.projectId);
4949
+ return jsonResult(await apiCall(`/v1/admin/projects/${encodeURIComponent(pid)}/ai-probes`));
4950
+ }
4951
+ );
4925
4952
  server.registerTool(
4926
4953
  "list_ai_scan_findings",
4927
4954
  {
@@ -97,6 +97,8 @@ var TOOL_FEATURE_MAP = {
97
97
  verify_fix: "inventory",
98
98
  run_ai_scan: "inventory",
99
99
  list_ai_scan_findings: "inventory",
100
+ run_ai_probes: "inventory",
101
+ get_ai_probes: "inventory",
100
102
  refresh_recipe: "inventory",
101
103
  run_design_deviance: "inventory",
102
104
  run_store_review: "inventory",
@@ -308,6 +308,23 @@ var TOOL_CATALOG = [
308
308
  returnsUntrusted: true,
309
309
  useCase: "What did the AI and agents scan find, and which findings are proven closed?"
310
310
  },
311
+ {
312
+ name: "run_ai_probes",
313
+ title: "Run the endpoint probes",
314
+ description: "Send Mushi's fixed prompt-injection probes to this app's own model endpoint now (ADR 0107): 13 messages per run (plain, base64, look-alike letters, invisible characters) that try to make the model obey a hidden instruction, show its system prompt or keys, call a tool, write an image link to an address the message chose, or list other people's details. Graded by code, never a model: a reply is reproduced, held, needs a person to read it, or did not run (an error or a check that needs setup); only reproduced probes become reports, and a report closes only when every probe of its kind held. Runs only after a person set up the endpoint, proved they own its host and agreed in the console (409 NO_ENDPOINT / NOT_VERIFIED / NEEDS_CONSENT; an API key can never give consent, 403 CONSENT_IN_CONSOLE). At most 30 probes an app an hour (429 RATE_LIMITED with when the next run fits); 409 RUN_IN_PROGRESS while one runs. It runs in the background: poll get_ai_probes until lastRun changes. Optional projectId. Returns { queued, projectId, probes }. Write: it files and closes reports and uses the app's model credits; nothing in the app changes.",
315
+ scope: "mcp:write",
316
+ hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
317
+ useCase: "Does my chatbot follow instructions hidden in a message?"
318
+ },
319
+ {
320
+ name: "get_ai_probes",
321
+ title: "Get the endpoint probe results",
322
+ description: "Return the endpoint probes for one app (ADR 0107): the endpoint and how it is called, whether its host is proven (sso_domain | supabase_project | dns | file) and a person agreed, whether a run is running, the hourly budget (sent in the last hour, when the next run fits), and the latest run: each probe's outcome (reproduced | not_reproduced | needs_you | not_run) with a fixed reason and a short excerpt of the reply with keys removed, each rule's outcome and its report, what closed, and what did not run and why. A probe that held held only against these messages; needs_you and not_run are never a pass. Optional projectId. Read-only.",
323
+ scope: "mcp:read",
324
+ hints: { readOnly: true, idempotent: true, openWorld: true },
325
+ returnsUntrusted: true,
326
+ useCase: "What did the prompt-injection probes find on my endpoint?"
327
+ },
311
328
  {
312
329
  name: "refresh_recipe",
313
330
  title: "Refresh the app recipe",
package/dist/clients.d.ts CHANGED
@@ -55,7 +55,7 @@ import { FeatureGroup } from './feature-groups.js';
55
55
  * one. Never `@latest`: that is the supply-chain and cold-start risk. Synced
56
56
  * to package.json by `scripts/sync-mcp-pin.mjs` — never hand-edit the version.
57
57
  */
58
- declare const MCP_PIN_SPEC = "@mushi-mushi/mcp@^0.34";
58
+ declare const MCP_PIN_SPEC = "@mushi-mushi/mcp@^0.35";
59
59
  interface StdioConfig {
60
60
  command: string;
61
61
  args: string[];
package/dist/clients.js CHANGED
@@ -5,10 +5,10 @@ import {
5
5
  DEFAULT_FEATURE_GROUPS,
6
6
  appendFeaturesToUrl,
7
7
  featuresQueryString
8
- } from "./chunk-SYV3LMVF.js";
8
+ } from "./chunk-SVDFHXHQ.js";
9
9
 
10
10
  // src/clients.ts
11
- var MCP_PIN_SPEC = "@mushi-mushi/mcp@^0.34";
11
+ var MCP_PIN_SPEC = "@mushi-mushi/mcp@^0.35";
12
12
  var PIN_SPEC_RE = /^@mushi-mushi\/mcp@(?:\^\d+\.\d+|\d+\.\d+\.\d+)$/;
13
13
  function pinOf(pinSpec) {
14
14
  return pinSpec && PIN_SPEC_RE.test(pinSpec) ? pinSpec : MCP_PIN_SPEC;
@@ -14,7 +14,7 @@ import {
14
14
  parseFeaturesCsv,
15
15
  parseFeaturesParam,
16
16
  toolMatchesFeatures
17
- } from "./chunk-SYV3LMVF.js";
17
+ } from "./chunk-SVDFHXHQ.js";
18
18
  export {
19
19
  ALL_FEATURE_GROUPS,
20
20
  CHAT_SERVER_INSTRUCTIONS,
package/dist/index.js CHANGED
@@ -7,15 +7,15 @@ import {
7
7
  fetchKeyScopes,
8
8
  installStdoutGuard,
9
9
  sdkKeyReport
10
- } from "./chunk-UEGILLAX.js";
10
+ } from "./chunk-GQETC7D7.js";
11
11
  import {
12
12
  ALL_SCOPES
13
- } from "./chunk-DXYPERNG.js";
13
+ } from "./chunk-SXASHTKO.js";
14
14
  import "./chunk-XSTWBVLT.js";
15
15
  import {
16
16
  DEFAULT_FEATURE_GROUPS,
17
17
  parseFeaturesCsv
18
- } from "./chunk-SYV3LMVF.js";
18
+ } from "./chunk-SVDFHXHQ.js";
19
19
 
20
20
  // src/index.ts
21
21
  import { serveStdio } from "@modelcontextprotocol/server/stdio";
package/dist/server.js CHANGED
@@ -5,10 +5,10 @@ import {
5
5
  createMushiServer,
6
6
  createSetupModeServer,
7
7
  resolveTimeoutMsFromEnv
8
- } from "./chunk-UEGILLAX.js";
9
- import "./chunk-DXYPERNG.js";
8
+ } from "./chunk-GQETC7D7.js";
9
+ import "./chunk-SXASHTKO.js";
10
10
  import "./chunk-XSTWBVLT.js";
11
- import "./chunk-SYV3LMVF.js";
11
+ import "./chunk-SVDFHXHQ.js";
12
12
  export {
13
13
  MUSHI_CONSOLE_URL,
14
14
  MushiApiError,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mushi-mushi/mcp",
3
3
  "mcpName": "io.github.kensaurus/mushi-mushi",
4
- "version": "0.34.0",
4
+ "version": "0.35.0",
5
5
  "license": "MIT",
6
6
  "description": "The bug button for apps built with AI. MCP server for Cursor, Claude Code and Copilot. Open source.",
7
7
  "type": "module",