Reference

MCP tools

Every MCP tool the XOROX agent integration exposes, with arguments and return shape.

In Cursor, Rulesets are delivered automatically by a hook — see Rulesets. In Claude Code, Rulesets are retrieved through the xorox_get_rulesets tool below instead, triggered automatically by a short startup instruction and again whenever the Rulesets change, rather than requiring a manual tool call — see Claude Code. Specifications and Tasks are reached through MCP tools for both agents. Tasks can come from XOROX itself, GitHub (Issues and Project items), or Notion (a task board); the same tools work for all of them.

Rulesets

xorox_get_rulesets

Returns the current snapshot of all active Rulesets for the current project, including their full content — authoritative engineering instructions for how the software should be built. The snapshot is read live, labeled with its revision, and marked as superseding any earlier XOROX Ruleset snapshots in the conversation. If the project has no active Rulesets, it says so explicitly.

ArgumentsReturns
NoneA text snapshot: an XOROX_RULESETS block carrying the revision and, for each Ruleset, its id, name, and content

Used by Claude Code before implementation work, every session. Not used by Cursor, which receives Ruleset content automatically instead.

Specifications

xorox_list_specifications

Lists the project's active Specifications as a lightweight index — no content.

ArgumentsReturns
NoneA list of { id, name, description }

Used when the agent wants to see what Specifications exist before deciding which one is relevant.

xorox_get_specification

Fetches the full content of one Specification.

ArgumentsReturns
documentId (required){ id, name, description, content }

Used right before implementing something, once the agent has identified the relevant Specification.

Tasks

xorox_list_tasks

Lists Tasks, optionally filtered by status.

ArgumentsReturns
status (optional) — one of ready, analysing, implementing, implementedA list of Tasks, each with its linked Specifications

xorox_get_task

Fetches one Task. For a Task from an external source such as Notion, the description is read live from that source.

ArgumentsReturns
taskId (required)The Task, with its linked Specifications

xorox_get_next_task

Returns the next Task in the ready queue from any connected source — XOROX Tasks first, then GitHub, then Notion — or none if nothing is ready. Read-only — it doesn't start the Task. If a connected source (GitHub or Notion) couldn't be fully read, the response includes sourceErrors: a null Task alongside sourceErrors doesn't mean there's nothing left to do.

ArgumentsReturns
NoneA Task, or null

Used when an agent asks something like "what should I work on next?"

xorox_start_task

Moves a Task from ready to analysing, claiming it if it's unassigned.

ArgumentsReturns
taskId (required)The updated Task

xorox_set_task_status

Moves a Task from analysing to implementing.

ArgumentsReturns
taskId (required), status (required) — analysing or implementingThe updated Task

xorox_mark_task_implemented

Moves a Task from implementing to implemented — its final state.

ArgumentsReturns
taskId (required), summary (optional)The updated Task, and summaryWriteback

Used once the agent has finished and verified the implementation. It does not mean the change was reviewed, deployed, or accepted.

For a Task that came from a GitHub Issue, an optional summary is posted as a comment on that Issue; omit it to write nothing. The Issue is never closed. For XOROX Tasks, Notion Tasks, and GitHub Project drafts, a summary has nowhere to go and isn't saved — the response's summaryWriteback says posted, not_supported or not_requested. See GitHub.