Skip to content
MCP server

Xero

Xero MCP server for invoices, contacts, payments, quotes, and financial reports.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.3
Listing updated
6 days ago

Similar MCP servers

About Xero

Xero is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-server-xero --env XERO_CLIENT_ID='<XERO_CLIENT_ID>' --env XERO_CLIENT_SECRET='<XERO_CLIENT_SECRET>' --env XERO_REFRESH_TOKEN='<XERO_REFRESH_TOKEN>' --env XERO_CLIENT_BEARER_TOKEN='<XERO_CLIENT_BEARER_TOKEN>' -- npx -y @mindstone/mcp-server-xero

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-xero": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-xero"
      ],
      "env": {
        "XERO_CLIENT_ID": "<XERO_CLIENT_ID>",
        "XERO_CLIENT_SECRET": "<XERO_CLIENT_SECRET>",
        "XERO_REFRESH_TOKEN": "<XERO_REFRESH_TOKEN>",
        "XERO_CLIENT_BEARER_TOKEN": "<XERO_CLIENT_BEARER_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-xero": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-xero"
      ],
      "env": {
        "XERO_CLIENT_ID": "<XERO_CLIENT_ID>",
        "XERO_CLIENT_SECRET": "<XERO_CLIENT_SECRET>",
        "XERO_REFRESH_TOKEN": "<XERO_REFRESH_TOKEN>",
        "XERO_CLIENT_BEARER_TOKEN": "<XERO_CLIENT_BEARER_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-server-xero": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-xero"
      ],
      "env": {
        "XERO_CLIENT_ID": "<XERO_CLIENT_ID>",
        "XERO_CLIENT_SECRET": "<XERO_CLIENT_SECRET>",
        "XERO_REFRESH_TOKEN": "<XERO_REFRESH_TOKEN>",
        "XERO_CLIENT_BEARER_TOKEN": "<XERO_CLIENT_BEARER_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-xero": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-xero"
      ],
      "env": {
        "XERO_CLIENT_ID": "<XERO_CLIENT_ID>",
        "XERO_CLIENT_SECRET": "<XERO_CLIENT_SECRET>",
        "XERO_REFRESH_TOKEN": "<XERO_REFRESH_TOKEN>",
        "XERO_CLIENT_BEARER_TOKEN": "<XERO_CLIENT_BEARER_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-server-xero": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-xero"
      ],
      "env": {
        "XERO_CLIENT_ID": "<XERO_CLIENT_ID>",
        "XERO_CLIENT_SECRET": "<XERO_CLIENT_SECRET>",
        "XERO_REFRESH_TOKEN": "<XERO_REFRESH_TOKEN>",
        "XERO_CLIENT_BEARER_TOKEN": "<XERO_CLIENT_BEARER_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • XERO_CLIENT_IDClient ID of your Xero Web app (Sign in with Xero) or Custom Connection.Required
  • XERO_CLIENT_SECRETClient secret of your Xero Web app (Sign in with Xero) or Custom Connection.Required
  • XERO_REFRESH_TOKENOptional refresh token from Sign in with Xero, for a Web app. Rebel saves it when you click Connect. With it, the client ID and secret are used as a Web app's, not a Custom Connection's.
  • XERO_CLIENT_BEARER_TOKENOptional externally-managed Xero bearer token. When set, it takes precedence over the refresh token and the Custom Connection client credentials.

Pricing

Open source

Xero FAQ

Is Xero free?

Yes. Xero is open source, so you can use and self-host it for free.

How do I add Xero to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-xero --env XERO_CLIENT_ID='<XERO_CLIENT_ID>' --env XERO_CLIENT_SECRET='<XERO_CLIENT_SECRET>' --env XERO_REFRESH_TOKEN='<XERO_REFRESH_TOKEN>' --env XERO_CLIENT_BEARER_TOKEN='<XERO_CLIENT_BEARER_TOKEN>' -- npx -y @mindstone/mcp-server-xero

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers