Disclaimer: QuickBooksUsers.com is an independent service operated by E-Tech Corporation and is not affiliated with, endorsed by, or sponsored by Intuit Inc. "QuickBooks" is a registered trademark of Intuit Inc., used for identification and reference purposes only. See our Terms of Service.

QuickBooks

Connecting an AI Assistant to QuickBooks Online Through MCP

QuickBooksUsers.com TeamUpdated 2026-09-023 min read

Connecting an AI assistant to QuickBooks Online means running a small MCP server that talks to the QuickBooks Online API. The books are the easy half. The connection is where the work sits, and it looks the same whether the company is a one-owner LLC with no payroll or something bigger. Here is the path in order, plus the parts that break later.

What does an MCP server actually do?

MCP stands for Model Context Protocol, an open standard published by Anthropic that lets an AI client call outside tools. The server is a small program exposing those tools: read this account, list those transactions, draft that journal entry. The assistant decides what to call. The server does the work, using credentials you control.

Ready-made connectors exist, but they tend to be narrow and fixed. The general answer today is to run your own MCP server against the QuickBooks Online API. One boundary to note: this is an Online story. Desktop has no hosted API of the same kind, so the assistant route there is far more limited.

Does a simple set of books make the setup easier?

Yes, in the running of it, never in the setup. With no payroll liabilities and a single currency, the account list is short and the questions stay simple: profit to date, unpaid invoices, which card paid what. The assistant has less to misread.

The setup work does not shrink. You still register an app, grant OAuth permissions, and keep tokens alive. Budget your effort there, not in the books.

The setup, in order

Six steps, each with a reason:

  1. Create an Intuit developer account. Everything below is registered under it.
  2. Register an app and select the QuickBooks Online API. The app issues a client ID and a client secret. Treat the secret like a password: it lives in the server’s configuration and nowhere else.
  3. Choose scopes. Start with read-only accounting, and move to full accounting only if you truly need the assistant to write. This choice also sets how long the connection can live, as the token section below explains.
  4. Connect the app to a sandbox company. Every developer account includes one, filled with sample data.
  5. Install an MCP server for the QuickBooks Online API and add it to your AI client’s local configuration file. Community-maintained servers already cover the API, so this is configuration work, not a coding project.
  6. Ask real questions against the fake books. Profit to date, unpaid invoices, which card paid what. You learn what the assistant can reach before anything touches production.

Moving to production

When you connect your real company, keep the read-only scope for a while. Write access lets the model post or void transactions, and a confident mistake is still a mistake.

Two rules carry over. The client secret and refresh token live in the server’s configuration, never in a conversation. And treat everything the model reads as data leaving your machine, because it is.

What breaks first?

Tokens, almost always, and the windows are predictable. An access token lasts about an hour, and the server refreshes it on its own. Each refresh also returns a replacement refresh token, and the server must store the newest one or the next refresh fails. A refresh token that goes unused expires after 100 days, so an idle connection dies quietly.

One more window follows from the scope decision. If your app requests only the accounting scope, which a read-only start does, Intuit caps the connection at 180 days. The refresh token then stops working, and you must re-authorize the app. A calendar reminder around day 150 keeps that cap from surprising you.

When the assistant suddenly reports connection errors, suspect tokens before anything else. The time since the last successful call usually tells you which window you hit.

The books underneath still have to be right

An assistant connected to your company is a fast reader, not an accountant. It reports the balances you recorded and inherits every mis-categorized transaction. A disciplined month-end close catches those problems before they compound, and it is worth building before any AI arrives.

So take that step first: reconcile the bank and card accounts through last month, confirm the balance sheet ties, and only then grant production access, read-only. Clean data is the cheapest way to make any assistant useful, and it is where we would start.

Need Professional Help?

Contact Us