# Xero MCP Server

An MCP server that connects your AI assistant to Xero accounting data.

MCP server by Xero. Category: Agent craft.

## Install

Project (for this project only):

```sh
npx add-mcp @xeroapi/xero-mcp-server@latest
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx add-mcp @xeroapi/xero-mcp-server@latest -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Where it runs

Your computer.

## What it needs

Environment variables:

- `XERO_CLIENT_ID` (optional): Client ID of your Xero custom connection
- `XERO_CLIENT_SECRET` (optional): Client secret of your Xero custom connection
- `XERO_CLIENT_BEARER_TOKEN` (optional): Bearer token (takes precedence over the client ID when set)

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.
- Needs a key or account: It asks for an API key or a sign in before it works.

## Source

[Open the source](https://github.com/XeroAPI/xero-mcp-server). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [mwdat-android](https://syn4pse.dev/terminal/mwdat-android.md)
- Next: [copilot-plugins](https://syn4pse.dev/terminal/copilot-plugins.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
