@runpod/mcp-server 4.0.0 → 4.1.0
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/CHANGELOG.md +30 -0
- package/README.md +6 -19
- package/dist/http.cjs +1200 -64
- package/dist/http.cjs.map +1 -1
- package/dist/http.mjs +1202 -64
- package/dist/http.mjs.map +1 -1
- package/dist/stdio.cjs +1200 -64
- package/dist/stdio.cjs.map +1 -1
- package/dist/stdio.mjs +1202 -64
- package/dist/stdio.mjs.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @runpod/mcp-server
|
|
2
2
|
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1d049b6: Serve the official Runpod plugin's guides and concept graph: `list-guides`, `read-guide`, `lookup-concept` and `search-concepts`, plus each guide as a `runpod://guides/` resource, from the `@runpod/plugin-knowledge` package.
|
|
8
|
+
- 09a565a: `list-templates` now returns 20 templates per page by default instead of the
|
|
9
|
+
full list. Follow `nextCursor` to see the rest.
|
|
10
|
+
|
|
11
|
+
Resync the vendored v2 OpenAPI spec with production. Adds five account-secret
|
|
12
|
+
tools (`list-secrets`, `get-secret`, `create-secret`, `update-secret`,
|
|
13
|
+
`delete-secret`) and refreshes the schemas for pods, endpoints, templates,
|
|
14
|
+
registries, and clusters — most visibly the `cursor`/`limit` query parameters
|
|
15
|
+
and `pagination` response block the API now serves on its list endpoints.
|
|
16
|
+
|
|
17
|
+
`list-endpoints` and `list-templates` now page on the server: `limit` and
|
|
18
|
+
`cursor` go to the API, and `pagination` returns its `nextCursor` and
|
|
19
|
+
`hasNextPage` plus `returned`. `list-endpoints` drops the old client-side
|
|
20
|
+
`total`, `offset`, and `truncated` fields, which only counted one server page.
|
|
21
|
+
Requires `@runpod/typescript-api-sdk` 0.2.0.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 531ecb0: Serve MCP tool annotations. Every tool now advertises `readOnlyHint`,
|
|
26
|
+
`destructiveHint`, `idempotentHint`, and `openWorldHint` in `tools/list`:
|
|
27
|
+
generated tools derive them from the HTTP method they wrap, so they cannot
|
|
28
|
+
drift from the spec, with generator-config overrides for operations that delete
|
|
29
|
+
through a POST or PUT (`pod-action`, `update-ssh-keys`), and the curated
|
|
30
|
+
overlay declares them per tool. Hosts can
|
|
31
|
+
auto-approve reads and gate deletions, cancels, and queue purges on a human.
|
|
32
|
+
|
|
3
33
|
## 4.0.0
|
|
4
34
|
|
|
5
35
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -140,24 +140,9 @@ Endpoints are image-based — pass an image and a GPU pool (a `pool` value from
|
|
|
140
140
|
|
|
141
141
|
See [`docs/configuration.md`](docs/configuration.md) for host overrides, private image pull (registry credentials vs ECR delegation), and large-output handling.
|
|
142
142
|
|
|
143
|
-
##
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
tools** (51 generated from the v2 OpenAPI spec + 17 curated) on both, plus the
|
|
147
|
-
four hosted-only ALP tools — `report_feedback`, `save_to_journal`,
|
|
148
|
-
`ask_question`, and `read_journal`, which returns the calling account's own
|
|
149
|
-
journal and nobody else's — for **72 hosted**. Those four need storage credentials the
|
|
150
|
-
npm package cannot hold, so local stdio never registers them and they are
|
|
151
|
-
simply absent from `tools/list` (see
|
|
152
|
-
[`docs/agent-learning-protocol.md`](docs/agent-learning-protocol.md)). Both
|
|
153
|
-
transports also serve the ten Runpod task playbooks as MCP resources under
|
|
154
|
-
`runpod://skills/`. New API endpoints become
|
|
155
|
-
tools by regeneration, not by hand-writing code. Start with
|
|
156
|
-
[specgen/DESIGN.md](specgen/DESIGN.md) for a progressive walkthrough, and
|
|
157
|
-
[specgen/README.md](specgen/README.md) for the regeneration workflow and
|
|
158
|
-
drift gates.
|
|
159
|
-
|
|
160
|
-
Upgrading from 3.x: eight tools follow their spec operationIds (e.g.
|
|
143
|
+
## Upgrading from 3.x
|
|
144
|
+
|
|
145
|
+
Eight tools follow their spec operationIds (e.g.
|
|
161
146
|
`create-container-registry-auth` → `create-registry`, `get-billing` →
|
|
162
147
|
`list-billing`) and `start-pod`/`stop-pod`/`restart-pod` fold into
|
|
163
148
|
`pod-action` with an `action` argument. The full old→new map is
|
|
@@ -169,7 +154,7 @@ v2-only; `RUNPOD_REST_VERSION` and the v1 fallback are retired.
|
|
|
169
154
|
This server acts with the full permissions of the supplied API key.
|
|
170
155
|
|
|
171
156
|
- Never share your API key.
|
|
172
|
-
- Be deliberate with destructive tools.
|
|
157
|
+
- Be deliberate with destructive tools. Every tool carries MCP annotations (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`) derived from the operation it wraps, so a host can auto-approve reads and gate `delete-pod` or `purge-endpoint-queue` on a human.
|
|
173
158
|
- Each request authenticates with its own caller-supplied token, which is forwarded to the Runpod API and **never persisted server-side**. The server never holds a credential of its own and never shares one across users.
|
|
174
159
|
|
|
175
160
|
## Local development
|
|
@@ -196,6 +181,8 @@ pnpm test # offline unit suite — no network or API key required
|
|
|
196
181
|
pnpm build
|
|
197
182
|
```
|
|
198
183
|
|
|
184
|
+
Tools are generated from the vendored v2 OpenAPI spec rather than hand-written: see [specgen/DESIGN.md](specgen/DESIGN.md) for the walkthrough and [specgen/README.md](specgen/README.md) for the regeneration workflow and drift gates.
|
|
185
|
+
|
|
199
186
|
This project uses [changesets](https://github.com/changesets/changesets) for versioning and npm publishing; every PR with user-facing changes needs a changeset. See `CLAUDE.md` and `docs/context.md` for full contributor guidance, architecture, and the test suite.
|
|
200
187
|
|
|
201
188
|
## License
|