mcp-server-classpass 0.1.0 → 0.2.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/postinstall.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-server-classpass",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "MCP server for searching and booking ClassPass classes",
5
5
  "repository": {
6
6
  "type": "git",
package/postinstall.js CHANGED
@@ -157,8 +157,9 @@ async function installBinary() {
157
157
  // extract only the binary into npm directory (archive contains binary at root)
158
158
  const tmpFile = path.join(os.tmpdir(), `${REPO}-${Date.now()}.tar.gz`);
159
159
  fs.writeFileSync(tmpFile, tarGz);
160
+ // stdout stays untouched: it carries the protocol when index.js installs on first run of a stdio server.
160
161
  const tarRes = spawnSync("tar", ["-xzf", tmpFile, "-C", outDir, exe], {
161
- stdio: "inherit",
162
+ stdio: ["ignore", 2, 2],
162
163
  });
163
164
  if (tarRes.status !== 0) {
164
165
  throw new Error("postinstall: failed to extract binary");