Skip to content
appsgit

Xero MCP Server

Xero MCP Server is an MCP server that integrates with the MCP protocol. It has 386 GitHub stars, is released under the MIT license and runs locally with npx -y @xeroapi/xero-mcp-server. It works with Claude Desktop, Claude Code, Cursor and VS Code and needs an API key.

github.com/XeroAPI/xero-mcp-server (opens in a new tab)

Data as of from the GitHub API; description from the project's repository. Report an error

Install Xero MCP Server

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "xero-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@xeroapi/xero-mcp-server"
      ],
      "env": {
        "XERO_CLIENT_SECRET": "your-value",
        "XERO_CLIENT_BEARER_TOKEN": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env XERO_CLIENT_SECRET=your-value --env XERO_CLIENT_BEARER_TOKEN=your-value --transport stdio xero-mcp-server -- npx -y @xeroapi/xero-mcp-server

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "xero-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xeroapi/xero-mcp-server"
      ],
      "env": {
        "XERO_CLIENT_SECRET": "your-value",
        "XERO_CLIENT_BEARER_TOKEN": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "xero_client_secret",
      "description": "XERO_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xero_client_bearer_token",
      "description": "XERO_CLIENT_BEARER_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "xero-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xeroapi/xero-mcp-server"
      ],
      "env": {
        "XERO_CLIENT_SECRET": "${input:xero_client_secret}",
        "XERO_CLIENT_BEARER_TOKEN": "${input:xero_client_bearer_token}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
XERO_CLIENT_IDNoShown in the README's example configuration.
XERO_CLIENT_SECRETsecretNoShown in the README's example configuration.
XERO_SCOPESNoShown in the README's example configuration.
XERO_CLIENT_BEARER_TOKENsecretNoShown in the README's example configuration.

About Xero MCP Server

This is a Model Context Protocol (MCP) server implementation for Xero. It provides a bridge between the MCP protocol and Xero's API, allowing for standardized access to Xero's accounting and business features.

FAQ

Xero MCP Server FAQ

Still curious? Email info@appsgit.com.

How do I install the Xero MCP Server MCP server?

Add the command npx -y @xeroapi/xero-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Xero MCP Server free?

The server is open source under the MIT license, so running it is free. It needs credentials (XERO_CLIENT_SECRET and XERO_CLIENT_BEARER_TOKEN) for the service it connects to, which may require a paid account.

Is Xero MCP Server actively maintained?

The most recent commit was on Oct 26, 2026. appsgit only lists MCP servers with a commit in the last six months.