Skip to content

MCP server

Xero MCP Server

Official MCP server for Xero that lets AI clients list and create contacts, invoices, payments, bank transactions, reports and payroll timesheets.

  • Official
  • Runs locally
  • OAuth

Repository and documentation last checked Built from public product pages and documentation. SourcesClaim this listing

ecommerceguide summary

Xero MCP Server is the official Model Context Protocol server from Xero (XeroAPI). It gives MCP clients tools to list accounts, contacts, invoices, quotes, credit notes, bank transactions, payments, manual journals and reports such as profit and loss, balance sheet and trial balance, plus create and update calls and payroll timesheet actions. It runs locally over stdio via npx @xeroapi/xero-mcp-server, authenticating with a Xero custom connection client ID and secret or a bearer token. MIT licensed, written in TypeScript.

Why it stands out

Published by Xero itself under the XeroAPI GitHub organisation, distributed as the npm package @xeroapi/xero-mcp-server.

What Xero MCP Server does

ecommerceguide editorial
  • Published by Xero (XeroAPI) under an MIT licence
  • Runs locally over stdio with npx -y @xeroapi/xero-mcp-server@latest
  • Read and write: create-invoice, create-payment, update-contact, delete-payroll-timesheet
  • Reports include profit and loss, balance sheet, trial balance, aged receivables
  • Auth via XERO_CLIENT_ID and secret, or XERO_CLIENT_BEARER_TOKEN for PKCE
  • Setup steps documented for Claude Desktop config file
  • Payroll queries require the Xero organisation to be NZ or UK

How ecommerce teams could use it

ecommerceguide editorial

Illustrative scenarios written by ecommerceguide from the product's documented capabilities. They are not customer case studies.

  1. Online retailer using Xero as its accounting system with Claude Desktop

    Month-end review of trial balance, profit and loss and balance sheet figures

    Intended outcomeThe server returns those reports through list- tools so the client can summarise them

  2. Ecommerce operator chasing unpaid customer invoices in Xero

    Checking outstanding invoices and aged receivables by contact, then recording a payment

    Intended outcomelist-invoices and list-aged-receivables-by-contact read the data, create-payment records the receipt

  3. Store with a UK or NZ Xero payroll organisation

    Weekly timesheet handling for staff working across packing and fulfilment shifts

    Intended outcomeTools create, update, approve, revert and delete payroll timesheets and list leave balances

Who it suits

ecommerceguide editorial

Best for

You use Xero, can run a local npm-based MCP server, and want a client such as Claude Desktop to read and write invoices, payments, reports and payroll timesheets.

Probably not for

You need a hosted remote endpoint, a non-Xero accounting system, or payroll tools outside the NZ and UK regions the README specifies.

Business size
Any stageThe repository sets no revenue or team bounds, only a Xero developer account with API credentials and Node.js v18 or higher.

Technical details

From the vendor's own pages

From the server's repository, documentation and MCP directory listings.

What an agent can do
Accounting, Payments, Customers, Analytics
Transport
stdio (local)
Authentication
OAuth, API key, TokenCustom Connection XERO_CLIENT_ID/XERO_CLIENT_SECRET in env, or XERO_CLIENT_BEARER_TOKEN for OAuth PKCE flows.
Package
@xeroapi/xero-mcp-server (npm)
Language
TypeScript
Licence
MIT
Repository last updated
5 Jun 2026

Connect Xero MCP Server

Third-party data

Setup documented for

Install command
npx -y @xeroapi/xero-mcp-server@latest

Command as listed on the repository README, not tested by ecommerceguide. Check the official documentation (opens in a new tab) for configuration and credentials before running it.

Works with

Ecommerce platforms and services

  • Xero logoXero

Systems this server reads from or writes to.

Alternatives to Xero MCP Server

Listings that share this one's category, platforms or use cases. Ordered by how many relationships they share, not by quality or payment.

View all MCP servers

Sources

ecommerceguide profiles are built from public product information and written for ecommerce teams. We do not test products, and paying never changes where a listing ranks.

Also listed on MCP Market.

See something incorrect? Report an update