1. Conduid
  2. Developer Tools
  3. Xero-mcp-server
MCP server · Developer Tools

Xero-mcp-server

A Model Context Protocol server allows Clients to interact with Xero

Unclaimed MIT devtools
54Fair

Scored 13 days ago · breakdown

About Xero-mcp-server

Xero-mcp-server is an MCP server published by john-zhang-dev in the Developer Tools category: a Model Context Protocol server allows Clients to interact with Xero.

The repository has 22 stars and 15 forks, with the last commit 2 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Install
npx xero-mcp
Claude Code
claude mcp add xero-mcp -- npx -y xero-mcp
npx
npx -y xero-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Xero-mcp-server

Powered by Claude · Grounded in docs

I know everything about Xero-mcp-server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

xero-mcp-v2.2.2xero-mcp: v2.2.2 · 29 Jul 20262.2.2 (2026-07-26) Bug Fixes deps: bump fast-uri from 3.1.2 to 3.1.4 (#111) (96abf3d) deps: bump form-data from 4.0.5 to 4.0.6 in the npm_and_yarn group across 1 directory (#95) (efca164) deps: bump hono from 4.12.19 to 4.12.23 in the…
xero-mcp-v2.2.1xero-mcp: v2.2.1 · 30 May 20262.2.1 (2026-05-30) Bug Fixes Fixes an issue where browser tab hangs after OAuth flow. Now the browser tab display a user friendly message after authentication. auth browser tab hang after oauth flow ended (#84) (528bade) Dependency Updates…
xero-mcp-v2.2.0xero-mcp: v2.2.0 · 25 May 20262.2.0 (2026-05-25) Features refresh access token when there are tool calls in last 30 minutes (#72) (dc4e10f) Dependency Updates deps-dev: bump jest and @types/jest (#73) (f4fa1a1) deps: bump qs from 6.15.0 to 6.15.2 (#70) (531a4e3)
xero-mcp-v2.1.0xero-mcp: v2.1.0 · 23 May 20262.1.0 (2026-05-23) Features When XERO_REDIRECT_URI is not on port 5000, the redirect port can now be inferred from XERO_REDIRECT_URI without needing to provide the `PORT` env in the client configuration. Explicit `PORT` configuration…
xero-mcp-v2.0.6xero-mcp: v2.0.6 · 23 May 20262.0.6 (2026-05-23) Update Dependencies deps-dev: bump ts-jest from 29.4.6 to 29.4.10 (#65) (04b676d) deps-dev: bump typescript from 5.9.3 to 6.0.3 (#62) (cccf477) deps: bump dotenv from 17.3.1 to 17.4.2 (#61) (add0f76) deps: bump…

README

Xero MCP Server

smithery badge

This MCP server allows Clients to interact with Xero Accounting Software.

Get Started

  1. Make sure node is installed.

  2. Create an OAuth 2.0 app in Xero to get a CLIENT_ID and CLIENT_SECRET.

    • Create a free Xero user account (if you don't have one)

    • Login to Xero Developer center https://developer.xero.com/app/manage/

    • Click New app

    • Enter a name for your app

    • Select Web app

    • Provide a valid URL (can be anything valid eg. https://www.myapp.com)

    • Enter redirect URI: http://localhost:5000/callback

      Note: The redirect URI can be customized, but it must use localhost and include both an explicit port and a path (e.g. http://localhost:5050/my-path). Set the same value as XERO_REDIRECT_URI in your MCP client config below.

    • Tick to Accept the Terms & Conditions and click Create app

    • On the left-hand side of the screen select Configuration

    • Click Generate a secret

  3. Configure your MCP client:

    Claude Desktop

    Go to Settings -> Developers -> Local MCP Servers -> Edit Config and add the following to claude_desktop_config.json:

    {
      "mcpServers": {
        "xero-mcp": {
          "command": "npx",
          "args": ["-y", "xero-mcp@latest"],
          "env": {
            "XERO_CLIENT_ID": "YOUR_CLIENT_ID",
            "XERO_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
            "XERO_REDIRECT_URI": "http://localhost:5000/callback"
          }
        }
      }
    }
    

    Restart Claude Desktop, or reload via Developer -> Reload MCP Configuration.

    Claude Code

    Run the following command to add the MCP server:

    claude mcp add xero-mcp \
      -e XERO_CLIENT_ID=YOUR_CLIENT_ID \
      -e XERO_CLIENT_SECRET=YOUR_CLIENT_SECRET \
      -e XERO_REDIRECT_URI=http://localhost:5000/callback \
      -- npx -y xero-mcp@latest
    

    The server will be available in your next Claude Code session. To make it available across all projects, add --scope user to the command above.

  4. When accessing a Xero tool for the first time, a Xero login page will pop up to ask your consent. Complete the auth flow and manually close the web page (as the Xero page will not auto close in this version)

    Privacy alert: after completing the Xero OAuth2 flow, your Xero data may go through the LLM that you use. If you are doing testing you should authorize to your Xero Demo Company.

Tools

  • authenticate

    Authenticate with Xero using OAuth2

  • create_bank_transactions

    Creates one or more spent or received money transaction

  • create_contacts

    Creates one or multiple contacts in a Xero organisation

  • get_balance_sheet

    Retrieves report for balancesheet

  • get_bank_transaction

    Retrieves a single spent or received money transaction by its Xero bank transaction ID

  • get_invoice

    Retrieves a single sales invoice or purchase bill by its Xero invoice ID

  • list_accounts

    Retrieves the full chart of accounts

  • list_bank_transactions

    Retrieves any spent or received money transactions

  • list_contacts

    Retrieves all contacts in a Xero organisation

  • list_invoices

    Retrieves sales invoices or purchase bills

  • list_organisations

    Retrieves Xero organisation details

  • list_payments

    Retrieves payments for invoices and credit notes

  • list_quotes

    Retrieves sales quotes

  • update_bank_transaction

    Updates an existing spent or received money transaction (e.g. line items, contact, bank account) by bank transaction ID

  • update_invoice

    Updates an existing sales invoice or purchase bill (typically a draft), including line items and account codes

Examples

  • "Visualize my financial position over the last month"

  • "Track my spendings over last week"

  • "Add all transactions from the monthly statement into my revenue account (account code 201) as receive money"

License

MIT

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About Xero-mcp-server

How do I install Xero-mcp-server?

Run npx xero-mcp, then add the server to your MCP client's configuration.

Is Xero-mcp-server safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Xero-mcp-server still maintained?

Yes — the latest release is xero-mcp-v2.2.2 (29 Jul 2026), and the last commit was 2 days ago. The repository has 22 stars and 7 open issues.