@mcpcloud/cli 0.24.0-next-20260917223827 → 0.24.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/README.md CHANGED
@@ -506,7 +506,7 @@ _Generated from the live command tree by `bun run docs:readme` — do not edit b
506
506
  | `mcp servers deps list [server]` | List the servers this one composes. |
507
507
  | `mcp servers deps rm <server> <dependencyId>` | Remove a composed dependency (id from `deps list`). |
508
508
  | `mcp servers end-user` | Read and set a server's end-user plane: the access switch and the tool allowlist customers may call. |
509
- | `mcp servers end-user get <server>` | Show the end-user access configuration: switch, connect page, allowed tools, branding and sign-in federation. |
509
+ | `mcp servers end-user get <server>` | Show the end-user access configuration: switch, connect page, allowed tools, branding, and how customers sign in. |
510
510
  | `mcp servers end-user set <server>` | Enable or disable end-user access, and/or replace the tool allowlist. |
511
511
  | `mcp servers env` | Manage server runtime environment bindings (encrypted secrets injected by the proxy). |
512
512
  | `mcp servers env get <server> <bindingName>` | Show metadata for one env binding. Plaintext is never returned — values are write-only. |
package/dist/index.js CHANGED
@@ -6178,10 +6178,25 @@ async function readEndUserAccess(serverRef, opts) {
6178
6178
  serverId
6179
6179
  });
6180
6180
  }
6181
+ function describeSignInMode(data) {
6182
+ const upstream = data.upstreamSignIn;
6183
+ const provider = upstream?.providerLabel ?? "the OAuth provider";
6184
+ switch (data.signInMode) {
6185
+ case "federation":
6186
+ return "federation — your own sign-in hands customers over";
6187
+ case "upstream":
6188
+ return `${provider} — customers sign in with your OAuth provider`;
6189
+ case "account":
6190
+ return upstream?.enabled && !upstream.available ? "MCPCloud account — customer sign-in is on but unfinished" : "MCPCloud account (default)";
6191
+ default:
6192
+ return "unknown — this deployment does not report it";
6193
+ }
6194
+ }
6181
6195
  function printEndUserAccess(data) {
6182
6196
  printKeyValue({
6183
6197
  server: `${data.server.name} (${data.server.id})`,
6184
6198
  access: data.endUserAccess,
6199
+ "sign-in mode": describeSignInMode(data),
6185
6200
  "connect page": data.connectPageUrl ?? "—",
6186
6201
  "allowed tools": data.allowedTools.length > 0 ? `${data.allowedTools.length}: ${data.allowedTools.join(", ")}` : "none — end users can call nothing",
6187
6202
  "display name": data.branding?.displayName ?? "—",
@@ -6189,7 +6204,8 @@ function printEndUserAccess(data) {
6189
6204
  accent: data.branding?.accentColor ?? "—",
6190
6205
  support: data.branding?.supportUrl ?? "—",
6191
6206
  "sign-in federation": data.signIn.configured ? `${data.signIn.status} (${data.signIn.issuer}, keys via ${data.signIn.keySource})` : "not configured",
6192
- "sign-in url": data.signIn.signInUrl ?? "—"
6207
+ "sign-in url": data.signIn.signInUrl ?? "—",
6208
+ "customer sign-in": data.upstreamSignIn?.identitySourceUrl ? `${data.upstreamSignIn.identitySourceUrl} → ${data.upstreamSignIn.identitySubjectPath ?? "(no path)"}` : "not configured"
6193
6209
  });
6194
6210
  }
6195
6211
  function parseToolList(raw) {
@@ -6210,7 +6226,7 @@ async function listServerToolNames(orgId, projectId, serverId) {
6210
6226
  }
6211
6227
  function registerServerEndUserCommands(servers) {
6212
6228
  const endUser = servers.command("end-user").alias("end-users").description("Read and set a server's end-user plane: the access switch and the tool allowlist customers may call.");
6213
- endUser.command("get <server>").description("Show the end-user access configuration: switch, connect page, allowed tools, branding and sign-in federation.").option("--org <organizationId>", "Organization ID").addHelpText("after", [
6229
+ endUser.command("get <server>").description("Show the end-user access configuration: switch, connect page, allowed tools, branding, and how customers sign in.").option("--org <organizationId>", "Organization ID").addHelpText("after", [
6214
6230
  "",
6215
6231
  "End users are deny-by-default, so `allowed tools` is exhaustive — a",
6216
6232
  "tool missing from it cannot be called by a customer, whatever the",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpcloud/cli",
3
- "version": "0.24.0-next-20260917223827",
3
+ "version": "0.24.0",
4
4
  "description": "The official CLI for MCPCloud — manage projects, servers, skills, and API keys from the terminal",
5
5
  "type": "module",
6
6
  "bin": {