apifox-mcp-server 0.0.2 → 0.0.4

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/index.js +3 -3
  2. package/package.json +4 -1
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/env node
1
+ #!/usr/bin/env node
2
2
  "use strict";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -11054,7 +11054,7 @@ var require_main2 = __commonJS({
11054
11054
  init_mcp();
11055
11055
  init_stdio2();
11056
11056
  init_esm2();
11057
- var program2 = program.version("0.1.0", "-V, --version").name("Apifox Mcp Server").description("Apifox Mcp Server");
11057
+ var program2 = program.version("0.0.4", "-V, --version").name("Apifox Mcp Server").description("Apifox Mcp Server");
11058
11058
  program2.option("-t, --token <token>", "Apifox User Access Token").action((options) => __async(exports2, null, function* () {
11059
11059
  import_dotenv.default.config();
11060
11060
  const token = options.token || process.env.APIFOX_USER_ACCESS_TOKEN || "";
@@ -11064,7 +11064,7 @@ var require_main2 = __commonJS({
11064
11064
  }
11065
11065
  const mcpServer = new McpServer({
11066
11066
  name: `Apifox MCP Server`,
11067
- version: "0.1.0",
11067
+ version: "0.0.4",
11068
11068
  description: "Apifox MCP Server",
11069
11069
  capabilities: {
11070
11070
  tool: true
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "main": "index.js",
3
+ "bin": {
4
+ "apifox-mcp-server": "./index.js"
5
+ },
3
6
  "name": "apifox-mcp-server",
4
- "version": "0.0.2",
7
+ "version": "0.0.4",
5
8
  "description": "Apifox MCP Server",
6
9
  "keywords": [
7
10
  "apifox",