Repository navigation
mini: let cloud agents use the Mac mini over MCP at mini-mcp.jgoon.com - #61
Merged
Merged
Conversation
fleet.desktopCommander runs Desktop Commander (npm release, nix-built without install scripts) behind proxy.mjs on 127.0.0.1:7801, which re-verifies the Cloudflare Access JWT and exposes only an allowlist of tools (no set_config_value). Proxy is a LaunchAgent (Messages/Reminders need the login session); the connector is a LaunchDaemon on its own tunnel, apart from the ssh lifeline. Adds make doctor checks, a FLEET.md section, and declares remindctl. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude review: no issues found Read the full diff (nix module, proxy.mjs JWT verification and tool allowlist, Makefile doctor checks, FLEET.md, host wiring) for bugs and CLAUDE.md compliance; no earlier review comments existed. Not approved: this change exposes a remote shell to the internet, and I can't verify the nix fetch hashes or the Access/TCC setup here, so I wouldn't be comfortable with it merging without a human reading it. |
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.
I want my cloud agents (Meta Muse, the Grok bot) to reach mini over MCP — remindctl, imsg, my files — without opening a shell to the whole internet.
fleet.desktopCommanderruns Desktop Commander behind a small proxy (proxy.mjs) on127.0.0.1:7801, published atmini-mcp.jgoon.comby its own tunnel (terraform: https://github.com/Jish2/terraform/pull/21). The proxy:set_config_value/get_config(an agent could clear its own limits),kill_process,write_pdf, and DC's usage/feedback tools;DC is the npm release, built with
buildNpmPackagefrom the tag's lockfile with install scripts off (no install-tracking ping, no Chromium/ripgrep downloads); telemetry and remote feature flags are off.The proxy is a LaunchAgent: imsg and remindctl need the login session (Messages automation, Reminders and Full Disk Access are per-session TCC), so it runs while I'm logged in, like BlueBubbles. The connector is a LaunchDaemon on a separate tunnel from
cloudflared-ssh, so the ssh lifeline is untouched.Also:
make doctorchecks, a FLEET.md section, andsteipete/tap/remindctldeclared (already installed by hand).Tested on mini against the built package: no JWT, wrong audience and expired JWTs get 401;
tools/listreturns only the allowlist;set_config_valueis refused;start_processruns commands.darwinConfigurations.mini.systembuilds.After merge:
yadm pull, switch mini via the remote procedure, then grant Reminders / Automation → Messages / Full Disk Access to the nix node in a GUI session.Created with Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code