Variables
The address the Handshake daemon binds to. Use
host:port format. The host must be localhost (or 127.0.0.1) — Handshake intentionally does not bind to external interfaces.Example: localhost:8766The MCP endpoint URL that is registered with each agent during
handshake setup. Agents use this URL to reach Handshake’s MCP server. This value must match HANDSHAKE_ADDR — if they point to different ports, agents won’t be able to connect.Example: http://localhost:8766/mcpNotes
Both variables are read at daemon startup viahandshake serve. Changing them in your shell after the daemon is already running has no effect — restart the daemon (or the login service) for changes to take effect.
When you set HANDSHAKE_ADDR without setting HANDSHAKE_URL, the setup wizard automatically derives the MCP URL from the address. It’s still good practice to set both explicitly to avoid ambiguity.
Example: use a custom port for setup
Set both variables together before running the setup wizard:http://localhost:8766/mcp, and install the login service with those variables baked in.