MCP server

Xero MCP Server

Xero contacts, invoices, payments, payroll and accounting reports. Official: built and maintained by Xero. It runs locally on your machine over stdio. Setup below for 12 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · Xero
Runs
Local (stdio)
GitHub
★ 385, last push 2026-06-05 (checked 2026-10-24)
License
MIT
Connects to
Xero

Install the Xero MCP Server

Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.

Run in a terminal. Everything after -- is the command that starts the server. docs

claude mcp add --transport stdio xero -- npx -y @xeroapi/xero-mcp-server

Security notes

  • The local server runs with your user's permissions (npx downloads it from npm on first run).
  • Start with test-mode or restricted keys: tools can create charges, refunds or customers.
  • Polarofficial · ★ 10k

    Products, customers, orders and subscriptions in Polar (hosted server).

  • Stripeofficial · ★ 2k

    Customers, products, payment links, invoices, refunds and Stripe docs search.

  • QuickBooks Onlineofficial · ★ 434

    Read and create QuickBooks Online customers, invoices, bills and accounts.

  • Razorpayofficial · ★ 231

    Payments, orders, refunds, payment links and settlements in Razorpay.

  • PayPalofficial · ★ 197

    Invoices, orders, subscriptions, disputes and reports in PayPal.

  • Squareofficial · ★ 109

    Payments, orders, catalog, customers and inventory through the Square API.

  • Adyenofficial · ★ 27

    Payment sessions, links, modifications and terminal management with Adyen.

  • Per-store server so shopping agents can search products, build carts and hand off to checkout.

FAQ

What does the Xero MCP Server do?+

Xero contacts, invoices, payments, payroll and accounting reports.

Is the Xero MCP server official?+

Official: built and maintained by Xero.

How do I add Xero to Claude Code?+

Run: claude mcp add xero -- npx -y @xeroapi/xero-mcp-server. Add --scope project to share it with your team through .mcp.json.

How do I use the Xero MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").

Does Xero work in ChatGPT and claude.ai?+

No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.

What are the alternatives to the Xero MCP server?+

Other payments & e-commerce MCP servers: Polar, Stripe, QuickBooks Online, Razorpay and PayPal.

All MCP servers · What is an MCP server? · Agent skills