Xero

v0.2.1
io.github.pipeworx-io/xero Checked 2 days ago Published 27 days ago

Xero (Accounting) MCP Pack

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_organisations

List the Xero organisations (tenants) the connected account can access, with tenant id, name, and type. Xero accounting is multi-tenant — use this first to discover the tenant_id for a specific organisation, then pass it to the other accounting tools to target that org.

list_invoices

List invoices and bills from a Xero accounting organisation. Returns compact invoice summaries (number, type, status, contact, dates, total, amount due, currency) for bookkeeping, accounts-receivable, and accounts-payable review. Supports Xero filter expressions and pagination.

ParameterTypeDescription
pagenumberPage number for pagination (default 1). Xero returns up to 100 invoices per page.
tenant_idstringOptional Xero tenant (organisation) id to target. If omitted, the first connected organisation is used. Get ids from list_organisations.
wherestringOptional Xero filter expression (e.g. 'Status=="AUTHORISED"' or 'Type=="ACCREC"'). Applied as the Xero `where` query parameter.

list_contacts

List contacts (customers and suppliers) from a Xero accounting organisation. Returns name, email, status, and customer/supplier flags. Use for accounting, bookkeeping, and accounts-receivable/payable workflows. Supports Xero filter expressions and pagination.

ParameterTypeDescription
pagenumberPage number for pagination (default 1). Xero returns up to 100 contacts per page.
tenant_idstringOptional Xero tenant (organisation) id to target. If omitted, the first connected organisation is used. Get ids from list_organisations.
wherestringOptional Xero filter expression (e.g. 'IsCustomer==true' or 'ContactStatus=="ACTIVE"'). Applied as the Xero `where` query parameter.

get_profit_and_loss

Get the Profit and Loss (income statement) financial report from a Xero accounting organisation for an optional date range. Returns the structured Xero report (report name, date, and row sections covering revenue, expenses, and net profit). Use for financial reporting and bookkeeping analysis.

ParameterTypeDescription
from_datestringOptional start date of the reporting period in YYYY-MM-DD format.
tenant_idstringOptional Xero tenant (organisation) id to target. If omitted, the first connected organisation is used. Get ids from list_organisations.
to_datestringOptional end date of the reporting period in YYYY-MM-DD format.

list_accounts

List the chart of accounts from a Xero accounting organisation. Returns each account's code, name, type, class, and status. Use to understand an organisation's general ledger structure for bookkeeping and financial reporting.

ParameterTypeDescription
tenant_idstringOptional Xero tenant (organisation) id to target. If omitted, the first connected organisation is used. Get ids from list_organisations.