MCP servers · Xero · MCP server
Connect Codex CLI to Xero
One line gives Codex CLI your Xero account as tools: 9 endpoints, invoices, contacts, payments, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Xero. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "List invoices in Xero".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in Xero
Invoices · Manage invoices3
List invoices
GET /InvoicesCreate an invoice
POST /InvoicesGet an invoice
GET /Invoices/{InvoiceID}Contacts · Manage accounting contacts2
List contacts
GET /ContactsCreate a contact
POST /ContactsPayments · Record payments2
List payments
GET /PaymentsCreate a payment
PUT /PaymentsMore · Everything else this app exposes.2
List accounts
GET /AccountsGet an organisation
GET /OrganisationXero in other AI clients
Claude Code + XeroMCP server + skillClaude (desktop & claude.ai) + XeroconnectorChatGPT + Xeroconnector · GPT actionGemini CLI + XeroMCP serverCursor + XeroMCP serverVS Code (Copilot) + XeroMCP serverWindsurf + XeroMCP server
