@modudraft/mcp 0.12.5 → 0.13.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 +6 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,10 +124,13 @@ Copy the key - you'll only see it once.
|
|
|
124
124
|
### API schema (OpenAPI)
|
|
125
125
|
| Tool | Description |
|
|
126
126
|
|---|---|
|
|
127
|
-
| `add_api_endpoint` | Add
|
|
128
|
-
| `
|
|
127
|
+
| `add_api_endpoint` | Add an http, graphql, grpc, websocket or event endpoint. Its request and response shapes go in `contract`: per-protocol slots holding JSON Schema (as an object or YAML), where fields are required unless marked `optional: true`. Omit `contract` to start from an empty one |
|
|
128
|
+
| `bulk_add_api_endpoints` | Add many endpoints in one call, each with its own `contract`; one invalid endpoint rejects the whole batch |
|
|
129
|
+
| `update_api_endpoint` | Update endpoint details; `contract` replaces the slots it names and keeps the rest; changing `protocol` converts the contract and lists anything that could not be kept in `dropped` |
|
|
129
130
|
| `delete_api_endpoint` | Remove an endpoint |
|
|
130
|
-
| `export_openapi` | Export
|
|
131
|
+
| `export_openapi` | Export the http endpoints as OpenAPI 3.1 (JSON, or YAML with `format: yaml`) |
|
|
132
|
+
|
|
133
|
+
The old `request_body`, `request_format`, `body`, `body_format` and top-level `responses` arguments were removed; they now return an error naming their replacement in `contract`.
|
|
131
134
|
|
|
132
135
|
### Notes
|
|
133
136
|
| Tool | Description |
|