From f6434fd67ef653746de029948e9b42afd018f190 Mon Sep 17 00:00:00 2001 From: "D. Michael Piscitelli" Date: Fri, 13 Mar 2026 07:16:02 +0100 Subject: [PATCH] Add missing runtime dependencies for strict package managers When installed with strict package managers like pnpm, the published package fails because bundled workspace files import packages not declared in the root package.json. Add the 5 missing runtime dependencies that are directly imported by files in the `files` array: - commander (cli/src/cli.ts, cli/src/index.ts) - cors (server/src/index.ts) - express (server/src/index.ts) - express-rate-limit (server/src/index.ts) - serve-handler (client/bin/client.js) Fixes #873 --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index bd2e09158..031b4f228 100644 --- a/package.json +++ b/package.json @@ -52,9 +52,14 @@ "@modelcontextprotocol/inspector-client": "^0.21.1", "@modelcontextprotocol/inspector-server": "^0.21.1", "@modelcontextprotocol/sdk": "^1.25.2", + "commander": "^13.1.0", "concurrently": "^9.2.0", + "cors": "^2.8.5", + "express": "^5.2.1", + "express-rate-limit": "^8.2.1", "node-fetch": "^3.3.2", "open": "^10.2.0", + "serve-handler": "^6.1.6", "shell-quote": "^1.8.3", "spawn-rx": "^5.1.2", "ts-node": "^10.9.2",