Skip to content

Turn authenticated MCP tools into customer-branded CLI commands - #38

Merged
elsheppo merged 2 commits into
mainfrom
codex/client-branded-capability-cli
Sep 18, 2026
Merged

elsheppo merged 2 commits into
mainfrom
codex/client-branded-capability-cli

Conversation

@elsheppo

@elsheppo elsheppo commented Sep 8, 2026 •

Copy link
Copy Markdown
Owner

Why

Chumbo Cloud needs a reusable way to turn an authenticated MCP tool surface into a customer-branded CLI without proxying application calls through Cloud. This PR adds that runtime to Chumbo Core.

What changes

  • Builders can add optional CLI command, risk, idempotency, scope, and presentation metadata to an ordinary MCP tool.
  • Tools without Chumbo metadata remain available through a generic run command.
  • Generated CLIs discover only the tools visible to the signed-in user and call the original MCP endpoint.
  • The CLI host provides browser PKCE login, operating-system credential storage, human output, JSON output, and explicit confirmation for writes.
  • A package renderer produces a small customer-owned npm package with configurable package name, binary, display name, endpoint, support URL, and attribution.

Safety boundary

Credentials remain in the operating-system credential store and are partitioned by authorization issuer. Unknown tools default to write risk. Non-interactive writes fail unless explicitly confirmed. Chumbo Cloud does not enter the application data path.

Verification

  • Full pnpm check passed against current main.
  • 214 tests passed and 3 skipped.
  • The authenticated OAuth-to-MCP CLI journey passed.
  • The generated customer CLI executed and packed with customer branding.
  • Packed-package and generated-project smoke checks passed.

Not included

This PR does not publish a customer package or implement the Chumbo Cloud configuration, preview, repository delivery, or release workflow. Those product capabilities will consume this reusable Core runtime.

@elsheppo
elsheppo force-pushed the codex/client-branded-capability-cli branch from 131f38c to 2ed7c2e Compare September 10, 2026 11:56
@elsheppo elsheppo changed the title Project MCP capabilities into customer-branded CLIs Prove MCP capabilities as customer-branded CLIs Sep 18, 2026
@elsheppo
elsheppo marked this pull request as draft September 18, 2026 17:51
@elsheppo elsheppo changed the title Prove MCP capabilities as customer-branded CLIs Turn authenticated MCP tools into customer-branded CLI commands Sep 18, 2026
Merge the current Core line into the customer-CLI branch while preserving the reusable MCP-to-CLI runtime alongside the new Node and Next.js host targets.

Generated CLIs continue to discover the signed-in user’s tools, store OAuth credentials in the operating-system keychain, require confirmation for writes, and call the original MCP endpoint directly.

This does not publish a customer package.

Verified with the full pnpm check: 214 tests passed, 3 skipped; build, packed-package, branded-CLI, and generated-project smoke checks passed.
@elsheppo
elsheppo marked this pull request as ready for review September 18, 2026 20:03
@elsheppo
elsheppo merged commit e1e468b into main Sep 18, 2026
4 checks passed
@elsheppo
elsheppo deleted the codex/client-branded-capability-cli branch September 18, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant