@mushi-mushi/mcp 0.31.6 → 0.31.8

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.31.6"],
34
+ "args": ["-y", "@mushi-mushi/mcp@0.31.8"],
35
35
  "env": {
36
36
  "MUSHI_API_KEY": "mushi_xxxxxxxxxxxxxxxxxxxx",
37
37
  "MUSHI_PROJECT_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
package/dist/clients.d.ts CHANGED
@@ -54,7 +54,7 @@ import { FeatureGroup } from './feature-groups.js';
54
54
  * editor launch. Synced to package.json by `scripts/sync-mcp-pin.mjs` — never
55
55
  * hand-edit the version.
56
56
  */
57
- declare const MCP_PIN_SPEC = "@mushi-mushi/mcp@0.31.6";
57
+ declare const MCP_PIN_SPEC = "@mushi-mushi/mcp@0.31.8";
58
58
  interface StdioConfig {
59
59
  command: string;
60
60
  args: string[];
package/dist/clients.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-SHA56ZRG.js";
9
9
 
10
10
  // src/clients.ts
11
- var MCP_PIN_SPEC = "@mushi-mushi/mcp@0.31.6";
11
+ var MCP_PIN_SPEC = "@mushi-mushi/mcp@0.31.8";
12
12
  var PIN_SPEC_RE = /^@mushi-mushi\/mcp@\d+\.\d+\.\d+$/;
13
13
  function pinOf(pinSpec) {
14
14
  return pinSpec && PIN_SPEC_RE.test(pinSpec) ? pinSpec : MCP_PIN_SPEC;
package/dist/index.js CHANGED
@@ -3611,6 +3611,15 @@ var MUSHI_DOCS_INDEX = [
3611
3611
  headings: ["Automated controls", "Audit dashboard", "Generating evidence manually", "Data retention policies", "DSAR (Data Subject Access Request)"],
3612
3612
  excerpt: "Mushi Mushi's SOC 2 readiness, not certification. Nightly evidence for access, retention, DSAR and availability controls, retention per project, DSAR tracking."
3613
3613
  },
3614
+ {
3615
+ title: "What leaves the browser",
3616
+ url: docUrl("/security/what-leaves-the-browser"),
3617
+ route: "/security/what-leaves-the-browser",
3618
+ markdown: "security/what-leaves-the-browser.md",
3619
+ keywords: ["security", "what-leaves-the-browser", "leaves", "browser"],
3620
+ headings: ["What a report carries", "Screenshots", "The pattern scrubber", "Related"],
3621
+ excerpt: "What the Mushi Mushi web SDK sends with a bug report, where each part is filtered, and how to keep private pages out of reports."
3622
+ },
3614
3623
  {
3615
3624
  title: "Self-hosting quickstart",
3616
3625
  url: docUrl("/self-hosting"),
@@ -3630,13 +3639,13 @@ var MUSHI_DOCS_INDEX = [
3630
3639
  excerpt: "Serve the Mushi Mushi console yourself: a static build, a Docker image or Compose. Build it with your backend address, or connect it on first open."
3631
3640
  },
3632
3641
  {
3633
- title: "Docker Compose",
3642
+ title: "Docker (one-command install)",
3634
3643
  url: docUrl("/self-hosting/docker-compose"),
3635
3644
  route: "/self-hosting/docker-compose",
3636
3645
  markdown: "self-hosting/docker-compose.md",
3637
- keywords: ["self-hosting", "self", "hosting", "docker-compose", "docker", "compose"],
3638
- headings: ["Generate the secrets", "Start the stack", "Sign up and sign the CLI in", "What's running", "Upgrade", "Not included", "Production notes"],
3639
- excerpt: "Run the whole Mushi Mushi stack in Docker Compose with no Supabase account. Postgres, auth, storage, every edge function, the console and Caddy, on one machine."
3646
+ keywords: ["self-hosting", "self", "hosting", "docker-compose", "docker", "compose", "one-command", "install"],
3647
+ headings: ["One-command install", "Run the installer", "Open the console", "Add an AI key (optional)", "HTTPS on your own domain", "Any model: your own server or a hosted one", "Day to day", "Point your app and tools at it"],
3648
+ excerpt: "Run all of Mushi Mushi on your own server with one command, no Supabase account. Closed sign-up, HTTPS, backups and updates included."
3640
3649
  },
3641
3650
  {
3642
3651
  title: "Edge functions",
@@ -6006,6 +6015,21 @@ function createMushiServer(config) {
6006
6015
  return wrappedJsonText(data, "nl-query result");
6007
6016
  }
6008
6017
  );
6018
+ async function ingestSetupCall(projectIdForAccountKey) {
6019
+ try {
6020
+ return await apiCall("/v1/sync/ingest-setup");
6021
+ } catch (err) {
6022
+ if (!(err instanceof MushiApiError) || err.code !== "ORG_KEY_NOT_ALLOWED") throw err;
6023
+ if (!projectIdForAccountKey) {
6024
+ throw new MushiApiError(
6025
+ 400,
6026
+ "PROJECT_ID_REQUIRED",
6027
+ "This is an account key: pass projectId (list_projects shows them) to check a project."
6028
+ );
6029
+ }
6030
+ return apiCall(`/v1/admin/projects/${encodeURIComponent(projectIdForAccountKey)}/ingest-setup`);
6031
+ }
6032
+ }
6009
6033
  server.registerTool(
6010
6034
  "diagnose_setup",
6011
6035
  {
@@ -6033,7 +6057,7 @@ function createMushiServer(config) {
6033
6057
  const mode = args.mode ?? "full";
6034
6058
  const resolvedId = args.projectId ?? projectId;
6035
6059
  if (mode === "ingest") {
6036
- const data = await apiCall("/v1/sync/ingest-setup");
6060
+ const data = await ingestSetupCall(resolvedId);
6037
6061
  const failed = data.steps.filter((s) => s.required && !s.complete);
6038
6062
  const summary2 = data.ready ? `Ingest setup complete (${data.required_complete}/${data.required_total}) for ${data.project_name}.` : `Ingest incomplete \u2014 still need: ${failed.map((s) => s.label).join(", ")}.`;
6039
6063
  return jsonResult({
@@ -6123,7 +6147,7 @@ function createMushiServer(config) {
6123
6147
  } catch {
6124
6148
  }
6125
6149
  }
6126
- const ingest = await apiCall("/v1/sync/ingest-setup");
6150
+ const ingest = await ingestSetupCall(resolvedId);
6127
6151
  let dispatchReady = true;
6128
6152
  let dispatchBlock;
6129
6153
  let dispatchChecks = null;
package/dist/server.js CHANGED
@@ -2042,6 +2042,15 @@ var MUSHI_DOCS_INDEX = [
2042
2042
  headings: ["Automated controls", "Audit dashboard", "Generating evidence manually", "Data retention policies", "DSAR (Data Subject Access Request)"],
2043
2043
  excerpt: "Mushi Mushi's SOC 2 readiness, not certification. Nightly evidence for access, retention, DSAR and availability controls, retention per project, DSAR tracking."
2044
2044
  },
2045
+ {
2046
+ title: "What leaves the browser",
2047
+ url: docUrl("/security/what-leaves-the-browser"),
2048
+ route: "/security/what-leaves-the-browser",
2049
+ markdown: "security/what-leaves-the-browser.md",
2050
+ keywords: ["security", "what-leaves-the-browser", "leaves", "browser"],
2051
+ headings: ["What a report carries", "Screenshots", "The pattern scrubber", "Related"],
2052
+ excerpt: "What the Mushi Mushi web SDK sends with a bug report, where each part is filtered, and how to keep private pages out of reports."
2053
+ },
2045
2054
  {
2046
2055
  title: "Self-hosting quickstart",
2047
2056
  url: docUrl("/self-hosting"),
@@ -2061,13 +2070,13 @@ var MUSHI_DOCS_INDEX = [
2061
2070
  excerpt: "Serve the Mushi Mushi console yourself: a static build, a Docker image or Compose. Build it with your backend address, or connect it on first open."
2062
2071
  },
2063
2072
  {
2064
- title: "Docker Compose",
2073
+ title: "Docker (one-command install)",
2065
2074
  url: docUrl("/self-hosting/docker-compose"),
2066
2075
  route: "/self-hosting/docker-compose",
2067
2076
  markdown: "self-hosting/docker-compose.md",
2068
- keywords: ["self-hosting", "self", "hosting", "docker-compose", "docker", "compose"],
2069
- headings: ["Generate the secrets", "Start the stack", "Sign up and sign the CLI in", "What's running", "Upgrade", "Not included", "Production notes"],
2070
- excerpt: "Run the whole Mushi Mushi stack in Docker Compose with no Supabase account. Postgres, auth, storage, every edge function, the console and Caddy, on one machine."
2077
+ keywords: ["self-hosting", "self", "hosting", "docker-compose", "docker", "compose", "one-command", "install"],
2078
+ headings: ["One-command install", "Run the installer", "Open the console", "Add an AI key (optional)", "HTTPS on your own domain", "Any model: your own server or a hosted one", "Day to day", "Point your app and tools at it"],
2079
+ excerpt: "Run all of Mushi Mushi on your own server with one command, no Supabase account. Closed sign-up, HTTPS, backups and updates included."
2071
2080
  },
2072
2081
  {
2073
2082
  title: "Edge functions",
@@ -4456,6 +4465,21 @@ function createMushiServer(config) {
4456
4465
  return wrappedJsonText(data, "nl-query result");
4457
4466
  }
4458
4467
  );
4468
+ async function ingestSetupCall(projectIdForAccountKey) {
4469
+ try {
4470
+ return await apiCall("/v1/sync/ingest-setup");
4471
+ } catch (err) {
4472
+ if (!(err instanceof MushiApiError) || err.code !== "ORG_KEY_NOT_ALLOWED") throw err;
4473
+ if (!projectIdForAccountKey) {
4474
+ throw new MushiApiError(
4475
+ 400,
4476
+ "PROJECT_ID_REQUIRED",
4477
+ "This is an account key: pass projectId (list_projects shows them) to check a project."
4478
+ );
4479
+ }
4480
+ return apiCall(`/v1/admin/projects/${encodeURIComponent(projectIdForAccountKey)}/ingest-setup`);
4481
+ }
4482
+ }
4459
4483
  server.registerTool(
4460
4484
  "diagnose_setup",
4461
4485
  {
@@ -4483,7 +4507,7 @@ function createMushiServer(config) {
4483
4507
  const mode = args.mode ?? "full";
4484
4508
  const resolvedId = args.projectId ?? projectId;
4485
4509
  if (mode === "ingest") {
4486
- const data = await apiCall("/v1/sync/ingest-setup");
4510
+ const data = await ingestSetupCall(resolvedId);
4487
4511
  const failed = data.steps.filter((s) => s.required && !s.complete);
4488
4512
  const summary2 = data.ready ? `Ingest setup complete (${data.required_complete}/${data.required_total}) for ${data.project_name}.` : `Ingest incomplete \u2014 still need: ${failed.map((s) => s.label).join(", ")}.`;
4489
4513
  return jsonResult({
@@ -4573,7 +4597,7 @@ function createMushiServer(config) {
4573
4597
  } catch {
4574
4598
  }
4575
4599
  }
4576
- const ingest = await apiCall("/v1/sync/ingest-setup");
4600
+ const ingest = await ingestSetupCall(resolvedId);
4577
4601
  let dispatchReady = true;
4578
4602
  let dispatchBlock;
4579
4603
  let dispatchChecks = null;
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.31.6",
4
+ "version": "0.31.8",
5
5
  "license": "MIT",
6
6
  "description": "MCP server for Cursor, Claude Code and Copilot. One place to improve AI-built apps: fix bugs, smooth user journeys and clean up the code.",
7
7
  "type": "module",