Xero-mcp-server

Xero-mcp-server

Enabling clients to interact with Xero system for streamlined accounting, invoicing, and business operations.

18
Stars
10
Forks
5
Releases

Overview

Xero MCP Server enables clients and applications to interact with Xero Accounting Software through a dedicated MCP interface. It provides OAuth2-based authentication to connect to Xero and exposes a practical set of tools to read and manipulate core Xero data, including bank transactions, contacts, invoices, journals, accounts, payments, and organizational details. The server is configured via Claude Desktop by editing claude_desktop_config.json, where each MCP entry specifies the command, arguments, and environment variables (XERO_CLIENT_ID, XERO_CLIENT_SECRET, XERO_REDIRECT_URI). Available tools include authenticate, create_bank_transactions, create_contacts, get_balance_sheet, list_accounts, list_bank_transactions, list_contacts, list_invoices, list_journals, list_organisations, list_payments, and list_quotes. To begin, you create a Xero OAuth2 app and supply the client credentials; on first use, a Xero login page prompts for consent. Privacy alert: after completing the OAuth2 flow, Xero data may pass through the LLM you use; for testing you should authorize the Xero Demo Company. This MCP server is MIT licensed and designed for quick setup and iterative experimentation.

Details

Owner
john-zhang-dev
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

authenticate

Authenticate with Xero using OAuth2 to establish a connection for subsequent MCP commands.

create_bank_transactions

Create one or more spent or received money transactions in the Xero organisation.

create_contacts

Create one or multiple contacts in a Xero organisation.

get_balance_sheet

Retrieve the balance sheet report from Xero.

list_accounts

Retrieve the full chart of accounts.

list_invoices

Retrieve sales invoices or purchase bills.

list_contacts

Retrieve all contacts in a Xero organisation.

list_payments

Retrieve payments for invoices and credit notes.

Audience

DevelopersCreate applications that manage Xero data via MCP commands easily.
Finance teamsEmpower finance teams to retrieve and reconcile Xero data programmatically.

Tags

XeroAccountingOAuth2MCPBank TransactionsInvoicesContactsJournalsAccountsPaymentsQuotesClaude Desktop