@kubb/mcp 5.10.2 → 5.10.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.
package/dist/index.cjs CHANGED
@@ -41,7 +41,7 @@ let tmcp_utils = require("tmcp/utils");
41
41
  let node_util = require("node:util");
42
42
  let _kubb_adapter_oas = require("@kubb/adapter-oas");
43
43
  //#region package.json
44
- var version = "5.10.2";
44
+ var version = "5.10.4";
45
45
  //#endregion
46
46
  //#region ../../internals/shared/src/constants.ts
47
47
  const KUBB_CONFIG_FILENAME = "kubb.config.ts";
@@ -0,0 +1,18 @@
1
+ import { McpServer } from "tmcp";
2
+ import * as z from "zod/mini";
3
+ //#region src/server.d.ts
4
+ /**
5
+ * Builds the Kubb MCP server with the generate, validate, and init tools registered.
6
+ *
7
+ * @example
8
+ * `const server = createMcpServer()`
9
+ */
10
+ export declare function createMcpServer(): McpServer<z.ZodMiniType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, undefined>;
11
+ /**
12
+ * Starts the Kubb MCP server over stdio, the transport every local MCP client
13
+ * (Claude, Copilot, editors) uses when it launches the server as a subprocess.
14
+ */
15
+ declare function startServer(): McpServer<z.ZodMiniType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, undefined>;
16
+ //#endregion
17
+ export { startServer as run };
18
+ //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
2
1
  import { McpServer } from "tmcp";
3
2
  import * as z from "zod/mini";
4
3
  //#region src/server.d.ts
package/dist/index.js CHANGED
@@ -1,4 +1,3 @@
1
- import "./rolldown-runtime-C0LytTxp.js";
2
1
  import { StdioTransport } from "@tmcp/transport-stdio";
3
2
  import { McpServer } from "tmcp";
4
3
  import { JsonSchemaAdapter } from "tmcp/adapter";
@@ -14,8 +13,9 @@ import { defineTool } from "tmcp/tool";
14
13
  import { tool } from "tmcp/utils";
15
14
  import { stripVTControlCharacters } from "node:util";
16
15
  import { adapterOas } from "@kubb/adapter-oas";
16
+ //#endregion
17
17
  //#region package.json
18
- var version = "5.10.2";
18
+ var version = "5.10.4";
19
19
  //#endregion
20
20
  //#region ../../internals/shared/src/constants.ts
21
21
  const KUBB_CONFIG_FILENAME = "kubb.config.ts";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/mcp",
3
- "version": "5.10.2",
3
+ "version": "5.10.4",
4
4
  "description": "MCP server for Kubb. Exposes code generation as a tool over the Model Context Protocol so AI assistants like Claude, Cursor, and other MCP-compatible clients can generate TypeScript types, clients, and more.",
5
5
  "keywords": [
6
6
  "ai",
@@ -51,9 +51,14 @@
51
51
  "types": "./dist/index.d.ts",
52
52
  "exports": {
53
53
  ".": {
54
- "types": "./dist/index.d.ts",
55
- "import": "./dist/index.js",
56
- "require": "./dist/index.cjs"
54
+ "import": {
55
+ "types": "./dist/index.d.ts",
56
+ "default": "./dist/index.js"
57
+ },
58
+ "require": {
59
+ "types": "./dist/index.d.cts",
60
+ "default": "./dist/index.cjs"
61
+ }
57
62
  },
58
63
  "./package.json": "./package.json"
59
64
  },
@@ -62,8 +67,8 @@
62
67
  "registry": "https://registry.npmjs.org/"
63
68
  },
64
69
  "dependencies": {
65
- "@kubb/adapter-oas": "5.10.2",
66
- "@kubb/core": "5.10.2",
70
+ "@kubb/adapter-oas": "5.10.4",
71
+ "@kubb/core": "5.10.4",
67
72
  "@tmcp/transport-stdio": "^0.5.0",
68
73
  "jiti": "^2.7.0",
69
74
  "tmcp": "^1.20.0",
@@ -72,13 +77,13 @@
72
77
  "devDependencies": {
73
78
  "@internals/shared": "0.0.1",
74
79
  "@internals/utils": "0.0.1",
75
- "@kubb/renderer-jsx": "5.10.2"
80
+ "@kubb/renderer-jsx": "5.10.4"
76
81
  },
77
82
  "peerDependencies": {
78
- "@kubb/renderer-jsx": "5.10.2"
83
+ "@kubb/renderer-jsx": "5.10.4"
79
84
  },
80
85
  "engines": {
81
- "node": ">=22"
86
+ "node": ">=22.12"
82
87
  },
83
88
  "scripts": {
84
89
  "build": "tsdown",
@@ -1,8 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __defProp = Object.defineProperty;
3
- var __name = (target, value) => __defProp(target, "name", {
4
- value,
5
- configurable: true
6
- });
7
- //#endregion
8
- export { __name as t };