@mushi-mushi/mcp 0.31.6 → 0.31.7
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 +1 -1
- package/dist/clients.d.ts +1 -1
- package/dist/clients.js +1 -1
- package/dist/index.js +21 -6
- package/dist/server.js +21 -6
- package/package.json +1 -1
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.
|
|
34
|
+
"args": ["-y", "@mushi-mushi/mcp@0.31.7"],
|
|
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.
|
|
57
|
+
declare const MCP_PIN_SPEC = "@mushi-mushi/mcp@0.31.7";
|
|
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.
|
|
11
|
+
var MCP_PIN_SPEC = "@mushi-mushi/mcp@0.31.7";
|
|
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
|
@@ -3630,13 +3630,13 @@ var MUSHI_DOCS_INDEX = [
|
|
|
3630
3630
|
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
3631
|
},
|
|
3632
3632
|
{
|
|
3633
|
-
title: "Docker
|
|
3633
|
+
title: "Docker (one-command install)",
|
|
3634
3634
|
url: docUrl("/self-hosting/docker-compose"),
|
|
3635
3635
|
route: "/self-hosting/docker-compose",
|
|
3636
3636
|
markdown: "self-hosting/docker-compose.md",
|
|
3637
|
-
keywords: ["self-hosting", "self", "hosting", "docker-compose", "docker", "compose"],
|
|
3638
|
-
headings: ["
|
|
3639
|
-
excerpt: "Run
|
|
3637
|
+
keywords: ["self-hosting", "self", "hosting", "docker-compose", "docker", "compose", "one-command", "install"],
|
|
3638
|
+
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"],
|
|
3639
|
+
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
3640
|
},
|
|
3641
3641
|
{
|
|
3642
3642
|
title: "Edge functions",
|
|
@@ -6006,6 +6006,21 @@ function createMushiServer(config) {
|
|
|
6006
6006
|
return wrappedJsonText(data, "nl-query result");
|
|
6007
6007
|
}
|
|
6008
6008
|
);
|
|
6009
|
+
async function ingestSetupCall(projectIdForAccountKey) {
|
|
6010
|
+
try {
|
|
6011
|
+
return await apiCall("/v1/sync/ingest-setup");
|
|
6012
|
+
} catch (err) {
|
|
6013
|
+
if (!(err instanceof MushiApiError) || err.code !== "ORG_KEY_NOT_ALLOWED") throw err;
|
|
6014
|
+
if (!projectIdForAccountKey) {
|
|
6015
|
+
throw new MushiApiError(
|
|
6016
|
+
400,
|
|
6017
|
+
"PROJECT_ID_REQUIRED",
|
|
6018
|
+
"This is an account key: pass projectId (list_projects shows them) to check a project."
|
|
6019
|
+
);
|
|
6020
|
+
}
|
|
6021
|
+
return apiCall(`/v1/admin/projects/${encodeURIComponent(projectIdForAccountKey)}/ingest-setup`);
|
|
6022
|
+
}
|
|
6023
|
+
}
|
|
6009
6024
|
server.registerTool(
|
|
6010
6025
|
"diagnose_setup",
|
|
6011
6026
|
{
|
|
@@ -6033,7 +6048,7 @@ function createMushiServer(config) {
|
|
|
6033
6048
|
const mode = args.mode ?? "full";
|
|
6034
6049
|
const resolvedId = args.projectId ?? projectId;
|
|
6035
6050
|
if (mode === "ingest") {
|
|
6036
|
-
const data = await
|
|
6051
|
+
const data = await ingestSetupCall(resolvedId);
|
|
6037
6052
|
const failed = data.steps.filter((s) => s.required && !s.complete);
|
|
6038
6053
|
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
6054
|
return jsonResult({
|
|
@@ -6123,7 +6138,7 @@ function createMushiServer(config) {
|
|
|
6123
6138
|
} catch {
|
|
6124
6139
|
}
|
|
6125
6140
|
}
|
|
6126
|
-
const ingest = await
|
|
6141
|
+
const ingest = await ingestSetupCall(resolvedId);
|
|
6127
6142
|
let dispatchReady = true;
|
|
6128
6143
|
let dispatchBlock;
|
|
6129
6144
|
let dispatchChecks = null;
|
package/dist/server.js
CHANGED
|
@@ -2061,13 +2061,13 @@ var MUSHI_DOCS_INDEX = [
|
|
|
2061
2061
|
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
2062
|
},
|
|
2063
2063
|
{
|
|
2064
|
-
title: "Docker
|
|
2064
|
+
title: "Docker (one-command install)",
|
|
2065
2065
|
url: docUrl("/self-hosting/docker-compose"),
|
|
2066
2066
|
route: "/self-hosting/docker-compose",
|
|
2067
2067
|
markdown: "self-hosting/docker-compose.md",
|
|
2068
|
-
keywords: ["self-hosting", "self", "hosting", "docker-compose", "docker", "compose"],
|
|
2069
|
-
headings: ["
|
|
2070
|
-
excerpt: "Run
|
|
2068
|
+
keywords: ["self-hosting", "self", "hosting", "docker-compose", "docker", "compose", "one-command", "install"],
|
|
2069
|
+
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"],
|
|
2070
|
+
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
2071
|
},
|
|
2072
2072
|
{
|
|
2073
2073
|
title: "Edge functions",
|
|
@@ -4456,6 +4456,21 @@ function createMushiServer(config) {
|
|
|
4456
4456
|
return wrappedJsonText(data, "nl-query result");
|
|
4457
4457
|
}
|
|
4458
4458
|
);
|
|
4459
|
+
async function ingestSetupCall(projectIdForAccountKey) {
|
|
4460
|
+
try {
|
|
4461
|
+
return await apiCall("/v1/sync/ingest-setup");
|
|
4462
|
+
} catch (err) {
|
|
4463
|
+
if (!(err instanceof MushiApiError) || err.code !== "ORG_KEY_NOT_ALLOWED") throw err;
|
|
4464
|
+
if (!projectIdForAccountKey) {
|
|
4465
|
+
throw new MushiApiError(
|
|
4466
|
+
400,
|
|
4467
|
+
"PROJECT_ID_REQUIRED",
|
|
4468
|
+
"This is an account key: pass projectId (list_projects shows them) to check a project."
|
|
4469
|
+
);
|
|
4470
|
+
}
|
|
4471
|
+
return apiCall(`/v1/admin/projects/${encodeURIComponent(projectIdForAccountKey)}/ingest-setup`);
|
|
4472
|
+
}
|
|
4473
|
+
}
|
|
4459
4474
|
server.registerTool(
|
|
4460
4475
|
"diagnose_setup",
|
|
4461
4476
|
{
|
|
@@ -4483,7 +4498,7 @@ function createMushiServer(config) {
|
|
|
4483
4498
|
const mode = args.mode ?? "full";
|
|
4484
4499
|
const resolvedId = args.projectId ?? projectId;
|
|
4485
4500
|
if (mode === "ingest") {
|
|
4486
|
-
const data = await
|
|
4501
|
+
const data = await ingestSetupCall(resolvedId);
|
|
4487
4502
|
const failed = data.steps.filter((s) => s.required && !s.complete);
|
|
4488
4503
|
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
4504
|
return jsonResult({
|
|
@@ -4573,7 +4588,7 @@ function createMushiServer(config) {
|
|
|
4573
4588
|
} catch {
|
|
4574
4589
|
}
|
|
4575
4590
|
}
|
|
4576
|
-
const ingest = await
|
|
4591
|
+
const ingest = await ingestSetupCall(resolvedId);
|
|
4577
4592
|
let dispatchReady = true;
|
|
4578
4593
|
let dispatchBlock;
|
|
4579
4594
|
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.
|
|
4
|
+
"version": "0.31.7",
|
|
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",
|