Official (Vendor)Active· 19dby Xero
Xero MCP Server
Xero's official MCP server connects AI tools to the Xero accounting API for contacts, the chart of accounts and invoices. It uses Xero custom connections or a bearer token and runs through npx.
Install
npx -y @xeroapi/xero-mcp-server@latest
Paste into your host's MCP config:
{
"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"
}
}
}
}Env vars needed:
XERO_CLIENT_IDXERO_CLIENT_SECRETReview
Written from the maker's own published material. Not a hands-on test.
The Xero MCP Server is published by XeroAPI and bridges the MCP protocol to Xero's API. The repository lists Xero OAuth2 authentication with custom connections, contact management, chart of accounts management and invoice creation and management. It is MIT licensed.
It needs Node.js 18 or higher and a Xero developer account with API credentials. Two authentication modes are documented. Custom Connections suit testing and development and the repository recommends them for third-party clients such as Claude Desktop. Setup uses XERO_CLIENT_ID and XERO_CLIENT_SECRET, with an optional XERO_SCOPES list. The Claude Desktop config runs npx -y @xeroapi/xero-mcp-server@latest. The second mode is a bearer token in XERO_CLIENT_BEARER_TOKEN, for clients that run their own auth flow and support several Xero accounts. Required scopes differ for custom connections created before or from 29 April 2026, as the repository sets out in a table.
The repository recommends starting with a Xero Demo Company, which comes with sample data, and notes that payroll queries need an NZ or UK region. Because the server can create and change invoices, check which scopes the connection holds and test on the demo organisation before pointing it at live books.
It suits developers and finance teams who use Xero and want an assistant to look up contacts and accounts or draft invoices.
Verdict
Developers and finance teams that use Xero should look at it. Check the scopes on your connection and test with a Demo Company first.
Good at
- Covers contacts, the chart of accounts and invoices.
- Two authentication modes are documented.
- A Claude Desktop config is provided.
- The repository recommends a Xero Demo Company with sample data for testing.
- MIT licensed.
Watch out
- Needs a Xero developer account and API credentials.
- Scopes differ for custom connections created before or from 29 April 2026.
- Payroll queries need an NZ or UK region.
- Check that write actions such as invoice creation need approval.
Use cases
- Look up a contact
- List accounts in the chart of accounts
- Draft an invoice for review
- Test accounting prompts in a Demo Company
Getting started
1. Create a Xero account and switch to the Demo Company for testing.
2. Set up a Custom Connection in the Xero developer portal and add the required scopes.
3. In Claude Desktop, open Settings, Developer, Edit config and add the xero entry with your client ID and secret.
4. Restart the client and test with a read-only prompt on the Demo Company.
Works with
Claude Desktop
Similar MCPs
- Square Model Context Protocol ServerSquare's MCP server lets AI assistants use the Square Connect API. Square runs a hosted server at https://mcp.squareup.com/mcp with OAuth sign-in, and publishes a local server on GitHub. The repository marks it as beta.
- OpenAnyOpenAny is a marketplace of AI models and data APIs for agents, reached through one hosted MCP endpoint. Browsing the catalogue and checking prices needs no key. Running a call needs an OpenAny API key and is paid per call from a prepaid balance.
- Alby MCPConnects any Bitcoin Lightning wallet to your agent via Nostr Wallet Connect for sending and receiving instant payments.
- Attio MCPConnects the Attio AI-native CRM for reading company records, managing notes, and logging activities.