moshcode 0.54.0 → 0.56.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
@@ -440,6 +440,19 @@ moshcode railway up
440
440
  moshcode doctl compute droplet list
441
441
  ```
442
442
 
443
+ ### MCP server testing
444
+
445
+ ```sh
446
+ moshcode install mcpjam # npm i -g @mcpjam/cli
447
+
448
+ moshcode mcpjam --help # straight through to the native CLI
449
+ ```
450
+
451
+ MCPJam is the companion to `moshcode mcp`: `mcp` registers a server across your
452
+ engines, `mcpjam` tells you whether that server is healthy first — health
453
+ checks, OAuth conformance, tool-surface diffing, and structured triage from the
454
+ terminal or CI. Re-running `moshcode install mcpjam` is also its upgrade path.
455
+
443
456
  `gh`, `supabase`, and `doctl` publish no cross-platform install script, so
444
457
  MoshCode resolves the latest GitHub release and drops the binary in
445
458
  `$MOSHCODE_BIN` (default `~/.local/bin`) — no sudo, no package manager. Set
@@ -1069,6 +1082,7 @@ chmod +x deploy.mosh
1069
1082
  | `turso(args…)` | drive the Turso CLI |
1070
1083
  | `tailscale(args…)` | drive the Tailscale CLI |
1071
1084
  | `coral(args…)` | drive the Coral CLI (SQL over APIs, databases, internal systems) |
1085
+ | `mcpjam(args…)` | drive the MCPJam CLI (test, debug, and validate MCP servers) |
1072
1086
  | `pwd()` | print the current repo/location |
1073
1087
  | `run(file)` | run another .mosh file (include/compose) |
1074
1088
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moshcode",
3
- "version": "0.54.0",
3
+ "version": "0.56.0",
4
4
  "type": "module",
5
5
  "description": "moshcode — a metal wrapper for coding engines and native UGig/CoinPay workflow CLIs, with OpenPRD and moshscript",
6
6
  "repository": {
package/src/commands.mjs CHANGED
@@ -354,6 +354,7 @@ const COMMANDS = [
354
354
  cliVerb("tailscale", "drive the Tailscale CLI (mesh VPN: up, status, ssh, serve)"),
355
355
  cliVerb("coral", "drive the Coral CLI (SQL over APIs, databases, and internal systems)"),
356
356
  cliVerb("alpaca", "drive the native Alpaca trading CLI"),
357
+ cliVerb("mcpjam", "drive the MCPJam CLI (test, debug, and validate MCP servers)"),
357
358
  cliVerb("trade", "look up tickers, inspect markets, and preview/place Alpaca orders"),
358
359
  cliVerb("pwd", "print the current repo/location"),
359
360
  ];
package/src/tools.mjs CHANGED
@@ -160,6 +160,15 @@ export const TOOLS = {
160
160
  },
161
161
  installHelp: "Go is required to install Alpaca; install Go, then retry `moshcode install alpaca`.",
162
162
  },
163
+ mcpjam: {
164
+ desc: "MCPJam — test, debug, and validate MCP servers (health, OAuth, tool-surface diffs)",
165
+ bin: "mcpjam",
166
+ // The companion to `moshcode mcp`: that registers a server across engines,
167
+ // this one tells you whether the server is actually worth registering.
168
+ // Published as an ordinary global npm package, and `npm install -g` is
169
+ // idempotent, so it doubles as the upgrade path — no `upgrade` key needed.
170
+ install: { cmd: "npm", args: ["install", "-g", "@mcpjam/cli"] },
171
+ },
163
172
  };
164
173
 
165
174
  /** Resolve a name to `[key, tool]`, or null. */