Xero MCP 服务器
该 MCP 服务器允许客户端与Xero 会计软件进行交互。
开始
确保已安装节点和Claude Desktop 。
在 Xero 中创建一个 OAuth 2.0 应用程序以获取CLIENT_ID和CLIENT_SECRET 。
创建一个免费的 Xero 用户帐户(如果您还没有)
登录Xero开发者中心https://developer.xero.com/app/manage/
点击“新建应用”
输入您的应用的名称
选择 Web 应用
提供有效的 URL(可以是任何有效的 URL,例如https://www.myapp.com )
输入重定向 URI:
http://localhost:5000/callback勾选“接受条款和条件”,然后单击“创建应用程序”
在屏幕左侧选择配置
单击“生成机密”
修改
claude_desktop_config.json文件{ "mcpServers": { "xero-mcp": { "command": "npx", "args": ["-y", "xero-mcp@latest"], "env": { "XERO_CLIENT_ID": "YOUR_CLIENT_ID", "XERO_CLIENT_SECRET": "YOUR_CLIENT_SECRET", "XERO_REDIRECT_URI": "http://localhost:5000/callback" } } } }重启Claude桌面
当客户首次访问 Xero 工具时,Xero 登录页面会弹出,征求您的同意。完成身份验证流程后,请手动关闭该网页(因为此版本 Xero 页面不会自动关闭)。
隐私警告:完成 Xero OAuth2 流程后,您的 Xero 数据可能会经过您使用的 LLM。如果您正在进行测试,则应授权给您的
工具
authenticate使用 OAuth2 向 Xero 进行身份验证
create_bank_transactions创建一个或多个支出或收到的资金交易
create_contacts在 Xero 组织中创建一个或多个联系人
get_balance_sheet检索资产负债表报告
list_accounts检索完整的会计科目表
list_bank_transactions检索所有已花费或收到的资金交易
list_contacts检索 Xero 组织中的所有联系人
list_invoices检索销售发票或采购账单
list_journals检索期刊
list_organisations检索 Xero 组织详细信息
list_payments检索发票和贷记单的付款
list_quotes检索销售报价
示例
“查看我上个月的财务状况”
“追踪我上周的支出”
“将月结单上的所有交易添加到我的收入账户(账户代码 201)作为收款”
执照
麻省理工学院
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
允许客户端与 Xero 会计软件交互的 MCP 服务器
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityA 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 updated -12293143MIT License
- -security-license-qualityAn MCP server for interacting with Azure. Contains some common Compute and Networking actions, and extensible to add many more.Last updated -1Apache 2.0
- Asecurity-licenseAqualityMiro MCP server, exposing all functionalities available in official Miro SDK.Last updated -977450Apache 2.0
- -security-license-qualityXero MCP Server by CDataLast updated -MIT License