start_server
Initiate a sudo approval daemon locally or over SSH, waiting until the socket is ready for executing privileged commands with mandatory human approval.
Instructions
Start a sudo-proxy approval daemon: with no host, opens a local terminal window running the approval TUI; with host, opens a terminal running SSH to that host with a Unix-socket tunnel so subsequent execute calls reach it. Idempotent: if the daemon (or tunnel) is already live it returns 'already running' without spawning anything. Blocks while polling for end-to-end socket readiness — up to 5s locally, up to 30s for remote tunnels — and returns as soon as the daemon answers. Set forward_agent: true to enable SSH agent forwarding for unprivileged remote commands (ignored locally); errors if no terminal emulator is found or the socket is not ready within the polling window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Remote hostname (omit for localhost) | |
| forward_agent | No | Enable SSH agent forwarding on the tunnel so unprivileged commands that opt in (via execute's `forward_agent: true`) can authenticate to GitHub etc. with the user's local key. Ignored for local servers. |