---
name: "Connect accounting agents to Xero through MCP"
slug: "connect-accounting-agents-to-xero-through-mcp"
description: "Use Xero MCP Server to give approved MCP clients controlled access to Xero accounting data, reports, invoices, contacts, and related business records."
github_stars: 294
verification: "security_reviewed"
source: "https://github.com/XeroAPI/xero-mcp-server"
author: "XeroAPI"
publisher_type: "vendor_open_source"
category: "Integrations & Connectors"
framework: "MCP"
tool_ecosystem:
  github_repo: "XeroAPI/xero-mcp-server"
  github_stars: 294
  npm_package: "@xeroapi/xero-mcp-server"
  npm_weekly_downloads: 7989
---

# Connect accounting agents to Xero through MCP

Use Xero MCP Server to give approved MCP clients controlled access to Xero accounting data, reports, invoices, contacts, and related business records.

## Prerequisites

Node.js 18+, npm or pnpm, Xero developer account, Xero client credentials or bearer token, MCP-compatible client

## Installation

Use the upstream install or setup path that matches your environment:
- npm install
- pnpm install
- npm run build
- pnpm build

Requirements and caveats from upstream:
- Node.js (v18 or higher)
- [Xero-Node Public API SDK Docs](https://xeroapi.github.io/xero-node/accounting)
- Custom connections require different scopes depending on when they were created. **All scopes in the relevant list must be added to your custom connection:**

Basic usage or getting-started notes:
- npm or pnpm
- A Xero developer account with API credentials
- ## Docs and Links

- Source: https://github.com/XeroAPI/xero-mcp-server
- Extracted from upstream docs: https://raw.githubusercontent.com/XeroAPI/xero-mcp-server/HEAD/README.md

## Documentation

- https://github.com/XeroAPI/xero-mcp-server

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/connect-accounting-agents-to-xero-through-mcp/)
