Xero MCP Server
Integrate Xero’s accounting capabilities into FlowHunt with secure, real-time access for AI agents and tools—automate contacts, accounts, invoices, and more.

What does “Xero” MCP Server do?
The Xero MCP Server is a Model Context Protocol (MCP) server implementation designed to bridge the MCP protocol with Xero’s comprehensive business and accounting APIs. By acting as an intermediary, it enables AI assistants and development tools to securely interact with Xero’s platform, facilitating tasks like contact management, chart of accounts access, and invoice operations. This integration empowers developers to automate and enhance their workflows with live access to business data, standardized through the MCP protocol, while maintaining secure OAuth2 authentication. The server is ideal for use cases that require real-time data interchange between AI agents and Xero’s accounting tools, supporting both development and business automation scenarios.
List of Prompts
No prompt templates were found in the available documentation or repository files.
List of Resources
No explicit resources were documented in the available repository files or README.
List of Tools
No explicit list of tools could be found in the available documentation or repository files.
Use Cases of this MCP Server
Contact Management
Automate the retrieval, creation, and management of contacts within Xero, streamlining client or vendor data workflows for developers and AI agents.Chart of Accounts Access
Enable AI assistants to interact with or analyze a business’s chart of accounts, supporting bookkeeping, reporting, and financial insight automation.Invoice Creation and Management
Allow AI-powered systems to generate, track, and update invoices in Xero, reducing manual entry and ensuring accuracy.Xero API Integration for AI Agents
Connect AI models or developer tools to Xero’s API for tasks like querying business data, reporting, and executing business logic in response to natural language queries.
How to set it up
Windsurf
No setup instructions for Windsurf were found in the repository.
Claude
- Prerequisites:
- Ensure Node.js v18 or higher is installed.
- Obtain Xero API client credentials.
- Locate Configuration:
- Open your
claude_desktop_config.json
file.
- Open your
- Add Xero MCP Server:
- Add the following JSON snippet:
{ "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" } } } }
- Add the following JSON snippet:
- Save and Restart:
- Save the file and restart Claude Desktop.
- Verify Setup:
- Ensure the server launches and can connect to Xero.
Securing API Keys
Use environment variables in the env
block as shown above.
Cursor
No setup instructions for Cursor were found in the repository.
Cline
No setup instructions for Cline were found in the repository.
How to use this MCP inside flows
Using MCP in FlowHunt
To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:
{
"xero": {
"transport": "streamable_http",
"url": "https://yourmcpserver.example/pathtothemcp/url"
}
}
Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “xero” to whatever the actual name of your MCP server is and replace the URL with your own MCP server URL.
Overview
Section | Availability | Details/Notes |
---|---|---|
Overview | ✅ | Overview present in README.md |
List of Prompts | ⛔ | No prompt templates found |
List of Resources | ⛔ | No explicit MCP resources found |
List of Tools | ⛔ | No tool list found |
Securing API Keys | ✅ | Shown in Claude config example |
Sampling Support (less important in evaluation) | ⛔ | Not mentioned |
Our opinion
The Xero MCP Server provides a solid bridge between Xero’s API and the MCP protocol, with practical use cases clearly outlined and secure credential management demonstrated. However, the lack of directly documented tools, prompt templates, and explicit MCP resources limits its current plug-and-play value for broader AI agent ecosystems.
Score: 5/10 — Good protocol integration and documentation, but missing key MCP primitives and code samples for tools or prompts.
MCP Score
Has a LICENSE | ✅ (MIT) |
---|---|
Has at least one tool | ⛔ |
Number of Forks | 40 |
Number of Stars | 78 |
Frequently asked questions
- What is the Xero MCP Server?
The Xero MCP Server enables secure, real-time integration between FlowHunt AI agents and Xero’s business APIs, automating contacts, accounts, and invoice processes through the MCP protocol.
- What business tasks can I automate with this server?
You can automate contact management, chart of accounts access, invoice creation and management, and general Xero API interactions for reporting and business logic.
- How do I secure my Xero API credentials?
Use environment variables in the configuration file, as shown in the setup example, to keep your Xero client ID and secret safe and out of your codebase.
- Does the Xero MCP Server support prompt templates or custom tools?
As of now, there are no built-in prompt templates or explicit tool primitives documented. It focuses on protocol integration for core Xero business data operations.
- Can I use the Xero MCP Server with other FlowHunt components?
Yes, simply add the MCP component to your FlowHunt flow, configure it with your Xero MCP server URL, and connect it to your AI agent for seamless data-driven automation.
Connect FlowHunt to Xero Instantly
Streamline your business operations—bring real-time accounting automation to your AI flows with the Xero MCP Server.