Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XERO_MCP_HOSTNoHTTP host (default: 127.0.0.1).127.0.0.1
XERO_MCP_PORTNoHTTP port (default: 8770).8770
XERO_CLIENT_IDNoOAuth2 client ID.
XERO_TENANT_IDNoRecommended active organisation tenant ID.
XERO_WEBHOOK_KEYNoWebhook signing key for HMAC verification.
XERO_ACCESS_TOKENNoPre-obtained access token (overrides OAuth).
XERO_CLIENT_SECRETNoOAuth2 client secret for Custom Connection.
XERO_MCP_API_TOKENNoBearer token for HTTP transport auth.
XERO_MCP_TRANSPORTNoTransport mode: stdio (default) or http.stdio
XERO_WRITE_ENABLEDNoSet to true to enable write operations. Without it, the server is read-only.false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Xero Accounting + Payroll AU API operations. Manage contacts, invoices, bills, bank transactions, payments, reports, and payroll. Token-efficient responses with pipe-delimited lists, field selection, and human-readable money. Write operations require XERO_WRITE_ENABLED=true. Destructive operations (void, delete, archive) require confirm=true.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
xero_infoB

Show Xero connection status, active tenant, and configuration.

xero_connectionsA

List connected Xero tenants/organisations. Use the tenantId to set XERO_TENANT_ID.

xero_organisationA

Get organisation details — name, country, currency, tax settings, financial year.

xero_contactsA

List contacts (customers and suppliers) with optional filters.

xero_contactC

Get contact detail — addresses, phone numbers, balances.

xero_create_contactB

Create a new contact. Requires XERO_WRITE_ENABLED=true.

xero_update_contactC

Update a contact. Requires XERO_WRITE_ENABLED=true.

xero_archive_contactB

Archive a contact. Requires XERO_WRITE_ENABLED=true and confirm=true.

xero_invoicesC

List sales invoices with optional filters.

xero_invoiceA

Get invoice detail — line items, payments, totals.

xero_create_invoiceB

Create a sales invoice. Requires XERO_WRITE_ENABLED=true.

xero_update_invoiceB

Update a draft or submitted invoice. Requires XERO_WRITE_ENABLED=true.

xero_void_invoiceA

Void an invoice. Irreversible. Requires XERO_WRITE_ENABLED=true and confirm=true.

xero_email_invoiceA

Email an invoice to its contact. Requires XERO_WRITE_ENABLED=true.

xero_billsC

List purchase bills with optional filters.

xero_billC

Get bill detail — line items, payments, totals.

xero_create_billB

Create a purchase bill. Requires XERO_WRITE_ENABLED=true.

xero_void_billA

Void a bill. Irreversible. Requires XERO_WRITE_ENABLED=true and confirm=true.

xero_bank_transactionsC

List bank transactions (spend/receive money).

xero_bank_transactionB

Get bank transaction detail — line items, account, contact.

xero_create_bank_transactionA

Create a bank transaction (spend or receive money). Requires XERO_WRITE_ENABLED=true.

xero_paymentsC

List payments.

xero_paymentB

Get payment detail — amount, date, invoice, account.

xero_create_paymentA

Record a payment against an invoice or bill. Requires XERO_WRITE_ENABLED=true.

xero_delete_paymentA

Delete a payment. Requires XERO_WRITE_ENABLED=true and confirm=true.

xero_credit_notesC

List credit notes.

xero_create_credit_noteC

Create a credit note. Requires XERO_WRITE_ENABLED=true.

xero_void_credit_noteA

Void a credit note. Irreversible. Requires XERO_WRITE_ENABLED=true and confirm=true.

xero_purchase_ordersC

List purchase orders.

xero_create_purchase_orderB

Create a purchase order. Requires XERO_WRITE_ENABLED=true.

xero_quotesC

List quotes.

xero_create_quoteB

Create a quote. Requires XERO_WRITE_ENABLED=true.

xero_accountsC

List chart of accounts.

xero_accountC

Get account detail — type, class, tax type, bank info.

xero_manual_journalsC

List manual journal entries.

xero_profit_lossC

Get Profit & Loss report for a date range.

xero_balance_sheetC

Get Balance Sheet report as at a given date.

xero_trial_balanceC

Get Trial Balance report as at a given date.

xero_aged_receivablesC

Get Aged Receivables report with period breakdown.

xero_aged_payablesC

Get Aged Payables report with period breakdown.

xero_tax_ratesB

List tax rates and their effective percentages.

xero_currenciesA

List active currencies configured for the organisation.

xero_tracking_categoriesA

List tracking categories and their options for cost allocation.

xero_branding_themesA

List branding themes for invoice/quote customisation.

xero_employeesB

List payroll employees (AU Payroll API).

xero_employeeA

Get employee detail — tax declaration, super, leave, address.

xero_timesheetsB

List payroll timesheets (AU Payroll API).

xero_timesheetB

Get timesheet detail — lines, hours, earnings rates.

xero_create_timesheetC

Create a timesheet. Requires XERO_WRITE_ENABLED=true.

xero_approve_timesheetA

Approve a timesheet. Requires XERO_WRITE_ENABLED=true and confirm=true.

xero_payslipsA

List payslips for a pay run (AU Payroll API).

xero_payslipB

Get payslip detail — earnings, deductions, super, tax.

xero_verify_webhookA

Verify a Xero webhook HMAC-SHA256 signature.

Xero signs webhook payloads with HMAC-SHA256 using your webhook key. The signature is base64-encoded in the X-Xero-Signature header.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 53 tools

Disambiguation4/5

The singular/plural resource pattern (xero_invoices = list, xero_invoice = get detail) plus explicit action prefixes makes nearly every tool unambiguous. The one soft spot is that a careless agent could pick the plural lister when it wanted the singular detail tool (e.g. xero_bills vs xero_bill), but descriptions make the intent clear.

Naming Consistency4/5

Everything is snake_case with a uniform xero_ prefix, and action tools consistently use verb_resource ordering (create_invoice, void_bill, archive_contact, approve_timesheet). The only deviation is the noun-only convention for reads (xero_bills, xero_payslip) instead of list_/get_ prefixes, but plural=list / singular=get is applied consistently across all resources.

Tool Count2/5

At 53 tools this is well past the heavy threshold and the surface is dominated by repetitive singular/plural read pairs across ~20 resources. The breadth mirrors the Xero API, but several read-only pairs (e.g. accounts, manual journals, quotes) add volume without adding capability.

Completeness3/5

Contacts, payments, invoices and timesheets have solid lifecycle coverage, but there are notable holes: no credit note detail tool, no update for bills/quotes/purchase orders, no create for manual journals or accounts, and no attachments support. Agents can read most things but will hit dead ends on common write workflows outside invoices/contacts.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues