QBO MCP Automation Access
The QuickBooks Online MCP server is an open-source tool published by Intuit. It lets an AI assistant such as Claude read and update your QuickBooks Online books when you ask in plain English. This guide explains what it does, how to set it up on a Mac, how to connect several client companies, and where it saves the most time.
What it is
"MCP" stands for Model Context Protocol, a standard way to give an AI assistant tools it can use. The QuickBooks Online MCP server is a small Node.js program that runs on your own computer. It signs in to QuickBooks with your credentials and gives the AI about 145 tools for working with your company file.
So you can ask, for example, "Which customers have invoices more than 60 days overdue?" or "Create an invoice for Acme for $500 of consulting", and the assistant uses those tools to answer or do it.
What it can do
Records (29 kinds)
Customers, invoices, estimates, bills, vendors, employees, payments, bill payments, deposits, transfers, purchases, purchase orders, sales receipts, credit memos, refund receipts, vendor credits, journal entries, time activities, items, accounts, classes, departments, terms, payment methods, tax codes, tax rates, tax agencies, company info and attachments. For most of them the assistant can create, look up, update, delete and search. It can also download an invoice as a PDF.
Reports (11)
- Balance Sheet, Profit & Loss, Cash Flow
- Trial Balance and General Ledger
- Aged Receivables (summary and detail), Customer Balance, Customer Sales
- Aged Payables and Vendor Expenses
QUICKBOOKS_DISABLE_WRITE, QUICKBOOKS_DISABLE_UPDATE
and QUICKBOOKS_DISABLE_DELETE to true. Lookups and searches always stay available.
Set it up on a Mac
You need Git, Node.js (version 20 or newer) and an AI app that supports MCP, such as Claude Code or Claude Desktop.
1. Download and build it
Open Terminal and run:
cd ~
git clone https://github.com/intuit/quickbooks-online-mcp-server.git
cd quickbooks-online-mcp-server
npm install
npm run build
cp .env.example .env
The project's own README shows a placeholder clone address that won't work. Use the one above.
2. Get QuickBooks credentials
Intuit doesn't offer simple API keys, so everyone, even for their own company, goes through this once:
- Go to developer.intuit.com, sign in and create an app.
- In the app, open Settings → Redirect URIs and add exactly
http://localhost:8000/callback. - Copy the Client ID and Client Secret from Keys & Credentials into the
.envfile, and setQUICKBOOKS_ENVIRONMENT=sandbox. - Run
npm run auth. A browser opens, you sign in, and the remaining tokens are saved to.envfor you.
Start with sandbox, a test company Intuit gives you with sample data. Connecting a real company
("production") takes one more step: Intuit rejects localhost for that first sign-in, so you need a public
HTTPS address, for example with ngrok http 8000. After the first sign-in it runs locally.
3. Connect it to Claude Code
claude mcp add quickbooks -- node ~/quickbooks-online-mcp-server/dist/index.js
Restart Claude Code and run /mcp to check that "quickbooks" is listed. The server reads your credentials from the .env file in the project folder.
Connect multiple client companies
Yes, this works for an accountant or bookkeeper with many clients. Each QuickBooks company has its own ID (the "Realm ID") and its own sign-in token, and the server works with one company at a time. So you run one connection per client. You install it once and use the same Intuit app (one Client ID and Secret) for every client. Only the credentials file changes.
Sign in to each client company
Example for a client called "Acme":
mkdir -p ~/qbo-clients
cp ~/quickbooks-online-mcp-server/.env.example ~/qbo-clients/acme.env
# add your Client ID, Client Secret and QUICKBOOKS_ENVIRONMENT to acme.env, then:
cd ~/quickbooks-online-mcp-server
QUICKBOOKS_TOKEN_STORE_PATH=$HOME/qbo-clients/acme.env npm run auth
When the browser opens, sign in and choose Acme's company. Acme's token and Realm ID are saved into
acme.env. Repeat for each client: bakery.env, dental.env, and so on.
Add each client as its own connection
claude mcp add qbo-acme -e QUICKBOOKS_TOKEN_STORE_PATH=$HOME/qbo-clients/acme.env -- node $HOME/quickbooks-online-mcp-server/dist/index.js
claude mcp add qbo-bakery -e QUICKBOOKS_TOKEN_STORE_PATH=$HOME/qbo-clients/bakery.env -- node $HOME/quickbooks-online-mcp-server/dist/index.js
Then you can say "Using qbo-acme, show me…". The assistant can also compare clients side by side in one conversation.
How it saves time
You stop clicking through QuickBooks screens and ask in plain English instead. Typical bookkeeping uses:
| Task | Instead of… | You ask |
|---|---|---|
| Month-end review | Opening the P&L, Balance Sheet and Trial Balance for each client | "Pull March P&L and Balance Sheet for all 5 clients and flag anything unusual vs. February" |
| Collections | Running the A/R aging for each client | "List every invoice over 60 days overdue across all clients, with customer and amount" |
| Cleanup | Hunting through registers | "Find transactions in Uncategorized Expense or Ask My Accountant for Acme this quarter" |
| Data entry | Typing bills or invoices one by one | "Create bills from these 12 vendor invoices" (paste the details) |
| Client questions | Logging in to look something up | "How much did Acme spend with Home Depot this year?" |
| Reconciliation prep | Exporting the General Ledger to Excel | "Show deposits over $5,000 in October not linked to an invoice" |
| Client updates | Writing summaries by hand | "Write a short plain-English summary of Bakery's Q3 results for the owner" |
The most time is saved on work you repeat across many clients, like month-end checks, A/R follow-up and cleanup reviews. One request can replace dozens of logins and report runs.
For a simpler, real example of automating a bookkeeping workflow, see Automatic alerts when clients upload documents.
Things to know
- Review before changes. AI can misread things or make mistakes. Use it freely for lookups and drafts, but check what it proposes before anything that creates or changes entries. Test on the sandbox company first.
- Keep most connections read-only. Turn on
QUICKBOOKS_DISABLE_DELETE(and possibly the write and update switches) for client connections that only need reporting. - Production keys. Intuit may ask you to complete an app questionnaire in the developer portal before it issues production keys.
- Re-signing in. A client's token can expire if that connection goes unused for about 100 days. If that happens, run
npm run authagain for that client. - Keep credentials private. The
.envfiles hold the keys to your clients' books. Keep them on your own computer and never share or commit them.
Want us to set it up for you?
We connect QuickBooks Online to AI agents for our clients and build the automations around it.
Book a free consultationQuickBooks and Intuit are trademarks of Intuit Inc. The QuickBooks Online MCP server is an open-source project released by Intuit under the MIT license. Fidaro is not affiliated with or endorsed by Intuit.