Repository navigation
feat(desktop-commander): self-hosted MCP endpoint — Worker, bridge package, Actions publish/promote (#13404) - #13427
Merged
Conversation
…, bridge package, Actions publish/promote Part of #13404. The Worker (pkgs/desktop-commander/worker) is a transparent streamable-HTTP MCP proxy that sits behind the commander.security.cab Access app and relays to the laptop bridge door (commander-link.security.cab, Access service-token only) with its own egress token. Deploys follow the id-mail pattern: GitHub Actions publish uploads a cf Worker version with provenance, promote moves exactly that verified version to 100%. pkgs/supergateway packages the stdio<->HTTP bridge (4.2.2, buildNpmPackage, vendored lock); home/common/default.nix gains the supergateway package and the desktop-commander-bridge user unit (supergateway wrapping the packaged Desktop Commander on 127.0.0.1:8931). Worker tests 4/4 and typecheck pass locally; supergateway builds in Nix and reports 4.2.2.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 29 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #13404 — the self-hosted Desktop Commander MCP endpoint, built to the fleet's existing Worker patterns (atlas-search layout, id-mail publish/promote).
What's in here
pkgs/desktop-commander/worker/— thedesktop-commanderWorker: a transparent streamable-HTTP MCP proxy. Public doorcommander.security.cab(Access app: owner Google identity + service-token policy;workers_devoff); refuses requests without an Access JWT assertion; relays to the bridge doorcommander-link.security.cab(Access service-token-only) presenting its own egress token, uploaded as per-version secrets..github/workflows/desktop-commander-worker-{publish,promote,tests}.yml— publish uploads acfWorker version with a provenance artifact and changes no traffic; promote verifies the publish run + manifest baseline, then deploys exactly that version at 100%.pkgs/supergateway/— supergateway 4.2.2 packaged (buildNpmPackage, vendored lockfile, same shape aspkgs/desktop-commander).home/common/default.nix— the supergateway package plus thedesktop-commander-bridgeuser unit (supergateway wrapping the packaged Desktop Commander on127.0.0.1:8931, real user PATH, mirroringdesktop-commander-remote).Already live outside this PR (recorded on #13404): the bridge running on amd, the sandbox-link tunnel ingress for
commander-link.security.cab, both Access apps + policies, both service tokens (fleet secrets, by name), and DNS. The bridge door answers an MCPinitializethrough the tunnel with the egress token and 403s without credentials.Verification
tsc --noEmitclean (laptop, node 24).pkgs/supergatewaybuilds in Nix; the built binary reports 4.2.2.initializethrough tunnel + Access returns the real Desktop Commander 0.2.52.Remaining legs after merge (tracked on #13404): first publish + promote through the new workflows, custom-domain attach, public-door verification, then the mcpx consumer entry (header-auth shape + env expansion) with the next laptop switch.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.