@powerduck/openapi-mcp-server 1.0.0 → 1.0.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/README.md +1 -25
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,13 +14,7 @@ A production-oriented TypeScript library and runtime that converts OpenAPI docum
|
|
|
14
14
|
## Install
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Build
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
npm run build
|
|
17
|
+
npm i @powerduck/openapi-mcp-server
|
|
24
18
|
```
|
|
25
19
|
|
|
26
20
|
## Start web runtime
|
|
@@ -35,24 +29,6 @@ npm run start -- serve --port 3000 --host 127.0.0.1
|
|
|
35
29
|
node dist/cli.js serve --transport stdio --spec ./openapi.yaml
|
|
36
30
|
```
|
|
37
31
|
|
|
38
|
-
## Demo
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
npm run demo
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Library usage
|
|
45
|
-
|
|
46
|
-
```ts
|
|
47
|
-
import {
|
|
48
|
-
parseSpecContent,
|
|
49
|
-
generateTools,
|
|
50
|
-
generatePrompts,
|
|
51
|
-
generateResources,
|
|
52
|
-
buildMcpServer,
|
|
53
|
-
} from "openapi-mcp-production";
|
|
54
|
-
```
|
|
55
|
-
|
|
56
32
|
## CLI usage
|
|
57
33
|
|
|
58
34
|
### Web mode
|
package/package.json
CHANGED