Authenticate with Xero using OAuth2
Creates one or more spent or received money transactions
Creates one or multiple contacts in a Xero organisation
Retrieves report for balancesheet
Retrieves the full chart of accounts
Retrieves any spent or received money transactions
Retrieves all contacts in a Xero organisation
Retrieves sales invoices or purchase bills
Retrieves journals
Retrieves Xero organisation details
Retrieves payments for invoices and credit notes
Retrieves sales quotes
This MCP server provides a seamless integration with Xero accounting software, allowing AI assistants to access and manage your financial data. It enables viewing financial reports, tracking transactions, managing contacts, and even creating new financial entries directly through conversational interfaces. With Xero MCP, you can visualize your financial position, track spending patterns, and perform accounting tasks without leaving your AI assistant. The integration uses OAuth2 for secure authentication, ensuring your financial data remains protected while providing powerful accounting capabilities.
To use the Xero Accounting MCP, you'll need to complete a few setup steps:
Before using this MCP, you need to create an OAuth 2.0 app in Xero:
http://localhost:5000/callback
Add the Xero MCP to your Claude Desktop configuration:
claude_desktop_config.json
file{
"mcpServers": {
"xero-mcp": {
"command": "npx",
"args": ["-y", "xero-mcp@latest"],
"env": {
"XERO_CLIENT_ID": "YOUR_CLIENT_ID",
"XERO_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"XERO_REDIRECT_URI": "http://localhost:5000/callback"
}
}
}
}
YOUR_CLIENT_ID
and YOUR_CLIENT_SECRET
with the values from your Xero OAuth appThe first time you use a Xero tool, a browser window will open asking you to log in to Xero and authorize the connection. Complete the authentication flow and manually close the web page when finished.
Privacy Note: After completing the Xero OAuth2 flow, your Xero data may be processed by the LLM you're using. For testing purposes, consider authorizing with your Xero Demo Company instead of your actual business data.
You can interact with your Xero accounting data through natural language queries:
The MCP will translate these requests into the appropriate Xero API calls and return the results in a readable format, often with visualizations for financial data.