MCP directory

Xero MCP

by github.com/Servosity · v0.1.14 · updated Nov 12, 2026

Every Xero Accounting read plus a local SQLite ledger - aging, reconciliation, and GL tie-out

MCP Bundle

Run it locally

Install the package and point your AI client at it.

MCP Bundle

https://github.com/Servosity/msp-skills/releases/download/xero-v0.1.14/xero-mcp.mcpb

Environment variables

  • XERO_ACCESS_TOKENrequiredsecret

    Set the XERO_ACCESS_TOKEN credential for the Xero MCP server.

  • XERO_AUTHORIZATION_URL

    Authorization endpoint the login flow opens. Change it only if Xero moves the endpoint.

  • XERO_BASE_URL

    Base URL for the Xero API. Leave the prefilled default unless your account uses a different regional or self-hosted host.

  • XERO_CLIENT_IDsecret

    Client ID of your Xero app (developer.xero.com > My Apps). Set it with the client secret to run the OAuth2 flow; leave blank if you paste an access token instead.

  • XERO_CLIENT_SECRETsecret

    Client secret paired with XERO_CLIENT_ID.

  • XERO_OAUTH2secret

    Optional. Sets XERO_OAUTH2 for the Xero MCP server.

  • XERO_TENANT_IDrequired

    The Xero organisation ('tenant') GUID sent as the Xero-Tenant-Id header. Every call requires it; `connections list` returns the tenants your token can reach.

  • XERO_TOKEN_URL

    Token endpoint the client-credentials exchange posts to. Leave the prefilled default unless your tenant uses a different token endpoint.

  • XERO_NO_CONFIG_WRITE

    Set to 1 to keep credentials off disk. The token cache becomes a no-op, so the connector mints a fresh token each run instead of writing one to config.toml. Leave blank for the default cached behaviour.

  • PRINTING_PRESS_CLIENT_PROFILEsecret

    Only for tenant-gated multi-client deployments: binds the MCP server to an existing client profile. Leave blank for a single-tenant install.

  • XERO_MCP_READ_ONLY

    Optional. Set to exactly 1 to expose only read-only tools and refuse any state-changing execute call. Leave blank to keep every tool available (writes still need confirm).

  • XERO_NO_LOCAL_DATA

    Optional. Set to 1 to keep no local copy of API responses: reads go to the API and the response cache is off. Leave blank to keep the local data.

  • XERO_MCP_HTTP_TOKENsecret

    Required only when running the MCP server with --transport http (a remote/hosted deployment). Callers must send a matching Authorization: Bearer header. Not needed for the default local stdio transport that Claude Desktop uses.

  • XERO_USER_AGENT

    Overrides the User-Agent the CLI sends on Xero requests. Leave blank to use the CLI's own built-in User-Agent.

  • XERO_SCOPES

    Comma or space separated OAuth scopes requested by auth login, replacing the default set. Leave blank for the default scopes.

More from github.com/Servosity

More MCP servers