list_accounts

Pack: xero · Endpoint: https://gateway.pipeworx.io/xero/mcp

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.

Parameters

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

Example call

Arguments

{
  "tenant_id": "12345678-1234-1234-1234-123456789012"
}

curl

curl -X POST https://gateway.pipeworx.io/xero/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_accounts","arguments":{"tenant_id":"12345678-1234-1234-1234-123456789012"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('list_accounts', {
  "tenant_id": "12345678-1234-1234-1234-123456789012"
});

More examples

{}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "xero": {
      "url": "https://gateway.pipeworx.io/xero/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 2, 2026