Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Payments and finance - official Xero server

Xero MCP server

Open-source local MCP server from Xero that bridges MCP clients to the Xero API for contacts, chart of accounts, invoices, quotes, credit notes, payments, bank transactions, reports and NZ/UK payroll timesheets and leave. It runs locally from @xeroapi/xero-mcp-server (npm) with OAuth auth.

Last verified 15 tools5 sources

Install

Generic

JSON
{
  "mcpServers": {
    "xero": {
      "command": "npx",
      "args": ["-y", "@xeroapi/xero-mcp-server@latest"],
      "env": {
        "XERO_CLIENT_ID": "your_client_id_here",
        "XERO_CLIENT_SECRET": "your_client_secret_here",
        "XERO_SCOPES": "accounting.invoices accounting.contacts accounting.settings"
      }
    }
  }
}

Tools

list-accounts
Retrieve a list of accounts
list-contacts
Retrieve a list of contacts from Xero
list-invoices
Retrieve a list of invoices
list-organisation-details
Retrieve details about an organisation
list-profit-and-loss
Retrieve a profit and loss report
list-trial-balance
Retrieve a trial balance report
list-bank-transactions
Retrieve a list of bank account transactions
list-report-balance-sheet
Retrieve a balance sheet report
list-payroll-employees
Retrieve a list of Payroll Employees
create-contact
Create a new contact
create-invoice
Create a new invoice
create-payment
Create a new payment
create-quote
Create a new quote
update-invoice
Update an existing draft invoice
create-payroll-timesheet
Create a new Payroll Timesheet

As documented on October 17, 2026. A running server reports its current list through tools/list.

Notes and caveats

  • Generic snippet is the Claude Desktop config from the README.
  • Auth uses either a Xero Custom Connection (client ID and secret, OAuth2) or a bearer token via XERO_CLIENT_BEARER_TOKEN for multi-account flows such as PKCE.
  • Custom connections created from Apr 29, 2026 need the granular V2 scopes.
  • Payroll tools need an NZ or UK region.
  • Requires Node.js 18+.
  • Xero now also runs a hosted Remote MCP server (see xero-remote).

FAQ

What does the Xero MCP server do?

Open-source local MCP server from Xero that bridges MCP clients to the Xero API for contacts, chart of accounts, invoices, quotes, credit notes, payments, bank transactions, reports and NZ/UK payroll timesheets and leave. The vendor documents 15 tools, including list-accounts, list-contacts, list-invoices and list-organisation-details.

How do I add the Xero MCP server to an MCP client?

Xero documents a Generic config; copy it from the Generic section of this page.

Does the Xero MCP server need authentication?

Yes, OAuth. Transport: stdio. Status: Unlabelled, last checked October 17, 2026.

Sources

Last verified against 5 Xero pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.