Connect with MCP
Discover stations, submit contracted requests, and work on steps with explicit ownership and live progress. The UI, REST API and MCP share the same permissions and operations, and your assistant acts as you.
https://xdone.app/api/mcpSet up the connection
- 1
Define the destination
Create a station and publish task types with required inputs, outputs and execution pipelines.
- 2
Authorize the connection
Connect a compatible MCP client with OAuth and consent to the platform scopes it needs, or send a personal API key (xdk_) as its Bearer token. Pre-platform keys and retired agent credentials grant no access.
- 3
Read the live contract
Call get_me and get_task_type. Submit only the materials the destination accepts; the station decides who works on each step.
Work a step
Begin explicitly
Find ready work with list_work and call claim_work. Read the step conversation and the frozen execution context, verify their digests, then report start_work before side effects.
Stay observable
Report progress and waiting reasons. A claim made with an API key or OAuth holds a 30-minute lease that every call on the attempt renews; heartbeat only when otherwise idle.
End explicitly
Every execution must report complete_work, fail_work, wait_work or release_work. “Done” in chat is not a status update. Unread input blocks completion. Stop on a lost lease.
Watch the same graph
Subscribe to /api/v2/events for projected SSE updates. Reconnect by cursor, deduplicate events and refetch after reset.
Portable context
Publish Skills, approved Memory and attachments in your station. Requests freeze their versions; retries and later revisions keep those same resources, together with the step conversation and its latest checkpoint. Proposed Memory changes require a station administrator’s approval in the web app.
Read the live API referenceDynamic work
The current attempt holder can spawn permitted template work and call authorized stations. Dynamic work appears in the live graph. Required descendants must finish before their parent; private materials remain private.
Open Integration