Xero MCP Server
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Integrations
Provides a bridge to Xero's accounting and business features, including contact management, chart of accounts management, and invoice creation and management, using OAuth2 authentication.
Xero MCP Server
This is a Model Context Protocol (MCP) server implementation for Xero. It provides a bridge between the MCP protocol and Xero's API, allowing for standardized access to Xero's accounting and business features.
Features
- Xero OAuth2 authentication with custom connections
- Contact management
- Chart of Accounts management
- Invoice creation and management
- MCP protocol compliance
Prerequisites
- Node.js (v18 or higher)
- npm or pnpm
- A Xero developer account with API credentials
Configuring your Xero Developer account
Set up a Custom Connection following these instructions: https://developer.xero.com/documentation/guides/oauth2/custom-connections/
Currently the following scopes are required:
accounting.transactions accounting.contacts accounting.settings.read
Integrating the MCP server with Claude Desktop
To add the MCP server to Claude go to Settings > Developer > Edit config and add the following to your claude_desktop_config.json file:
Available MCP Commands
list-contacts
: Retrieve a list of contacts from Xerolist-invoices
: Retrieve a list of invoiceslist-accounts
: Retrieve a list of accountslist-tax-rates
: Retrieve a list of tax rateslist-quotes
: Retrieve a list of quoteslist-credit-notes
: Retrieve a list of credit notescreate-contact
: Create a new contactcreate-invoice
: Create a new invoicecreate-quote
: Create a new quotecreate-credit-note
: Create a new credit noteupdate-contact
: Update an existing contactupdate-invoice
: Update an existing draft invoice
For detailed API documentation, please refer to the MCP Protocol Specification.
For Developers
Installation
Run a build
Integrating with Claude Desktop
To add the MCP server to Claude go to Settings > Developer > Edit config and add the following to your claude_desktop_config.json file:
License
MIT
Security
Please do not commit your .env
file or any sensitive credentials to version control.
You must be authenticated.
A Model Context Protocol server implementation providing standardized access to Xero's accounting and business features, enabling operations like contact management, invoice creation, and chart of accounts management through MCP.