@evantahler/mcpcli 0.7.1 → 0.7.2

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/src/cli.ts +2 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evantahler/mcpcli",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "A command-line interface for MCP servers. curl for MCP.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.ts CHANGED
@@ -15,14 +15,12 @@ import { registerResourceCommand } from "./commands/resource.ts";
15
15
  import { registerPromptCommand } from "./commands/prompt.ts";
16
16
  import { registerServersCommand } from "./commands/servers.ts";
17
17
 
18
- declare const BUILD_VERSION: string | undefined;
19
-
20
- const version = typeof BUILD_VERSION !== "undefined" ? BUILD_VERSION : "0.1.0-dev";
18
+ import pkg from "../package.json";
21
19
 
22
20
  program
23
21
  .name("mcpcli")
24
22
  .description("A command-line interface for MCP servers. curl for MCP.")
25
- .version(version)
23
+ .version(pkg.version)
26
24
  .option("-c, --config <path>", "config directory path")
27
25
  .option("-d, --with-descriptions", "include tool descriptions in output")
28
26
  .option("-j, --json", "force JSON output")