@kubb/plugin-mcp 5.0.0-beta.10 → 5.0.0-beta.103
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/README.md +22 -25
- package/dist/index.cjs +520 -679
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +171 -134
- package/dist/index.js +498 -656
- package/dist/index.js.map +1 -1
- package/package.json +11 -24
- package/extension.yaml +0 -463
- package/src/components/McpHandler.tsx +0 -167
- package/src/components/Server.tsx +0 -154
- package/src/generators/mcpGenerator.tsx +0 -79
- package/src/generators/serverGenerator.tsx +0 -146
- package/src/index.ts +0 -11
- package/src/plugin.ts +0 -122
- package/src/resolvers/resolverMcp.ts +0 -31
- package/src/types.ts +0 -88
- package/src/utils.ts +0 -64
- /package/dist/{chunk--u3MIqq1.js → rolldown-runtime-C0LytTxp.js} +0 -0
package/README.md
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<h1>@kubb/plugin-mcp</h1>
|
|
3
2
|
<a href="https://kubb.dev" target="_blank" rel="noopener noreferrer">
|
|
4
|
-
<img
|
|
3
|
+
<img src="https://kubb.dev/og.png" alt="Kubb banner">
|
|
5
4
|
</a>
|
|
6
5
|
|
|
7
6
|
[![npm version][npm-version-src]][npm-version-href]
|
|
8
7
|
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
9
|
-
[![
|
|
8
|
+
[![Stars][stars-src]][stars-href]
|
|
10
9
|
[![License][license-src]][license-href]
|
|
11
|
-
[![
|
|
10
|
+
[![Node][node-src]][node-href]
|
|
12
11
|
|
|
13
12
|
<h4>
|
|
14
|
-
<a href="https://codesandbox.io/s/github/kubb-labs/plugins/tree/main/examples/mcp" target="_blank">View Demo</a>
|
|
15
|
-
<span> · </span>
|
|
16
13
|
<a href="https://kubb.dev/plugins/mcp" target="_blank">Documentation</a>
|
|
17
14
|
<span> · </span>
|
|
18
15
|
<a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
|
|
@@ -21,13 +18,13 @@
|
|
|
21
18
|
</h4>
|
|
22
19
|
</div>
|
|
23
20
|
|
|
24
|
-
|
|
21
|
+
<br />
|
|
22
|
+
|
|
23
|
+
# @kubb/plugin-mcp
|
|
25
24
|
|
|
26
|
-
|
|
25
|
+
### Generate MCP tool definitions with Kubb
|
|
27
26
|
|
|
28
|
-
-
|
|
29
|
-
- Derives input and output schemas directly from the spec
|
|
30
|
-
- Works with Claude, ChatGPT, and any MCP-compatible runtime
|
|
27
|
+
`@kubb/plugin-mcp` generates Model Context Protocol (MCP) tool definitions with Kubb. Each API operation becomes a typed MCP tool that AI assistants can call directly.
|
|
31
28
|
|
|
32
29
|
## Installation
|
|
33
30
|
|
|
@@ -45,7 +42,7 @@ See the [full documentation](https://kubb.dev/plugins/mcp) for configuration opt
|
|
|
45
42
|
|
|
46
43
|
## Supporting Kubb
|
|
47
44
|
|
|
48
|
-
Kubb is an
|
|
45
|
+
Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
|
|
49
46
|
|
|
50
47
|
- [Become a Sponsor on GitHub](https://github.com/sponsors/stijnvanhulle)
|
|
51
48
|
|
|
@@ -55,19 +52,19 @@ Kubb is an MIT-licensed open source project with its ongoing development made po
|
|
|
55
52
|
</a>
|
|
56
53
|
</p>
|
|
57
54
|
|
|
55
|
+
## License
|
|
56
|
+
|
|
57
|
+
[MIT](https://github.com/kubb-labs/plugins/blob/main/LICENSE)
|
|
58
|
+
|
|
58
59
|
<!-- Badges -->
|
|
59
60
|
|
|
60
|
-
[npm-version-src]: https://
|
|
61
|
-
[npm-version-href]: https://
|
|
62
|
-
[npm-downloads-src]: https://
|
|
63
|
-
[npm-downloads-href]: https://
|
|
64
|
-
[
|
|
61
|
+
[npm-version-src]: https://shieldcn.dev/npm/v/@kubb/plugin-mcp.svg?variant=secondary&size=xs&theme=zinc&mode=dark
|
|
62
|
+
[npm-version-href]: https://npmx.dev/package/@kubb/plugin-mcp
|
|
63
|
+
[npm-downloads-src]: https://shieldcn.dev/npm/dm/@kubb/plugin-mcp.svg?variant=secondary&size=xs&theme=zinc&mode=dark
|
|
64
|
+
[npm-downloads-href]: https://npmx.dev/package/@kubb/plugin-mcp
|
|
65
|
+
[stars-src]: https://shieldcn.dev/github/stars/kubb-labs/kubb.svg?variant=secondary&size=xs&theme=zinc&mode=dark
|
|
66
|
+
[stars-href]: https://github.com/kubb-labs/kubb
|
|
67
|
+
[license-src]: https://shieldcn.dev/npm/license/@kubb/plugin-mcp.svg?variant=secondary&size=xs&theme=zinc
|
|
65
68
|
[license-href]: https://github.com/kubb-labs/kubb/blob/main/LICENSE
|
|
66
|
-
[
|
|
67
|
-
[
|
|
68
|
-
[minified-src]: https://img.shields.io/bundlephobia/min/@kubb/plugin-mcp?style=flat&colorA=18181B&colorB=f58517
|
|
69
|
-
[minified-href]: https://www.npmjs.com/package/@kubb/plugin-mcp
|
|
70
|
-
[coverage-src]: https://img.shields.io/codecov/c/github/kubb-labs/kubb?style=flat&colorA=18181B&colorB=f58517
|
|
71
|
-
[coverage-href]: https://www.npmjs.com/package/@kubb/plugin-mcp
|
|
72
|
-
[sponsors-src]: https://img.shields.io/github/sponsors/stijnvanhulle?style=flat&colorA=18181B&colorB=f58517
|
|
73
|
-
[sponsors-href]: https://github.com/sponsors/stijnvanhulle/
|
|
69
|
+
[node-src]: https://shieldcn.dev/npm/node/@kubb/plugin-mcp.svg?variant=secondary&size=xs&theme=zinc&mode=dark
|
|
70
|
+
[node-href]: https://npmx.dev/package/@kubb/plugin-mcp
|