@mcpcloud/cli 0.10.2 → 0.11.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.
Files changed (3) hide show
  1. package/README.md +68 -60
  2. package/dist/index.js +7059 -5503
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -163,22 +163,30 @@ _Generated from the live command tree by `bun run docs:readme` — do not edit b
163
163
  | `mcp doctor` | Diagnose the CLI environment: Node, config, base URL, API key, claude CLI, and updates |
164
164
  | `mcp help [topic]` | Show extended help for a topic (auth, profiles, agents, errors) |
165
165
  | `mcp init` | Guided onboarding: pick org → pick/create project → create a server (empty skeleton, or generated from an OpenAPI/GraphQL spec via --from-spec) |
166
- | `mcp invoke <serverId> <tool>` | Call a tool on a deployed MCP server. Exchanges runtime-auth if needed, sends JSON-RPC `tools/call`, and prints the response. |
166
+ | `mcp invoke <server> <tool>` | Call a tool on a deployed MCP server. Exchanges runtime-auth if needed, sends JSON-RPC `tools/call`, and prints the response. |
167
167
  | `mcp login` | Sign in via browser (default) or paste an API key |
168
168
  | `mcp logout` | Remove the saved API key from ~/.mcpcloud/config.json |
169
169
  | `mcp ui` | Interactive terminal UI: browse orgs/servers/skills, tail deployment logs, and watch the live `mcp dev` inspector |
170
170
  | `mcp update` | Check for a newer @mcpcloud/cli release and re-install it via your package manager |
171
171
  | `mcp whoami` | Show the caller identity, API key, base URL, and organizations you can access |
172
172
 
173
+ ### `mcp alias` — Manage per-profile resource shortcuts (aliases)
174
+
175
+ | Command | Description |
176
+ | --- | --- |
177
+ | `mcp alias list` | List aliases in the active profile |
178
+ | `mcp alias rm <name>` | Remove an alias from the active profile |
179
+ | `mcp alias set <name> <target>` | Create or update an alias. Target is <kind>:<id\|name\|slug>. |
180
+
173
181
  ### `mcp api-keys` — Manage personal API keys
174
182
 
175
183
  | Command | Description |
176
184
  | --- | --- |
177
185
  | `mcp api-keys create` | Create a new API key (the secret is shown once) |
178
- | `mcp api-keys describe <apiKeyId>` | Show one API key (status, expiry, last used) — never the secret |
186
+ | `mcp api-keys describe <apiKey>` | Show one API key (accepts id or name; status, expiry, last used) — never the secret |
179
187
  | `mcp api-keys list` | List active API keys for the current user |
180
- | `mcp api-keys revoke <apiKeyId>` | Permanently revoke an API key |
181
- | `mcp api-keys rotate <apiKeyId>` | Mint a replacement key and grace-expire the old one (24h window). The new secret is shown once. |
188
+ | `mcp api-keys revoke <apiKey>` | Permanently revoke an API key (accepts id or name) |
189
+ | `mcp api-keys rotate <apiKey>` | Mint a replacement key and grace-expire the old one (24h window; accepts id or name). The new secret is shown once. |
182
190
 
183
191
  ### `mcp audit` — Workspace audit log (admin/owner only)
184
192
 
@@ -211,20 +219,20 @@ _Generated from the live command tree by `bun run docs:readme` — do not edit b
211
219
 
212
220
  | Command | Description |
213
221
  | --- | --- |
214
- | `mcp connections add <serverId>` | Save (or replace) your upstream API key for a server — rotation is just adding again |
222
+ | `mcp connections add <server>` | Save (or replace) your upstream API key for a server — rotation is just adding again |
215
223
  | `mcp connections list` | List your stored upstream keys across servers (hints only) |
216
- | `mcp connections remove <serverId>` | Revoke your stored upstream key for a server |
224
+ | `mcp connections remove <server>` | Revoke your stored upstream key for a server |
217
225
 
218
226
  ### `mcp deployments` — Inspect deployments
219
227
 
220
228
  | Command | Description |
221
229
  | --- | --- |
222
- | `mcp deployments get <deploymentId>` | Show one deployment by id |
223
- | `mcp deployments health <deploymentId>` | Show a deployment's last health-check result (status, HTTP code, when it was checked) |
230
+ | `mcp deployments get <deployment>` | Show one deployment by id or selector (latest \| active \| previous, with --server) |
231
+ | `mcp deployments health <deployment>` | Show a deployment's last health-check result (status, HTTP code, when it was checked) |
224
232
  | `mcp deployments list` | List deployments in an organization |
225
- | `mcp deployments logs <deploymentId>` | Show recent deployment events; pass --follow to tail new ones as they arrive |
226
- | `mcp deployments rollback <deploymentId>` | Roll back to a prior deployment — flips a paused/undeployed deployment back to active and demotes the current latest in one shot. |
227
- | `mcp deployments runtime-auth <deploymentId>` | Inspect a deployment's runtime-auth posture (access mode, exchange path, edge policy) |
233
+ | `mcp deployments logs <deployment>` | Show recent deployment events; pass --follow to tail new ones as they arrive |
234
+ | `mcp deployments rollback <deployment>` | Roll back to a prior deployment — flips a paused/undeployed deployment back to active and demotes the current latest in one shot. |
235
+ | `mcp deployments runtime-auth <deployment>` | Inspect a deployment's runtime-auth posture (access mode, exchange path, edge policy) |
228
236
 
229
237
  ### `mcp dev` — Run a deployed MCP server locally with hot reload + agent auto-wire
230
238
 
@@ -264,26 +272,26 @@ _Generated from the live command tree by `bun run docs:readme` — do not edit b
264
272
 
265
273
  | Command | Description |
266
274
  | --- | --- |
267
- | `mcp marketplace fork <artifactId>` | Fork a registry artifact into one of your projects as an editable draft |
268
- | `mcp marketplace get <artifactId>` | Show full details for one registry artifact (readme, recent versions) |
269
- | `mcp marketplace install <artifactId>` | Install a published registry artifact (server or skill) into your organization |
275
+ | `mcp marketplace fork <artifact>` | Fork a registry artifact (id or name) into one of your projects as an editable draft |
276
+ | `mcp marketplace get <artifact>` | Show full details for one registry artifact (accepts id or name; readme, recent versions) |
277
+ | `mcp marketplace install <artifact>` | Install a published registry artifact (server or skill; accepts id or name) into your organization |
270
278
  | `mcp marketplace list` | List published artifacts in the registry |
271
- | `mcp marketplace publish <serverId|skillId>` | Publish a deployed server or a versioned skill to the registry (requires org admin) |
272
- | `mcp marketplace version <artifactId> <versionId>` | Show details for one published version of a registry artifact |
273
- | `mcp marketplace versions <artifactId>` | List published versions of a registry artifact (paginated) |
279
+ | `mcp marketplace publish <server|skill>` | Publish a deployed server or a versioned skill to the registry (requires org admin) |
280
+ | `mcp marketplace version <artifact> <versionId>` | Show details for one published version of a registry artifact (artifact accepts id or name) |
281
+ | `mcp marketplace versions <artifact>` | List published versions of a registry artifact (accepts id or name) |
274
282
 
275
283
  ### `mcp metrics` — Aggregate deployment metrics (request volume, error rate)
276
284
 
277
285
  | Command | Description |
278
286
  | --- | --- |
279
- | `mcp metrics deployment <deploymentId>` | Show aggregate request metrics for a deployment over a window (CI deploy gate) |
287
+ | `mcp metrics deployment <deployment>` | Show aggregate request metrics for a deployment over a window (CI deploy gate) |
280
288
 
281
289
  ### `mcp oauth` — Manage OAuth provider connections
282
290
 
283
291
  | Command | Description |
284
292
  | --- | --- |
285
293
  | `mcp oauth connection` | Inspect or revoke individual OAuth connections |
286
- | `mcp oauth connection delete <connectionId>` | Revoke an OAuth connection (best-effort upstream revoke; replay-as-success on already-revoked rows) |
294
+ | `mcp oauth connection delete <connection>` | Revoke an OAuth connection by id or provider key (best-effort upstream revoke; replay-as-success on already-revoked rows) |
287
295
  | `mcp oauth connections` | List OAuth provider connections across the organization |
288
296
 
289
297
  ### `mcp orgs` — List and inspect the organizations you belong to
@@ -309,75 +317,75 @@ _Generated from the live command tree by `bun run docs:readme` — do not edit b
309
317
  | Command | Description |
310
318
  | --- | --- |
311
319
  | `mcp projects api-source <apiSourceId>` | Show details for a single imported API spec |
312
- | `mcp projects api-sources <projectId>` | List imported API specs / source material for a project |
320
+ | `mcp projects api-sources <project>` | List imported API specs / source material for a project |
313
321
  | `mcp projects create` | Create a new project in an organization |
314
- | `mcp projects delete <projectId>` | Permanently delete a project. Requires --confirm "<exact name>" and that the project is empty of servers/skills. |
315
- | `mcp projects get <projectId>` | Get details for a single project |
322
+ | `mcp projects delete <project>` | Permanently delete a project. Requires --confirm "<exact name>" and that the project is empty of servers/skills. |
323
+ | `mcp projects get <project>` | Get details for a single project (accepts id or name) |
316
324
  | `mcp projects list` | List projects in an organization |
317
- | `mcp projects update <projectId>` | Update a project (RFC 7396 merge patch — only listed fields change) |
325
+ | `mcp projects update <project>` | Update a project (RFC 7396 merge patch — only listed fields change) |
318
326
 
319
327
  ### `mcp servers` — Manage MCP servers
320
328
 
321
329
  | Command | Description |
322
330
  | --- | --- |
323
331
  | `mcp servers create` | Create an empty server skeleton in a project |
324
- | `mcp servers delete <serverId>` | Permanently delete a server and all its data. Requires --confirm "<exact name>". |
325
- | `mcp servers deploy <serverId>` | Deploy a server's generated bundle to Cloudflare Workers (closes the spec → deploy loop) |
326
- | `mcp servers deployments <serverId>` | List a server's deployment history |
332
+ | `mcp servers delete <server>` | Permanently delete a server and all its data. Requires --confirm "<exact name>". |
333
+ | `mcp servers deploy <server>` | Deploy a server's generated bundle to Cloudflare Workers (closes the spec → deploy loop) |
334
+ | `mcp servers deployments <server>` | List a server's deployment history |
327
335
  | `mcp servers env` | Manage server runtime environment bindings (encrypted secrets injected by the proxy). |
328
- | `mcp servers env get <serverId> <bindingName>` | Show metadata for one env binding. Plaintext is never returned — values are write-only. |
329
- | `mcp servers env list <serverId>` | List a server's env bindings (metadata only; values are never returned). |
330
- | `mcp servers env set <serverId> <bindingName> [value]` | Create or replace an env binding's value. Schedules a Cloudflare-runtime push when the server has an active deployment. |
331
- | `mcp servers env unset <serverId> <bindingName>` | Remove an env binding. Idempotent — succeeds even if the binding is already gone. |
332
- | `mcp servers export <serverId>` | Export a self-host bundle (Dockerfile + node entry + config) for a server |
333
- | `mcp servers generate <serverId>` | Generate the server's TypeScript bundle (the exact code `deploy` ships) and optionally write it to disk — a dry-run for the codegen path. Wraps POST /api/v1/server/generate. |
334
- | `mcp servers get <serverId>` | Get details for a single server |
336
+ | `mcp servers env get <server> <bindingName>` | Show metadata for one env binding. Plaintext is never returned — values are write-only. |
337
+ | `mcp servers env list <server>` | List a server's env bindings (metadata only; values are never returned). |
338
+ | `mcp servers env set <server> <bindingName> [value]` | Create or replace an env binding's value. Schedules a Cloudflare-runtime push when the server has an active deployment. |
339
+ | `mcp servers env unset <server> <bindingName>` | Remove an env binding. Idempotent — succeeds even if the binding is already gone. |
340
+ | `mcp servers export <server>` | Export a self-host bundle (Dockerfile + node entry + config) for a server |
341
+ | `mcp servers generate <server>` | Generate the server's TypeScript bundle (the exact code `deploy` ships) and optionally write it to disk — a dry-run for the codegen path. Wraps POST /api/v1/server/generate. |
342
+ | `mcp servers get <server>` | Get details for a single server (accepts id, name, or slug) |
335
343
  | `mcp servers ingest` | Create a server from an OpenAPI spec (file, URL, or @- stdin) or a GraphQL endpoint. Wraps POST /api/v1/server/ingest. |
336
344
  | `mcp servers list` | List servers |
337
- | `mcp servers logs <serverId>` | Show recent deployment events for a server's latest deployment |
338
- | `mcp servers oauth-connections <serverId>` | List OAuth provider connections bound to this server |
339
- | `mcp servers pause <serverId>` | Pause the server's latest active deployment (traffic stops; worker is preserved) |
340
- | `mcp servers push-spec <serverId>` | Push a local OpenAPI spec to the cloud (regenerates the bundle; optionally deploys) |
341
- | `mcp servers regenerate <serverId>` | Re-fetch a server's source spec and rebuild its tools with the current codegen (preserves customizations). Wraps POST /api/v1/server/regenerate. |
342
- | `mcp servers resume <serverId>` | Resume the server's paused deployment (flips dispatch routing back on; only platformWorker deployments support instant resume) |
345
+ | `mcp servers logs <server>` | Show recent deployment events for a server's latest deployment |
346
+ | `mcp servers oauth-connections <server>` | List OAuth provider connections bound to this server |
347
+ | `mcp servers pause <server>` | Pause the server's latest active deployment (traffic stops; worker is preserved) |
348
+ | `mcp servers push-spec <server>` | Push a local OpenAPI spec to the cloud (regenerates the bundle; optionally deploys) |
349
+ | `mcp servers regenerate <server>` | Re-fetch a server's source spec and rebuild its tools with the current codegen (preserves customizations). Wraps POST /api/v1/server/regenerate. |
350
+ | `mcp servers resume <server>` | Resume the server's paused deployment (flips dispatch routing back on; only platformWorker deployments support instant resume) |
343
351
  | `mcp servers test-runs` | Inspect and trigger server sandbox test runs |
344
352
  | `mcp servers test-runs get <testRunId>` | Show one server test run with assertions, trace, and the tool response |
345
- | `mcp servers test-runs list <serverId>` | List sandbox test runs for a server |
346
- | `mcp servers test-runs new <serverId>` | Trigger a sandbox test run against a server's latest deployment (synchronous) |
353
+ | `mcp servers test-runs list <server>` | List sandbox test runs for a server |
354
+ | `mcp servers test-runs new <server>` | Trigger a sandbox test run against a server's latest deployment (synchronous) |
347
355
  | `mcp servers test-scenarios` | Inspect server sandbox test scenarios |
348
356
  | `mcp servers test-scenarios get <scenarioId>` | Show one server test scenario including its request and expected response |
349
- | `mcp servers test-scenarios list <serverId>` | List test scenarios bound to a server |
357
+ | `mcp servers test-scenarios list <server>` | List test scenarios bound to a server |
350
358
  | `mcp servers test-suites` | Inspect server sandbox test suites (groups of scenarios) |
351
359
  | `mcp servers test-suites get <suiteId>` | Show one server test suite including its scenario membership |
352
- | `mcp servers test-suites list <serverId>` | List test suites bound to a server |
353
- | `mcp servers update <serverId>` | Update a server (v1 PATCH only carries name and description) |
354
- | `mcp servers version <serverId> <versionId>` | Show details for a single server version |
355
- | `mcp servers versions <serverId>` | List published versions of a server |
360
+ | `mcp servers test-suites list <server>` | List test suites bound to a server |
361
+ | `mcp servers update <server>` | Update a server (v1 PATCH only carries name and description) |
362
+ | `mcp servers version <server> <versionId>` | Show details for a single server version |
363
+ | `mcp servers versions <server>` | List published versions of a server |
356
364
 
357
365
  ### `mcp skills` — Manage skills
358
366
 
359
367
  | Command | Description |
360
368
  | --- | --- |
361
- | `mcp skills archive <skillId>` | Archive a skill (replay-as-success on already-archived rows) |
362
- | `mcp skills connect <skillId>` | Print (or apply) the MCP configuration that connects this skill to your coding agent |
369
+ | `mcp skills archive <skill>` | Archive a skill (replay-as-success on already-archived rows) |
370
+ | `mcp skills connect <skill>` | Print (or apply) the MCP configuration that connects this skill to your coding agent |
363
371
  | `mcp skills create` | Create an empty skill draft in a project |
364
- | `mcp skills delete <skillId>` | Permanently delete a draft skill. Requires --confirm "<exact name>". Published skills with versions/installs are rejected (archive instead). |
365
- | `mcp skills get <skillId>` | Get details for a single skill |
366
- | `mcp skills install <skillId>` | Install a skill into the caller's project |
367
- | `mcp skills installations <skillId>` | List the installation footprint of a skill (which orgs / users installed it) |
368
- | `mcp skills invoke <skillId>` | Run a deployed skill from the terminal. Resolves the skill’s MCP endpoint, auto-discovers its single tool, and calls it. |
372
+ | `mcp skills delete <skill>` | Permanently delete a draft skill. Requires --confirm "<exact name>". Published skills with versions/installs are rejected (archive instead). |
373
+ | `mcp skills get <skill>` | Get details for a single skill (accepts id or name) |
374
+ | `mcp skills install <skill>` | Install a skill into the caller's project |
375
+ | `mcp skills installations <skill>` | List the installation footprint of a skill (which orgs / users installed it) |
376
+ | `mcp skills invoke <skill>` | Run a deployed skill from the terminal. Resolves the skill’s MCP endpoint, auto-discovers its single tool, and calls it. |
369
377
  | `mcp skills list` | List skills in an organization |
370
378
  | `mcp skills test-runs` | Inspect and trigger skill sandbox test runs |
371
379
  | `mcp skills test-runs get <testRunId>` | Show one skill test run with assertions, trace, and output |
372
- | `mcp skills test-runs list <skillId>` | List sandbox test runs for a skill |
373
- | `mcp skills test-runs new <skillId>` | Trigger a sandbox test run against a skill (synchronous; returns terminal status) |
380
+ | `mcp skills test-runs list <skill>` | List sandbox test runs for a skill |
381
+ | `mcp skills test-runs new <skill>` | Trigger a sandbox test run against a skill (synchronous; returns terminal status) |
374
382
  | `mcp skills test-scenarios` | Inspect skill sandbox test scenarios |
375
383
  | `mcp skills test-scenarios get <scenarioId>` | Show one skill test scenario including its prompt and assertion body |
376
- | `mcp skills test-scenarios list <skillId>` | List test scenarios bound to a skill |
377
- | `mcp skills uninstall <skillId>` | Mark the caller's installation of this skill as removed |
378
- | `mcp skills update <skillId>` | Update skill metadata (name, description, visibility) |
379
- | `mcp skills version <skillId> <versionId>` | Show details for one published skill version (workflow summary, triggers, deps) |
380
- | `mcp skills versions <skillId>` | List published versions of a skill |
384
+ | `mcp skills test-scenarios list <skill>` | List test scenarios bound to a skill |
385
+ | `mcp skills uninstall <skill>` | Mark the caller's installation of this skill as removed |
386
+ | `mcp skills update <skill>` | Update skill metadata (name, description, visibility) |
387
+ | `mcp skills version <skill> <versionId>` | Show details for one published skill version (workflow summary, triggers, deps) |
388
+ | `mcp skills versions <skill>` | List published versions of a skill |
381
389
 
382
390
  ### `mcp tools` — Inspect and edit tools on a project or server
383
391