@kubb/plugin-mcp 5.5.0 → 5.5.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/index.cjs +28 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +35 -10
- package/dist/index.js.map +1 -1
- package/docs/guides/server.md +1 -1
- package/docs/options.md +1 -1
- package/docs/overview.md +2 -1
- package/kubb-extension.json +7 -20
- package/package.json +6 -6
package/kubb-extension.json
CHANGED
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"github": "stijnvanhulle"
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
|
-
"dependencies": ["plugin-
|
|
21
|
+
"dependencies": ["plugin-zod"],
|
|
22
|
+
"optionalDependencies": ["plugin-ts"],
|
|
22
23
|
"compatibility": {
|
|
23
24
|
"kubb": ">=5.18.4",
|
|
24
25
|
"node": ">=22.22"
|
|
@@ -75,29 +76,11 @@
|
|
|
75
76
|
}
|
|
76
77
|
]
|
|
77
78
|
},
|
|
78
|
-
{
|
|
79
|
-
"key": "outputMode",
|
|
80
|
-
"path": ["output", "mode"],
|
|
81
|
-
"label": "Output Mode",
|
|
82
|
-
"description": "How the plugin consolidates its code into files. File mode writes everything into a single file, so the output path must include a file extension and cannot be grouped.",
|
|
83
|
-
"type": "select",
|
|
84
|
-
"default": "directory",
|
|
85
|
-
"choices": [
|
|
86
|
-
{
|
|
87
|
-
"label": "directory (one file per schema)",
|
|
88
|
-
"value": "directory"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"label": "file (single file)",
|
|
92
|
-
"value": "file"
|
|
93
|
-
}
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
79
|
{
|
|
97
80
|
"key": "client",
|
|
98
81
|
"path": ["client"],
|
|
99
82
|
"label": "Client",
|
|
100
|
-
"description": "HTTP client the generated handlers call. Only needed to disambiguate when
|
|
83
|
+
"description": "HTTP client the generated handlers call. Only needed to disambiguate when several client plugins are enabled",
|
|
101
84
|
"type": "select",
|
|
102
85
|
"default": null,
|
|
103
86
|
"choices": [
|
|
@@ -112,6 +95,10 @@
|
|
|
112
95
|
{
|
|
113
96
|
"label": "axios",
|
|
114
97
|
"value": "axios"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"label": "client",
|
|
101
|
+
"value": "client"
|
|
115
102
|
}
|
|
116
103
|
]
|
|
117
104
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-mcp",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"description": "Generate Model Context Protocol (MCP) tool definitions with Kubb. Expose your REST APIs as AI-callable tools for LLMs, Claude, ChatGPT, and other AI assistants.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"registry": "https://registry.npmjs.org/"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@kubb/kit": "^5.18.
|
|
72
|
-
"@kubb/plugin-ts": "^5.5.
|
|
73
|
-
"@kubb/plugin-zod": "^5.9.
|
|
74
|
-
"@kubb/renderer-jsx": "^5.18.
|
|
71
|
+
"@kubb/kit": "^5.18.8",
|
|
72
|
+
"@kubb/plugin-ts": "^5.5.1",
|
|
73
|
+
"@kubb/plugin-zod": "^5.9.1",
|
|
74
|
+
"@kubb/renderer-jsx": "^5.18.8"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@internals/client": "0.0.0",
|
|
78
78
|
"@internals/shared": "0.0.0",
|
|
79
79
|
"@internals/utils": "0.0.0",
|
|
80
|
-
"@kubb/plugin-client": "6.0.
|
|
80
|
+
"@kubb/plugin-client": "6.0.1",
|
|
81
81
|
"@modelcontextprotocol/server": "^2.4.0",
|
|
82
82
|
"zod": "^4.6.7"
|
|
83
83
|
},
|