@kubb/mcp 5.0.0-beta.9 → 5.0.0-beta.91

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.d.ts CHANGED
@@ -1,16 +1,21 @@
1
- import { t as __name } from "./chunk--u3MIqq1.js";
1
+ import { n as __name } from "./rolldown-runtime-G2anUtha.js";
2
2
  import { McpServer } from "tmcp";
3
- import * as _$valibot from "valibot";
4
3
 
5
4
  //#region src/server.d.ts
6
- type ServerOptions = {
7
- port?: number;
8
- host?: string;
9
- };
10
- declare function createMcpServer(): McpServer<_$valibot.GenericSchema, undefined>;
5
+ /**
6
+ * Builds the Kubb MCP server with the generate, validate, and init tools registered.
7
+ *
8
+ * @example
9
+ * `const server = createMcpServer()`
10
+ */
11
+ declare function createMcpServer(): McpServer<import("valibot").GenericSchema, undefined>;
11
12
  //#endregion
12
13
  //#region src/index.d.ts
13
- declare function run(_argv?: string[], options?: ServerOptions): Promise<void>;
14
+ /**
15
+ * Entry point that starts the MCP server over stdio. The argument is accepted
16
+ * for CLI parity but ignored.
17
+ */
18
+ declare function run(_argv?: Array<string>): Promise<void>;
14
19
  //#endregion
15
- export { type ServerOptions, createMcpServer, run };
20
+ export { createMcpServer, run };
16
21
  //# sourceMappingURL=index.d.ts.map