{"type":"mcp_server","name":"xero-mcp","description":"This repository provides an MCP server enabling interaction with Xero Accounting Software through Claude Desktop. It uses OAuth2 for authentication and offers tools like creating bank transactions, requiring a Xero","category":"Developer Tools","language":"TypeScript","stars":21,"forks":3,"owner":"john-zhang-dev","github_url":"https://github.com/john-zhang-dev/xero-mcp","homepage":null,"setup":"## Setup\n\n1.  Make sure [node](https://nodejs.org) and [Claude Desktop](https://claude.ai/download) are installed.\n\n2.  Create an OAuth 2.0 app in Xero to get a _CLIENT_ID_ and _CLIENT_SECRET_.\n\n    -   Create a free Xero user account (if you don't have one)\n    -   Login to Xero Developer center https://developer.xero.com/app/manage/\n    -   Click New app\n    -   Enter a name for your app\n    -   Select Web app\n    -   Provide a valid URL (can be anything valid eg. https://www.myapp.com)\n    -   Enter redirect URI: `http://localhost:5000/callback`\n    -   Tick to Accept the Terms & Conditions and click Create app\n    -   On the left-hand side of the screen select Configuration\n    -   Click Generate a secret\n\n3.  Modify `claude_desktop_config.json` file\n\n   ```json\n   {\n     \"mcpServers\": {\n       \"xero-mcp\": {\n         \"command\": \"npx\",\n         \"args\": [\"-y\", \"xero-mcp@latest\"],\n         \"env\": {\n           \"XERO_CLIENT_ID\": \"YOUR_CLIENT_ID\",\n           \"XERO_CLIENT_SECRET\": \"YOUR_CLIENT_SECRET\",\n           \"XERO_REDIRECT_URI\": \"http://localhost:5000/callback\"\n         }\n       }\n     }\n   }\n   ```\n\n4.  Restart Claude Desktop\n\n5.  When the Client decides to access a Xero tool for the first time, a Xero login page will pop up to ask your consent; complete the auth flow and manually close the web page.\n","tools":"## Available Tools\n\n\t\t1. `authenticate` (Authenticate with Xero using OAuth2)\n\t\t2. `create_bank_transactions` (Creates one or more spent or received money transaction)\n\t\t3. `create_contacts` (Creates one or multiple contacts in a Xero organisation)\n\t\t4. `get_balance_sheet` (Retrieves report for balancesheet)\n\t\t5. `list_accounts` (Retrieves the full chart of accounts)\n\t\t6. `list_bank_transactions` (Retrieves any spent or received money transactions)\n\t\t7. `list_contacts` (Retrieves all contacts in a Xero organisation)\n\t\t8. `list_invoices` (Retrieves sales invoices or purchase bills)\n\t\t9. `list_journals` (Retrieves journals)\n\t\t10. `list_organisations` (Retrieves Xero organisation details)\n\t\t11. `list_payments` (Retrieves payments for invoices and credit notes)\n\t\t12. `list_quotes` (Retrieves sales quotes)","faq":null,"created_at":"2025-03-18T04:26:21+00:00","updated_at":"2025-03-28T14:51:14+00:00","source_url":"https://model-context-protocol.com/servers/xero-mcp-server-accounting-integration","related_articles":[]}