Intuit QuickBooks Online โ global accounting leader (US/UK dominant). Customers, invoices, payments, items, P&L. Complements BR/LatAm ERPs for SaaS serving international customers.
$ npm install @codespar/mcp-quickbooksAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"quickbooks": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-quickbooks"
],
"env": {
"QB_ACCESS_TOKEN": "<your_qb_access_token>",
"QB_REALM_ID": "<your_qb_realm_id>"
}
}
}
}After restart, your agent can call any of the 22 tools below โ try create_customer first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
QB_ACCESS_TOKENQuickBooks OAuth2 bearer access token. Expires in 1hr โ caller is responsible for refresh via Intuit's OAuth2 auth_code flow.
QB_REALM_IDQuickBooks company id (realmId). Issued when a user authorizes your app against a specific company.
QB_ENVQuickBooks environment: 'sandbox' (default) or 'production'. Selects sandbox-quickbooks.api.intuit.com vs quickbooks.api.intuit.com.
QB_MINOR_VERSIONQuickBooks API minor version. Defaults to 70.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
create_customerupdate_customerget_customerlist_customerscreate_invoiceupdate_invoicevoid_invoicedelete_invoiceMCP is a protocol โ any framework that speaks it can mount this server.