Xero MCP Server
Provides tools for interacting with the Xero Accounting API, including reading and writing contacts, invoices, bank transactions, manual journals, payments, attachments, and generating local reports like trial balance, accounts receivable/payable aging, and profit and loss.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Xero MCP Servershow me outstanding invoices for last month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Xero MCP Server
Xero Accounting API 的 MCP (Model Context Protocol) 服务器,让 Claude Desktop 用自然语言操作 Xero 云会计系统。
功能
读取(9 个工具)
组织信息、联系人、科目表、发票、银行交易、付款、贷项通知单、产品目录、手工日记账
审计轨迹查询
写入(6 个工具)
创建联系人、发票、银行交易、手工日记账
记录付款、上传附件
报表(4 个工具,本地计算)
试算平衡表、应收账款账龄、应付账款账龄、损益表
Related MCP server: Xero MCP Server
两种运行模式
本地 STDIO 模式
pip install -r requirements.txt
# 设置环境变量
export XERO_CLIENT_ID=xxx
export XERO_CLIENT_SECRET=xxx
export XERO_TENANT_ID=xxx
export XERO_REFRESH_TOKEN=xxx
python server.pyClaude Desktop 配置见 claude_desktop_config_example.json
远程 HTTP 模式(多租户)
cp .env.example .env
# 编辑 .env 填写凭证和域名
docker compose up -d --build详细部署教程见 部署教程.md 和 Claude_Desktop_MCP配置教程.md
架构
Claude Desktop ──HTTPS──▶ Nginx ──HTTP──▶ MCP Server ──OAuth 2.0──▶ Xero APINginx 负责 SSL 终结和反向代理
MCP Server (Starlette + uvicorn) 处理 MCP 协议
多租户通过 API Key 隔离,OAuth Token 存在 SQLite
文件说明
文件 | 用途 |
| 本地 STDIO 模式入口 |
| 远程 HTTP 多租户模式入口 |
| Xero API 客户端,自动刷新 Token |
| 本地报表计算(试算平衡/账龄/损益) |
| Docker 部署 |
| 服务器部署详细步骤 |
| Claude Desktop 配置教程(含踩坑记录) |
依赖
Python 3.12+
mcp >= 2.0.0
uvicorn / starlette
requests
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceAn MCP server allowing Clients to interact with Xero Accounting SoftwareLast updated1533821MIT

Xero MCP Serverofficial
AlicenseBqualityDmaintenanceA Model Context Protocol server implementation providing standardized access to Xero's accounting and business features, enabling operations like contact management, invoice creation, and chart of accounts management through MCP.Last updated513,826332MIT- Flicense-qualityCmaintenanceA Model Context Protocol server that integrates LinkedIn, Salesforce, and Xero, enabling AI agents to perform CRUD operations, search, and manage data across these platforms through natural language.Last updated
- Flicense-qualityDmaintenanceAn enhanced MCP server for Xero, enabling natural language interaction with your Xero organisation for accounting tasks like invoices, contacts, bank transactions, and payroll.Last updated
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zoranges/xero-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server