What can you do with Xero?
- Comprehensive Xero API coverage
- Multiple authentication methods
- Enterprise-ready with rate limiting
- Full error handling and retry logic
- Async support for better performance
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
xero-mcp-serverclaude mcp add xero -e 'XERO_API_KEY=<your xero_api_key>' -e 'XERO_API_URL=<XERO_API_URL>' -- uvx xero-mcp-server==0.1.0
{
"mcpServers": {
"xero": {
"command": "uvx",
"args": [
"xero-mcp-server==0.1.0"
],
"env": {
"XERO_API_KEY": "<your xero_api_key>",
"XERO_API_URL": "<XERO_API_URL>"
}
}
}
}
Environment variables
XERO_API_KEYrequired secret API Key for XEROXERO_API_URLAPI URL for XERO
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Xero MCP Server
Xero Mcp Server
A Model Context Protocol (MCP) server for integrating Xero with GenAI applications.
Overview
Cloud-based accounting software integration
Features
- Comprehensive Xero API coverage
- Multiple authentication methods
- Enterprise-ready with rate limiting
- Full error handling and retry logic
- Async support for better performance
Installation
pip install xero-mcp-server
Or install from source:
git clone https://github.com/asklokesh/xero-mcp-server.git
cd xero-mcp-server
pip install -e .
Configuration
Create a .env file or set environment variables according to Xero API requirements.
Quick Start
from xero_mcp import XeroMCPServer
# Initialize the server
server = XeroMCPServer()
# Start the server
server.start()
License
MIT License - see LICENSE file for details
Frequently asked questions
What is Xero?
MCP server for Xero API integration
How do I install Xero?
It runs on your machine. In Claude Code: claude mcp add xero -e 'XERO_API_KEY=<your xero_api_key>' -e 'XERO_API_URL=<XERO_API_URL>' -- uvx xero-mcp-server==0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Xero need an API key?
Yes. It expects XERO_API_KEY, which you set in its configuration.
Is Xero open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains Xero?
It is published by asklokesh. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.