osmates remote
Serve the MCP tools over HTTP on this Mac, pair it with your other Macs, and reach it from a browser.
osmates remote <subcommand>With Local on, OSMates serves MCP over Streamable HTTP at http://127.0.0.1:7330/mcp, on this Mac's loopback only. Each request needs a token you made, as Authorization: Bearer <token>, and its session is held to the token's profile.
With This Network on, your other Macs pair with this one on port 7331 and see its machines. An agent there drives them with osmates mcp --mac.
With the tailnet browser on, a browser in your Tailscale tailnet opens this Mac on port 7332 and signs in with a passkey. With Cloud Clients on, a cloud MCP client reaches this Mac through your Tailscale Funnel on port 8443.
All four are off until you turn them on.
MCP over HTTP and tokens: https://osmates.com/docs/mcp-http
Examples
osmates remote set local on
osmates remote token create my-script --profile operatorSubcommands
Without one, osmates remote runs status.
osmates remote statusSay whether Local and This Network are on, where clients connect, the paired Macs and this Mac's key.osmates remote setTurn MCP over HTTP on this Mac, This Network, the tailnet browser or Cloud Clients on or off.osmates remote tokensList the tokens you made, never their secrets.osmates remote tokenMake or revoke a token for an MCP client.osmates remote token createMake a token for an MCP client on this Mac, and print it once.osmates remote token revokeRevoke a token; its clients' sessions end at once, with their leases.
osmates remote connectionsList the sessions of MCP clients over HTTP and of agents on paired Macs.osmates remote devicesList the Macs and passkeys that may connect to this one and the Macs this one reaches, with their keys.osmates remote pairPair this Mac with another of yours.osmates remote unpairUnpair a Mac or remove a passkey, by its name or id asosmates remote deviceslists it.osmates remote keyAllow this Mac's device key again, or make a new one.osmates remote key allowShow the keychain's dialog for this Mac's device key, and listen again once you allow it.osmates remote key newMake a new device key for this Mac; every paired Mac pairs again.
osmates remote passkeyAdd a passkey for a browser in your tailnet.osmates remote passkey addPrint a link that adds a passkey; open it on the phone or computer within 10 minutes.
osmates remote clientsList the cloud clients you allowed, or revoke one.osmates remote clients listList the cloud clients you allowed, never their tokens.osmates remote clients revokeRevoke a cloud client; its sessions end at once, with their hold on machines.