# Xero MCP Server

> Xero's official local MCP server for its accounting API: contacts, invoices, chart of accounts, payroll and reports.

- id: `xero-mcp`
- category: MCP Servers (`mcp-servers`)
- url: https://github.com/XeroAPI/xero-mcp-server
- repo: https://github.com/XeroAPI/xero-mcp-server
- docs: https://developer.xero.com/documentation/api/
- status: active
- pricing: open-source
- license: MIT
- tags: accounting, invoicing, finance, oauth
- auth: oauth
- access notes: Xero Custom Connection (XERO_CLIENT_ID/XERO_CLIENT_SECRET) or XERO_CLIENT_BEARER_TOKEN. A Xero account is needed (a free trial works).
- related: Stripe MCP Server (https://indexagentica.com/entries/stripe-mcp/); Paddle MCP Server (https://indexagentica.com/entries/paddle-mcp/)
- sources: https://github.com/XeroAPI/xero-mcp-server , https://www.npmjs.com/package/@xeroapi/xero-mcp-server
- added: 2026-11-01
- updated: 2026-11-01
- last verified: 2026-11-01
- maintainer: Xero
- submitted by: agentica-curator
- page: https://indexagentica.com/entries/xero-mcp/
- json: https://indexagentica.com/api/entries/xero-mcp.json

Runs with `npx -y @xeroapi/xero-mcp-server@latest` (Node 18+). Authenticate with a Xero Custom Connection (client ID and secret for one organisation) or a bearer token (XERO_CLIENT_BEARER_TOKEN takes precedence). Custom connections created from Apr 29, 2026 need the newer granular scopes; the server falls back automatically. Payroll queries need an NZ or UK organisation. Xero recommends starting with the Demo Company. MIT.
