Skip to main content

Docs MCP server

These docs are an MCP server at https://docs.0xio.xyz/mcp (streamable HTTP). Your assistant can search them and read any page while it writes code.
  • Claude Code: add --scope project to share it through the repo’s .mcp.json, or --scope user for every project.
  • Cursor: put the same file at ~/.cursor/mcp.json for every project.

Plain text docs

For assistants without MCP:

SDK rules

@0xio/sdk 2.12.1 and newer ships AGENTS.md: the rules an assistant follows when it writes code against the SDK (amounts, request ids, never resending, watch-only, network scoping, private transfers, errors). After npm install @0xio/sdk it is at node_modules/@0xio/sdk/AGENTS.md. Claude Code, Cursor and VS Code read an AGENTS.md at the project root. Point yours to the SDK’s:
AGENTS.md
In Claude Code, a line @node_modules/@0xio/sdk/AGENTS.md imports the whole file.

Starter

A Vite, React and TypeScript dapp that detects the wallet, connects, shows the address and balance per network, sends OCT with a request id and a confirmed wait, follows a send the SDK lost track of instead of sending again, and handles watch-only wallets. It comes with an AGENTS.md that loads the SDK rules and the docs MCP server set up for all three editors.

First prompt

Paste this into your assistant from the project folder: