Skip to content
Xero MCP
Install guide · Cursor

Install Xero MCP for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "servosity-xero": {      "command": "npx",      "args": [        "-y",        "https://github.com/Servosity/msp-skills/releases/download/xero-v0.1.14/xero-mcp.mcpb"      ],      "env": {        "XERO_ACCESS_TOKEN": "YOUR_XERO_ACCESS_TOKEN",        "XERO_AUTHORIZATION_URL": "https://login.xero.com/identity/connect/authorize",        "XERO_BASE_URL": "https://api.xero.com/api.xro/2.0",        "XERO_CLIENT_ID": "YOUR_XERO_CLIENT_ID",        "XERO_CLIENT_SECRET": "YOUR_XERO_CLIENT_SECRET",        "XERO_OAUTH2": "YOUR_XERO_OAUTH2",        "XERO_TENANT_ID": "",        "XERO_TOKEN_URL": "https://identity.xero.com/connect/token",        "XERO_NO_CONFIG_WRITE": "",        "PRINTING_PRESS_CLIENT_PROFILE": "YOUR_PRINTING_PRESS_CLIENT_PROFILE",        "XERO_MCP_READ_ONLY": "",        "XERO_NO_LOCAL_DATA": "",        "XERO_MCP_HTTP_TOKEN": "YOUR_XERO_MCP_HTTP_TOKEN",        "XERO_USER_AGENT": "",        "XERO_SCOPES": ""      }    }  }}

Where the config lives

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json