You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tole runs only where its binary runs. The ecosystem already operates this way for uteke (uteke-serve on the macmini + uteke-mcp remote): memory became a shared service. tole's capabilities (durable sessions, jailed tools, memory loop) should be reachable the same way — from any device, without SSH-ing into the box, with sessions living server-side.
Proposed solution
tole-serve: a long-running daemon that hosts tole sessions server-side.
Transport: MCP Streamable HTTP (so remote agents connect natively) + a thin REST surface for sessions/status (dashboard/monitoring).
Auth: bearer token (uteke-serve model) to start; multi-user namespaces later if needed.
Isolation: workspace jail per session (mechanism exists), jobs in their own process groups (exists), per-project uteke namespaces (repo-* convention).
Durable sessions on the server: the JSONL log is the state — a client disconnect mid-turn parks the session resumably; any client can reconnect and continue.
Builds on D1's MCP server core (same handler, different transport) and D2's async host bridging.
Acceptance criteria
tole-serve starts with a token + workspace root; MCP clients connect over Streamable HTTP.
Sessions are durable server-side; a killed client does not lose a running turn (resume semantics preserved).
Auth enforced on every surface; Destructive tools never auto-allowed by server config.
Docs: deployment runbook (macmini, mirroring the uteke-serve pattern).
Alternatives considered
SSH + local CLI (current workaround) — works but no shared state, no multi-client, no editor integration.
Exposing raw REST only — agents speak MCP natively; REST stays the thin monitoring layer.
Notes
Tracks the approved D3 of the integration-surfaces plan (2026-09-18). Depends on D1 (MCP server core). Estimate: M–L.
D3 complete: REST transport (#131) + multi-session MCP over Streamable HTTP (#138, --transport mcp). Auth hardening beyond the static token is tracked by #133 (connection cap + rate-limit shipped in #136); remaining TLS posture is documented as reverse-proxy concern in the serve module docs.
Activity
docs: epics Track D — integration surfaces (tole mcp / acp / serve) (#97
feat: tole serve — token-authenticated HTTP daemon (D3 v1, issue #96) (…
ajianaz commentedon Sep 29, 2026
D3 complete: REST transport (#131) + multi-session MCP over Streamable HTTP (#138, --transport mcp). Auth hardening beyond the static token is tracked by #133 (connection cap + rate-limit shipped in #136); remaining TLS posture is documented as reverse-proxy concern in the serve module docs.