Developers
Developers
The registry, as tools for agents
An agent asks what a desk asks: what class is this, what is the mark, is the NAV fresh. It gets the same answers the site prints. The tools are narrow, so nothing can invent a NAV.
Tools8one question each
Resources2read before answering
Simulation runs20a day, shared with the Office
TransportHTTPremote MCP, or stdio via the CLI
Connect an agent
Claude, Cursor or any MCP clientPublic columns work without a token. The full row, flags, the premium series and simulations need a personal tool token from The Office, under Keys.
Claude Desktop / Claude Code url: https://www.tokenizedxonchain.com/mcp header: Authorization: Bearer txoc_… Discovery: https://www.tokenizedxonchain.com/.well-known/mcp.json
Tools
8 tools| Tool | What it returns |
|---|---|
registry_search | Search the classified registry of tokenized listed names. Returns compact rows: id, tickers, class, premium_bps, mark_type. |
wrapper_get | One wrapper's registry row. Public callers get identity and spot numbers; an Office token gets every column. same_as_stock is true only for a desk-signed ISSUER_NATIVE row. |
mark_get | The mark: NAV while fresh, else the on-chain last labelled ONCHAIN_STALE_NAV, or NO_NAV. Never calls a stale number official. |
flags_list | Flag events (wide premium, stale NAV, class change, collateral on/off …). Office token required. |
premium_series | Recorded premium-to-NAV series for one wrapper (30-minute samples; never backfilled). Office token required. |
sim_run | Run a simulation (weekend, tracking, collateral, redemption, basis, default). Counts against the Office's 20 runs a day. Office token required. |
cube_search | Search The Cube newsroom. Returns title, date, desk|wire, url, chip. |
methodology_get | The methodology text hash and URL. Read before answering 'is this the stock'. |
Resources: txoc://methodology, txoc://classes.
The command line
txocnode scripts/txoc.ts login # paste your token from The Office → Keys node scripts/txoc.ts whoami node scripts/txoc.ts search NVDA node scripts/txoc.ts get NVDAon --json node scripts/txoc.ts mark NVDAon node scripts/txoc.ts flags node scripts/txoc.ts sim weekend NVDAon --shock 250 node scripts/txoc.ts cube --ticker NVDA node scripts/txoc.ts mcp # stdio bridge for a local agent
Exit codes: 0 ok, 1 usage, 2 auth, 3 not found, 4 quota, 5 no NAV. Tables by default, --json for agents. The token lives in ~/.txoc/config.json with owner-only permissions.
