@yawlabs/mcph 0.55.0 → 0.57.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
@@ -54,7 +54,7 @@ On top of the ranker, mcph applies three client-side signals to dispatch scores:
54
54
  ### One command (recommended)
55
55
 
56
56
  ```bash
57
- npx -y @yawlabs/mcph install <claude-code|claude-desktop|cursor|vscode> --token mcp_pat_your_token_here
57
+ npx -y @yawlabs/mcph@latest install <claude-code|claude-desktop|cursor|vscode> --token mcp_pat_your_token_here
58
58
  ```
59
59
 
60
60
  This:
@@ -86,8 +86,8 @@ Or [edit the JSON by hand](#manual-install) if you'd rather.
86
86
  ### Diagnose problems — `mcph doctor`
87
87
 
88
88
  ```bash
89
- npx -y @yawlabs/mcph doctor # human-readable report
90
- npx -y @yawlabs/mcph doctor --json # machine-readable snapshot for pipelines
89
+ npx -y @yawlabs/mcph@latest doctor # human-readable report
90
+ npx -y @yawlabs/mcph@latest doctor --json # machine-readable snapshot for pipelines
91
91
  ```
92
92
 
93
93
  Prints the loaded config files, your token's source + fingerprint (last 4 chars), the API base URL, installed clients, env overrides, persisted learning state, flaky-namespace reliability rollup, shell-history "shadow" hits (CLIs you run that an MCP server could replace), and an upgrade check against the npm registry. Exits `0` healthy / `1` no token / `2` warnings (e.g. world-readable token file). Paste the text output into a support ticket; the `--json` blob is the same data as a structured snapshot, so dashboards and CI scripts can `jq` instead of parsing the text layout.
@@ -140,7 +140,7 @@ If you'd rather edit the config files yourself, the JSON shapes are:
140
140
  "mcpServers": {
141
141
  "mcp.hosting": {
142
142
  "command": "npx",
143
- "args": ["-y", "@yawlabs/mcph"]
143
+ "args": ["-y", "@yawlabs/mcph@latest"]
144
144
  }
145
145
  }
146
146
  }
@@ -153,13 +153,13 @@ If you'd rather edit the config files yourself, the JSON shapes are:
153
153
  "servers": {
154
154
  "mcp.hosting": {
155
155
  "command": "npx",
156
- "args": ["-y", "@yawlabs/mcph"]
156
+ "args": ["-y", "@yawlabs/mcph@latest"]
157
157
  }
158
158
  }
159
159
  }
160
160
  ```
161
161
 
162
- **Windows** — `command: "cmd", args: ["/c", "npx", "-y", "@yawlabs/mcph"]` (the `cmd /c` wrapper is required because `npx.cmd` is a shim).
162
+ **Windows** — `command: "cmd", args: ["/c", "npx", "-y", "@yawlabs/mcph@latest"]` (the `cmd /c` wrapper is required because `npx.cmd` is a shim).
163
163
 
164
164
  Then put your token in `~/.mcph/config.json` so mcph picks it up at startup:
165
165
 
package/dist/index.js CHANGED
@@ -2785,7 +2785,7 @@ function selectFlakyNamespaces(entries, limit) {
2785
2785
  }
2786
2786
 
2787
2787
  // src/doctor-cmd.ts
2788
- var VERSION = true ? "0.55.0" : "dev";
2788
+ var VERSION = true ? "0.57.0" : "dev";
2789
2789
  async function runDoctor(opts = {}) {
2790
2790
  if (opts.json) return runDoctorJson(opts);
2791
2791
  const lines = [];
@@ -3701,7 +3701,7 @@ Or re-run with --run to upgrade in place.`);
3701
3701
  return { exitCode: 3, lines };
3702
3702
  }
3703
3703
  function readCurrentVersion() {
3704
- return true ? "0.55.0" : "dev";
3704
+ return true ? "0.57.0" : "dev";
3705
3705
  }
3706
3706
 
3707
3707
  // src/auto-upgrade.ts
@@ -3749,7 +3749,7 @@ function defaultSpawn2(cmd, args) {
3749
3749
  async function maybeAutoUpgrade(deps = {}) {
3750
3750
  const optOut = process.env.MCPH_AUTO_UPGRADE;
3751
3751
  if (optOut === "0" || optOut?.toLowerCase() === "false") return;
3752
- const current = deps.currentVersion ?? (true ? "0.55.0" : "dev");
3752
+ const current = deps.currentVersion ?? (true ? "0.57.0" : "dev");
3753
3753
  if (current === "dev") return;
3754
3754
  const method = detectInstallMethod(deps.argvPath ?? process.argv[1]);
3755
3755
  const latest = await (deps.fetchLatestImpl ?? fetchLatestVersion2)();
@@ -5926,7 +5926,7 @@ function categorizeSpawnError(err) {
5926
5926
  }
5927
5927
  async function connectToUpstream(config, onDisconnect, onListChanged) {
5928
5928
  const client = new Client(
5929
- { name: "mcph", version: true ? "0.55.0" : "dev" },
5929
+ { name: "mcph", version: true ? "0.57.0" : "dev" },
5930
5930
  { capabilities: {} }
5931
5931
  );
5932
5932
  let transport;
@@ -6234,7 +6234,7 @@ var ConnectServer = class _ConnectServer {
6234
6234
  this.apiUrl = apiUrl6;
6235
6235
  this.token = token6;
6236
6236
  this.server = new Server(
6237
- { name: "mcph", version: true ? "0.55.0" : "dev" },
6237
+ { name: "mcph", version: true ? "0.57.0" : "dev" },
6238
6238
  {
6239
6239
  capabilities: {
6240
6240
  tools: { listChanged: true },
@@ -8656,7 +8656,7 @@ if (subcommand === "compliance") {
8656
8656
  `);
8657
8657
  process.exit(0);
8658
8658
  } else if (subcommand === "--version" || subcommand === "-V") {
8659
- process.stdout.write(`mcph ${true ? "0.55.0" : "dev"}
8659
+ process.stdout.write(`mcph ${true ? "0.57.0" : "dev"}
8660
8660
  `);
8661
8661
  process.exit(0);
8662
8662
  } else if (subcommand && !subcommand.startsWith("-")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yawlabs/mcph",
3
- "version": "0.55.0",
3
+ "version": "0.57.0",
4
4
  "description": "mcp.hosting — one install, all your MCP servers, managed from the cloud",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Yaw Labs <support@mcp.hosting> (https://mcp.hosting)",