Xero MCP
Xero's open-source MCP server for invoices, contacts, reports and payroll
BestMCPTools
Xero MCP
bestmcptools.org
Last verified: November 24, 2026
Maintenance status
ActivePublic repo, no archive banner seen on November 24, 2026. Latest commit November 9, 2026 23:40 UTC (npm publish workflow); version bump to 0.0.18 the same day. No releases listed on the page. repo_pushed_at is the latest commit time, not the API push time.
How to Install Xero MCP
$npx -y @xeroapi/xero-mcp-server@latestCompatible with: Claude Desktop, Cursor.
Setup by client
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"xero-mcp": {
"command": "npx",
"args": [
"-y",
"@xeroapi/xero-mcp-server@latest"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"xero-mcp": {
"command": "npx",
"args": [
"-y",
"@xeroapi/xero-mcp-server@latest"
]
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"xero-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@xeroapi/xero-mcp-server@latest"
]
}
}
}Claude Code (terminal)
claude mcp add xero-mcp -- npx -y @xeroapi/xero-mcp-server@latestAdd any API keys or environment variables the server's README lists.
About Xero MCP
Xero MCP is the open-source Model Context Protocol server published by Xero in the XeroAPI GitHub organisation. It runs locally on your machine through Node.js and lets an AI client work with a Xero organisation: list and create invoices, contacts, quotes, credit notes, payments, bank transactions and manual journals, read reports such as profit and loss, and (in NZ or UK regions) query payroll. Xero has since launched a separate Xero-hosted Remote MCP server, so this page covers the local, open-source option and explains how the two differ.
Quick facts (as of November 24, 2026)
| Xero MCP | |
|---|---|
| Maker | Xero (XeroAPI organisation on GitHub) |
| Type | Local server run with npx over stdio; a separate Xero-hosted remote server also exists |
| Package | @xeroapi/xero-mcp-server (run as npx -y @xeroapi/xero-mcp-server@latest) |
| Auth | Xero custom connection (client ID and secret) or a bearer token you supply |
| Prerequisites | Node.js 18 or higher, npm or pnpm, a Xero developer account with API credentials |
| Documented clients | Claude Desktop (config in the README); Xero's AI Toolkit FAQ says its MCP Server works with local stdio clients and was tested with Claude Desktop and Cursor |
| License | MIT |
| Latest commit seen | November 9, 2026 (version bump to 0.0.18 in the commit title) |
| Price | The server is free; Xero's developer plans and API limits apply (see Pricing) |
What it is
The repository describes the server as a bridge between the Model Context Protocol and Xero's accounting and business APIs. The README lists its features as Xero OAuth2 authentication with custom connections, contact management, chart of accounts, invoice management and MCP protocol compliance. Payroll queries are only available for organisations in the NZ or UK region.
Xero's AI Toolkit page at developer.xero.com lists four components: an Agentic SDK, a Remote MCP Server, a command line interface and a prompt library. The toolkit page describes the Xero-hosted Remote MCP Server and does not describe this open-source server or make any statement about its repository. Xero's changelog says the Remote MCP launched on October 15, 2026, for commercial apps on the Core plan or above, with 39 tools across invoicing, accounting, reporting and payments. The two servers are different products, and the sources we read do not say whether the open-source one is being retired.
Tools and capabilities
The README groups the tools by action. Exact names as listed:
- List and read:
list-accounts,list-contacts,list-credit-notes,list-invoices,list-items,list-manual-journals,list-organisation-details,list-profit-and-loss,list-quotes,list-tax-rates,list-payments,list-trial-balance,list-bank-transactions,list-report-balance-sheet,list-aged-receivables-by-contact,list-aged-payables-by-contact,list-contact-groups,list-tracking-categories - Payroll reads:
list-payroll-employees,list-payroll-employee-leave,list-payroll-employee-leave-balances,list-payroll-employee-leave-types,list-payroll-leave-periods,list-payroll-leave-types,list-timesheets - Create:
create-bank-transaction,create-contact,create-credit-note,create-invoice,create-item,create-manual-journal,create-payment,create-quote,create-tracking-category,create-tracking-option,create-payroll-timesheet - Update:
update-bank-transaction,update-contact,update-invoice,update-item,update-manual-journal,update-quote,update-credit-note,update-tracking-category,update-tracking-options - Payroll timesheets:
get-payroll-timesheet,update-payroll-timesheet-line,add-payroll-timesheet-line,approve-payroll-timesheet,revert-payroll-timesheet,delete-payroll-timesheet
Many of these write to your books. Creating invoices, payments, bank transactions and manual journals, and approving or deleting timesheets, change real accounting and payroll data.
Setup for Claude, Cursor and other clients
The README gives its configuration for Claude Desktop. Open Settings, then Developer, then Edit config, and add a server entry. The custom connection version from the README:
{
"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"
}
}
}
}
The README also shows an optional XERO_SCOPES entry in env, for example "accounting.invoices accounting.contacts accounting.settings", and says defaults apply if you leave it out. If you use nvm, the README says to replace npx with the full path to your npx binary. On Windows, escape backslashes in file paths.
For a local development build, the README uses "command": "node" with args pointing to dist/index.js inside your clone of the repository, with the same env values.
Xero's AI Toolkit FAQ says Xero's MCP Server works with any MCP client that supports local stdio servers and that all testing used Claude Desktop and Cursor. That FAQ does not name this repository, so we cannot confirm it refers to it. We did not find a Cursor or Claude Code specific config in the pages we read, so for those clients you would adapt the same command, arguments and environment variables to that client's own MCP settings format.
Authentication
The README describes two modes.
Custom connections. The README recommends this for testing and for Claude Desktop. You set XERO_CLIENT_ID and XERO_CLIENT_SECRET from a custom connection set up in your Xero developer account. The required scopes depend on when the connection was created. Connections created before April 29, 2026 use V1 scopes (bundled permissions). Connections created from that date use V2 scopes (granular permissions). The README says the server tries V1 first and falls back to V2, that every scope in the relevant list must be added to the connection, and that XERO_SCOPES (a space-separated list) overrides the defaults.
Bearer token. For multiple Xero accounts or client-driven flows such as PKCE, set XERO_CLIENT_BEARER_TOKEN. It takes precedence over XERO_CLIENT_ID. You must request the right scopes when you obtain the token. The README lists accounting scopes (invoices, payments, bank transactions, manual journals, contacts, settings and several report scopes) and payroll scopes (settings, employees, timesheets). It marks accounting.transactions, accounting.transactions.read and accounting.reports.read as deprecated in favour of granular scopes.
Xero's changelog (August 6, 2026) says broad Accounting API scopes are being replaced by granular ones, that apps created on or after March 2, 2026 already use granular scopes, and that existing apps have until September 13, 2027 to migrate.
Limits and things to watch
- Writes are live. The server can create and modify real records. Xero's FAQ for the Remote MCP notes that its tools do not ask users to confirm changes before writing to Xero; the open-source README does not describe a confirmation step either, so rely on your client's tool approval prompts.
- Credentials in config. Your client secret or bearer token sits in a config file or environment, so protect it.
- Rate limits. Xero's pricing page lists a daily limit per organisation of 1,000 calls on Starter and 5,000 on Core and above. Whether these apply identically to custom connections is not stated on that page.
- Scope changes. Because Xero is moving from broad to granular scopes, an old connection or token may need its scopes reviewed.
- Payroll works only for NZ or UK organisations.
- Release signals. The GitHub page we read showed no published releases, so versions come from commit titles and the npm package name.
Pricing
The server itself is MIT licensed and free. Using it consumes Xero API quota. As of November 2026, Xero's developer pricing page lists these plans in AUD, tax exclusive: Starter at no charge (5 connections, 1,000 daily calls per organisation), Core at $35 per month (50 connections, 10 GB egress), Plus at $245 per month (1,000 connections, 50 GB), Advanced at $1,445 per month (10,000 connections, 250 GB), and Enterprise on application. Egress over the allotment is $2.40 per GB on Core, Plus and Advanced. The page does not mention custom connections or separate pricing for them. A Xero subscription for the organisation you connect is a separate matter that we did not research.
Pros and cons
Pros
- Open source under MIT, so you can read and modify what it does.
- Broad coverage: invoices, contacts, quotes, payments, journals, bank transactions, reports and tracking categories.
- Runs locally over stdio through npx.
- Works with Xero's custom connection model, which suits a single-organisation setup.
- Recent commits as of November 9, 2026, including a dependency upgrade and security fixes.
Cons
- Requires Node.js, a Xero developer account and manual scope setup.
- Scope rules changed on April 29, 2026 and are changing again, which can cause setup confusion.
- Many tools write data, with no documented read-only mode.
- Xero's AI Toolkit pages describe its hosted Remote MCP and do not mention this repository, so its long-term status is unclear.
- The version number in the latest commit titles is 0.0.18.
Who it is for
A good fit if:
- You run a Xero organisation and want an assistant to draft invoices, look up contacts or read a profit and loss report.
- You are a developer who wants to read or extend an MIT licensed Xero MCP server.
Not the right tool if:
- You want Xero's own hosted server with OAuth sign-in and no local install. Read Xero's Remote MCP documentation instead. Its FAQ says Custom Connections apps are not eligible for it.
- You need payments or billing outside Xero. See Stripe MCP or PayPal MCP.
Alternatives
Xero's own hosted Remote MCP Server (documented on developer.xero.com, with the URL given in its FAQ as api.xero.com/mcp/v1) is the main alternative inside the Xero ecosystem. For payments data rather than accounting, Stripe MCP and PayPal MCP are listed on this site.
What we don't know
- Exact last push time. We use the timestamp of the latest commit (November 9, 2026); the repository API page could not be fetched.
- Official status of this repo. No page we read says whether the open-source server is maintained long term or replaced by the Remote MCP.
- Remote MCP details. The overview page rendered only its headings for us, so scopes, tool names and tier rules for the remote server come only from the FAQ and changelog.
- Custom connection pricing. Not mentioned on Xero's pricing page.
- Read-only mode. None documented.
- Behavior in practice. This page is based on documentation only.
How this page was put together
We read the GitHub repository page, its commit list and its README, plus Xero's AI Toolkit page, Remote MCP FAQ, AI Toolkit FAQ, changelog and developer pricing page on November 24, 2026, and compared the documented tools, setup and warnings.
Sources
Pricing
Open Source: from Server free (MIT); Xero developer Starter plan $0, Core AUD 35 per month (as of November 2026)
Our Take on Xero MCP
A capable MIT licensed local server for Xero accounting, with many write tools and manual scope setup. Xero now also offers a hosted Remote MCP, and its relation to this repo is not stated, so check which fits your account.