@ivotoby/openapi-mcp-server 1.8.4 → 1.9.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.
package/dist/bundle.js CHANGED
@@ -24557,9 +24557,6 @@ async function main() {
24557
24557
  process.exit(1);
24558
24558
  }
24559
24559
  }
24560
- if (import.meta.url === `file://${process.argv[1]}`) {
24561
- main();
24562
- }
24563
24560
  export {
24564
24561
  ApiClient,
24565
24562
  OpenAPIServer,
package/dist/cli.js CHANGED
@@ -24557,9 +24557,6 @@ async function main() {
24557
24557
  process.exit(1);
24558
24558
  }
24559
24559
  }
24560
- if (import.meta.url === `file://${process.argv[1]}`) {
24561
- main();
24562
- }
24563
24560
 
24564
24561
  // src/cli.ts
24565
24562
  main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivotoby/openapi-mcp-server",
3
- "version": "1.8.4",
3
+ "version": "1.9.0",
4
4
  "description": "An MCP server that exposes OpenAPI endpoints as resources",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -9,9 +9,7 @@
9
9
  "type": "git",
10
10
  "url": "https://github.com/ivo-toby/mcp-openapi-server"
11
11
  },
12
- "bin": {
13
- "mcp-server-openapi": "./bin/mcp-server.js"
14
- },
12
+ "bin": "./bin/mcp-server.js",
15
13
  "files": [
16
14
  "dist"
17
15
  ],