Skip to main content
Run the worker on compute you operate. Configure the worker’s MCP client for MCP 2026-07-28 and Streamable HTTP, and give it a credential for the app’s exact endpoint. Authenticate MCP requests The worker calls your tools as its own principal, of kind "agent" or "service", so guards can tell its calls apart (a.as.kind). When a mutation asks the worker for a run, declare the worker as a target whose performer is http(url, { bearer }), and submit to it. The continuation named by then receives the run’s Result:
A worker that must ask a person mid-run can call a tool that submits to a target performed by roles, target({ via: [roles], within }), and wait for its answer. Run a tool as a task