@runpod/mcp-server 4.0.0 → 4.2.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 CHANGED
@@ -1,5 +1,72 @@
1
1
  # @runpod/mcp-server
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4865aed: Tighten what the server tells a connecting agent. The instructions now say
8
+ that for work done with these tools the journey playbook is the procedure,
9
+ whether it comes from the plugin's `runpod-mcp` skill or from
10
+ `read-guide`; the plugin's other skills stay the lane for the CLIs, image
11
+ builds and golden paths. A resource the user names by id is in scope for the
12
+ change they asked for and is deleted only when they ask for the delete, and
13
+ `create-cluster` waits for the user's go on the quoted shape and total hourly
14
+ price. Jobs are submitted with `run-endpoint` and waited on with
15
+ `get-job-status`; `runsync-endpoint` is for a warm endpoint and a fast job.
16
+
17
+ The 402 hint points at `list-billing`, and the 403 hint says a permission error
18
+ on a resource the agent did not create is final.
19
+
20
+ Tool descriptions: `create-cluster` prices the whole shape (pods times GPUs per
21
+ pod) and waits for the go; `create-endpoint` describes the CPU choice next to
22
+ the GPU one; `update-endpoint` puts `idleTimeout` under `workers` and states
23
+ that `gpu.pools` and `gpu.excludedTypes` are one selection; `delete-endpoint`,
24
+ `delete-pod`, `delete-cluster` and `delete-secret` allow the one resource the
25
+ user asked to delete by id.
26
+
27
+ - 6ffb28e: The journey playbooks now come only from `@runpod/plugin-knowledge`, bumped to
28
+ 1.7.1. The server no longer keeps its own copy under `runpod://skills/`: an
29
+ agent loads the plugin's `runpod-mcp` skill, or `read-guide runpod-mcp` without
30
+ the plugin, and that routes it to the journey guides (`discovery`,
31
+ `lifecycle-crud`, `serverless-deploy`, `pod-deploy`, `pod-doctor`,
32
+ `endpoint-ops`, `cost-audit`). `resources/list` serves the plugin guides as
33
+ `runpod://guides/<id>`. The instructions and the `ask_question` text point at
34
+ `read-guide` instead of `runpod://skills/`.
35
+
36
+ The instructions also tell an agent whose instructions look out of date to
37
+ reconnect the server (or ask the user to), since reconnecting re-runs
38
+ initialize and delivers the current instructions and tool list.
39
+
40
+ ## 4.1.0
41
+
42
+ ### Minor Changes
43
+
44
+ - 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.
45
+ - 09a565a: `list-templates` now returns 20 templates per page by default instead of the
46
+ full list. Follow `nextCursor` to see the rest.
47
+
48
+ Resync the vendored v2 OpenAPI spec with production. Adds five account-secret
49
+ tools (`list-secrets`, `get-secret`, `create-secret`, `update-secret`,
50
+ `delete-secret`) and refreshes the schemas for pods, endpoints, templates,
51
+ registries, and clusters — most visibly the `cursor`/`limit` query parameters
52
+ and `pagination` response block the API now serves on its list endpoints.
53
+
54
+ `list-endpoints` and `list-templates` now page on the server: `limit` and
55
+ `cursor` go to the API, and `pagination` returns its `nextCursor` and
56
+ `hasNextPage` plus `returned`. `list-endpoints` drops the old client-side
57
+ `total`, `offset`, and `truncated` fields, which only counted one server page.
58
+ Requires `@runpod/typescript-api-sdk` 0.2.0.
59
+
60
+ ### Patch Changes
61
+
62
+ - 531ecb0: Serve MCP tool annotations. Every tool now advertises `readOnlyHint`,
63
+ `destructiveHint`, `idempotentHint`, and `openWorldHint` in `tools/list`:
64
+ generated tools derive them from the HTTP method they wrap, so they cannot
65
+ drift from the spec, with generator-config overrides for operations that delete
66
+ through a POST or PUT (`pod-action`, `update-ssh-keys`), and the curated
67
+ overlay declares them per tool. Hosts can
68
+ auto-approve reads and gate deletions, cancels, and queue purges on a human.
69
+
3
70
  ## 4.0.0
4
71
 
5
72
  ### 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
- ## The tool surface
144
-
145
- Hosted and local serve the same surface, with one deliberate exception: **68
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