Skip to content
VS Code

Xero for VS Code

io.github.mindstone/mcp-server-xero

Xero MCP server for invoices, contacts, payments, quotes, and financial reports.

client:VS Code transport:stdio runtime:npm

Install Xero in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "xero-client-id",
      "description": "XERO_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xero-client-secret",
      "description": "XERO_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xero-client-bearer-token",
      "description": "XERO_CLIENT_BEARER_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "mcp-server-xero": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-xero"
      ],
      "env": {
        "XERO_CLIENT_ID": "${input:xero-client-id}",
        "XERO_CLIENT_SECRET": "${input:xero-client-secret}",
        "XERO_CLIENT_BEARER_TOKEN": "${input:xero-client-bearer-token}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Xero in other clients