@ivotoby/openapi-mcp-server 1.8.4 → 1.9.1

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
@@ -15667,6 +15667,9 @@ function toFormData(obj, formData, options) {
15667
15667
  if (utils_default.isDate(value)) {
15668
15668
  return value.toISOString();
15669
15669
  }
15670
+ if (utils_default.isBoolean(value)) {
15671
+ return value.toString();
15672
+ }
15670
15673
  if (!useBlob && utils_default.isBlob(value)) {
15671
15674
  throw new AxiosError_default("Blob is not supported. Use a Buffer instead.");
15672
15675
  }
@@ -16450,7 +16453,7 @@ import util2 from "util";
16450
16453
  import zlib from "zlib";
16451
16454
 
16452
16455
  // node_modules/axios/lib/env/data.js
16453
- var VERSION = "1.9.0";
16456
+ var VERSION = "1.10.0";
16454
16457
 
16455
16458
  // node_modules/axios/lib/helpers/parseProtocol.js
16456
16459
  function parseProtocol(url2) {
@@ -17862,7 +17865,7 @@ var fetch_default = isFetchSupported && (async (config) => {
17862
17865
  duplex: "half",
17863
17866
  credentials: isCredentialsSupported ? withCredentials : void 0
17864
17867
  });
17865
- let response = await fetch(request);
17868
+ let response = await fetch(request, fetchOptions);
17866
17869
  const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
17867
17870
  if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
17868
17871
  const options = {};
@@ -24557,9 +24560,6 @@ async function main() {
24557
24560
  process.exit(1);
24558
24561
  }
24559
24562
  }
24560
- if (import.meta.url === `file://${process.argv[1]}`) {
24561
- main();
24562
- }
24563
24563
  export {
24564
24564
  ApiClient,
24565
24565
  OpenAPIServer,
package/dist/cli.js CHANGED
@@ -15667,6 +15667,9 @@ function toFormData(obj, formData, options) {
15667
15667
  if (utils_default.isDate(value)) {
15668
15668
  return value.toISOString();
15669
15669
  }
15670
+ if (utils_default.isBoolean(value)) {
15671
+ return value.toString();
15672
+ }
15670
15673
  if (!useBlob && utils_default.isBlob(value)) {
15671
15674
  throw new AxiosError_default("Blob is not supported. Use a Buffer instead.");
15672
15675
  }
@@ -16450,7 +16453,7 @@ import util2 from "util";
16450
16453
  import zlib from "zlib";
16451
16454
 
16452
16455
  // node_modules/axios/lib/env/data.js
16453
- var VERSION = "1.9.0";
16456
+ var VERSION = "1.10.0";
16454
16457
 
16455
16458
  // node_modules/axios/lib/helpers/parseProtocol.js
16456
16459
  function parseProtocol(url2) {
@@ -17862,7 +17865,7 @@ var fetch_default = isFetchSupported && (async (config) => {
17862
17865
  duplex: "half",
17863
17866
  credentials: isCredentialsSupported ? withCredentials : void 0
17864
17867
  });
17865
- let response = await fetch(request);
17868
+ let response = await fetch(request, fetchOptions);
17866
17869
  const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
17867
17870
  if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
17868
17871
  const options = {};
@@ -24557,9 +24560,6 @@ async function main() {
24557
24560
  process.exit(1);
24558
24561
  }
24559
24562
  }
24560
- if (import.meta.url === `file://${process.argv[1]}`) {
24561
- main();
24562
- }
24563
24563
 
24564
24564
  // src/cli.ts
24565
24565
  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.1",
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
  ],
@@ -34,35 +32,35 @@
34
32
  "test:coverage": "vitest run --coverage --config vitest.config.ts"
35
33
  },
36
34
  "dependencies": {
37
- "@modelcontextprotocol/sdk": "1.11.1",
38
- "axios": "^1.8.4",
35
+ "@modelcontextprotocol/sdk": "1.16.0",
36
+ "axios": "^1.10.0",
39
37
  "openapi-types": "^12.1.3",
40
38
  "yargs": "^17.7.2"
41
39
  },
42
40
  "devDependencies": {
43
- "@eslint/js": "^9.19.0",
44
- "@semantic-release/commit-analyzer": "^11.1.0",
45
- "@semantic-release/github": "^9.2.6",
46
- "@semantic-release/npm": "^11.0.3",
41
+ "@semantic-release/commit-analyzer": "^13.0.1",
42
+ "@semantic-release/github": "^11.0.3",
43
+ "@semantic-release/npm": "^12.0.2",
47
44
  "@semantic-release/release-notes-generator": "^12.1.0",
48
45
  "@types/js-yaml": "^4.0.9",
49
46
  "@types/node": "^22.13.11",
50
47
  "@types/yargs": "^17.0.33",
51
- "@typescript-eslint/eslint-plugin": "^6.12.0",
52
- "@typescript-eslint/parser": "^6.12.0",
53
- "@vitest/coverage-v8": "^3.1.3",
54
- "dotenv": "^16.4.7",
55
- "esbuild": "^0.25.1",
56
- "eslint": "^8.57.1",
57
- "eslint-config-prettier": "^10.1.5",
58
- "eslint-plugin-perfectionist": "^4.7.0",
59
- "eslint-plugin-prettier": "^5.4.0",
60
- "msw": "^2.7.0",
48
+ "@vitest/coverage-v8": "^3.2.4",
49
+ "dotenv": "^17.2.0",
50
+ "esbuild": "^0.25.8",
51
+ "eslint": "^9.31.0",
52
+ "@eslint/js": "^9.31.0",
53
+ "@typescript-eslint/eslint-plugin": "^8.37.0",
54
+ "@typescript-eslint/parser": "^8.37.0",
55
+ "eslint-config-prettier": "^10.1.8",
56
+ "eslint-plugin-perfectionist": "^4.15.0",
57
+ "eslint-plugin-prettier": "^5.5.3",
58
+ "msw": "^2.10.4",
61
59
  "nodemon": "^3.1.7",
62
- "prettier": "^3.4.2",
63
- "semantic-release": "^22.0.12",
60
+ "prettier": "^3.6.2",
61
+ "semantic-release": "^24.2.7",
64
62
  "typescript": "^5.3.2",
65
- "typescript-eslint": "^8.22.0",
66
- "vitest": "^3.1.3"
63
+ "typescript-eslint": "^8.37.0",
64
+ "vitest": "^3.2.4"
67
65
  }
68
66
  }