
Connecting an AI assistant to a client's general ledger offers massive leverage for querying reports and investigating variances. However, performing a QuickBooks MCP server setup requires caution. By default, Intuit's official open-source QuickBooks Online Model Context Protocol (MCP) server exposes 144 to 145 tools across 29 entity types and 11 financial reports, including full create, update, and delete capabilities.
If you leave these tools unrestricted, the results can be dangerous for live client data. In an October 2026 empirical test by Booke AI, an AI agent connected to Intuit's default MCP server was told to "fix my books." Without asking for permission, the agent made three unprompted changes to a test company in 84 seconds.
Fortunately, there is a verified way to restrict this. By applying three specific environment flags, you can establish a strict read-only Claude QuickBooks MCP integration. This guide provides the exact setup steps, OAuth scope realities, and boundaries for what accounting firms should never automate, ensuring you can safely evaluate AI-agent-operable accounting software with zero risk of mutating the ledger.
Accountants looking to deploy this technology will encounter three distinct first-party paths from Intuit. They do not share settings or read-only controls.
Available via GitHub (intuit/quickbooks-online-mcp-server), this runs locally on your machine communicating directly with Claude Desktop or Claude Code. It exposes over 140 tools. Accountants should choose this route because it is the only official Intuit option where you can enforce a strict server-level read-only mode via environment variables before Claude even starts.
Intuit released a 1-click connector in the browser at claude.ai. As of July 2026, this connector gained write actions like invoicing and importing transactions. It is restricted to US QuickBooks Online and Intuit Enterprise Suite customers. Crucially, it does not accept the read-only environment restriction flags, making it unsuitable for risk-averse advisory work.
This is an invitation-only remote endpoint for third-party software vendors under the Intuit App Partner Program. It is not available for accounting firms to self-serve.
(Note for ChatGPT users: Those looking to connect ChatGPT to QuickBooks usually rely on the official ChatGPT marketplace app or hosted wrappers. Because ChatGPT in the browser cannot natively spawn a local server, Claude Desktop remains the safest, most controllable local option for accountants.)
A major point of confusion for accountants is the difference between QuickBooks UI user roles and Intuit OAuth 2.0 scopes.
When registering an app on the Intuit Developer Portal, there is no read-only API scope. Intuit publishes only one OAuth 2.0 scope for general ledger data: com.intuit.quickbooks.accounting. This scope grants full read and write access to the accounting API. Furthermore, QuickBooks requires a Company Admin to authorize a third-party connection. You cannot trick the API by using a "Reports-Only" user login.
Because the OAuth token itself can write to the ledger, read-only enforcement must happen in the MCP server's tool registry. Instructing the AI with a prompt like "do not change anything" is insufficient. If the model misinterprets an instruction, it will execute a write command. The only safe method is suppressing the write tools entirely at the server level.
The following steps are verified against Intuit's MCP server documentation and Anthropic's local server guidelines.
Open your terminal and run the following commands to download and compile the official server:
git clone https://github.com/intuit/quickbooks-online-mcp-server.git
cd quickbooks-online-mcp-server
npm install
npm run build
Log into the Intuit Developer Portal and create a new app under "QuickBooks Online and Payments."
com.intuit.quickbooks.accounting scope. Do not check Payments.http://localhost:8000/callbackCopy the example environment file in the repository root:
cp .env.example .env
Edit the .env file with your credentials and uncomment the three critical restriction flags. They must be set to lowercase "true":
QUICKBOOKS_CLIENT_ID=your_development_client_id_here
QUICKBOOKS_CLIENT_SECRET=your_development_client_secret_here
QUICKBOOKS_REDIRECT_URI=http://localhost:8000/callback
QUICKBOOKS_ENVIRONMENT=sandbox
# READ-ONLY RESTRICTION MODE
QUICKBOOKS_DISABLE_WRITE=true
QUICKBOOKS_DISABLE_UPDATE=true
QUICKBOOKS_DISABLE_DELETE=true
In your terminal, run:
npm run auth
This opens your browser. Select your Sandbox Company and authorize access. The script captures your QUICKBOOKS_REFRESH_TOKEN and QUICKBOOKS_REALM_ID and writes them into your .env file.
Open Claude Desktop's configuration file (claude_desktop_config.json). Add the quickbooks entry under mcpServers.
To prevent the AI from bypassing your .env restrictions, enforce the read-only flags in this file as well:
{
"mcpServers": {
"quickbooks": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/quickbooks-online-mcp-server/dist/index.js"
],
"env": {
"QUICKBOOKS_CLIENT_ID": "your_development_client_id",
"QUICKBOOKS_CLIENT_SECRET": "your_development_client_secret",
"QUICKBOOKS_REFRESH_TOKEN": "your_refresh_token_from_env",
"QUICKBOOKS_REALM_ID": "your_sandbox_realm_id",
"QUICKBOOKS_ENVIRONMENT": "sandbox",
"QUICKBOOKS_TOKEN_STORE_PATH": "/ABSOLUTE/PATH/TO/quickbooks-online-mcp-server/.env",
"QUICKBOOKS_DISABLE_WRITE": "true",
"QUICKBOOKS_DISABLE_UPDATE": "true",
"QUICKBOOKS_DISABLE_DELETE": "true"
}
}
}
}
Quit and reopen Claude Desktop to initialize the connection.
Before running any financial analysis, ask Claude to verify its constraints: "List all of your available QuickBooks tools and group them by their starting verb."
The tool count should drop from roughly 145 down to approximately 71. If you see any tools starting with create_, update_, or delete_, check your configuration. To understand the full scope of what AI agents can do with an MCP server, review the remaining get_ and search_ commands.
Once verified, try these accountant-focused prompts:
"Pull the Aged Receivables Detail report as of today (YYYY-MM-DD). Group all open invoices over 30 days past due by customer, list the invoice number, due date, open balance, and aging bucket (31-60, 61-90, 91+), and reconcile the total against the Aged Receivables summary report. Flag any customer with both an overdue invoice and an unapplied credit memo or payment."
"Run a Profit and Loss report for Q3 2026 (2026-07-01 to 2026-09-30) on an Accrual basis with columns summarized by Classes. Identify any expense accounts that have transactions sitting in 'Not Specified' (unclassified), then search the underlying bills or purchases in that date range to list the exact transactions missing a Class tag."
QuickBooks Online's built-in Audit Log only records logins and write/update/delete events. Because a read-only MCP server only issues GET/SELECT requests, QuickBooks does not record a line-by-line log of what reports Claude reads.
However, Claude Desktop captures local MCP server logs on your machine. You can view these via the Claude Desktop GUI (Help > Troubleshooting > Show Logs) or by locating the mcp-server-quickbooks.log file in your system's application data folders. Monitoring these logs is the best way to see exactly which API endpoints the AI is querying under the hood.
Even with read-only guardrails in place on a sandbox, general-purpose chat models should never be used to automate certain accounting workflows:
Yes, in two main forms. Intuit offers an open-source local MCP server exposing 144 to 145 tools across 29 accounting entities, and a hosted QuickBooks connector inside Claude.ai (US only). Only the local open-source server allows you to strip out write, update, and delete tools via environment variables.
Set three environment variables to lowercase "true" in both your .env file and your claude_desktop_config.json environment block: QUICKBOOKS_DISABLE_WRITE=true, QUICKBOOKS_DISABLE_UPDATE=true, and QUICKBOOKS_DISABLE_DELETE=true.
com.intuit.quickbooks.accounting) that includes full CRUD permissions. Accountants must enforce read-only access at the MCP server layer by suppressing tool registration.Not directly. Intuit's open-source MCP server runs locally over standard input/output, requiring a desktop client like Claude Desktop or Claude Code. Browser-based clients require hosted connectors or remote gateways.
Ready to safely test AI agents against financial data? The Accountant's MCP Starter Kit is in the works. Subscribe free to Modern Accounting and we'll send it to you when it's released.