mcp-proxy 6.1.9 → 6.1.10

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.
@@ -5010,9 +5010,10 @@ var StdioClientTransport = class {
5010
5010
 
5011
5011
  //#endregion
5012
5012
  //#region src/bin/mcp-proxy.ts
5013
+ const packageJson = createRequire(import.meta.url)("../../package.json");
5013
5014
  util.inspect.defaultOptions.depth = 8;
5014
5015
  if (!("EventSource" in global)) global.EventSource = EventSource;
5015
- const argv = await yargs_default(hideBin(process.argv)).scriptName("mcp-proxy").command("$0 [command] [args...]", "Proxy an MCP stdio server over HTTP").positional("command", {
5016
+ const argv = await yargs_default(hideBin(process.argv)).scriptName("mcp-proxy").version(packageJson.version).command("$0 [command] [args...]", "Proxy an MCP stdio server over HTTP").positional("command", {
5016
5017
  describe: "The command to run",
5017
5018
  type: "string"
5018
5019
  }).positional("args", {