Reviews · Integrations

How to Connect Xero or QuickBooks to an AI Assistant With MCP

A step-by-step setup guide for linking your accounting software to an AI assistant through MCP, with read-only access first and the risks flagged.

calculator, calculation, insurance, finance

To connect Xero or QuickBooks to an AI assistant, you use a Model Context Protocol (MCP) server. The server sits between the assistant and your accounting data and exposes approved actions as tools. Start with read-only access, test on a demo company, and add write permissions only after the reads prove accurate.

MCP is a newer way to wire software to AI tools, and small businesses are starting to ask about it. This guide walks an owner or bookkeeper through the setup choices, the limits that trip people up, and the safeguards that protect your books. It is written for readers who are comfortable installing an app but are not developers. Little iApps covers business software with the same rule throughout: test first, trust later.

What Is MCP and Why Do Accounting Tools Use It?

MCP stands for Model Context Protocol. The project's own documentation calls it an open-source standard for connecting AI applications to external systems, and compares it to a USB-C port for AI. One standard plug means a tool built once can work with many assistants.

For accounting, that matters because each AI assistant used to need its own custom connection to each ledger. With the standard in place, an assistant can ask your accounting system for invoices or reports through a common set of tools. You can read the overview in the official Model Context Protocol documentation.

An MCP server is a small program that translates between the assistant and the accounting software's own interface. It decides which actions the assistant may take. That gatekeeper role is why the setup choices below matter.

income tax, calculator, accounting, financial

Before You Start: What You Need

Gather a few things before you touch any settings. The checklist below covers the basics for the open-source Xero server and works as a template for others.

  1. An admin login for your accounting software, plus a separate demo or trial company for testing.
  2. A developer account with the vendor to create API credentials.
  3. An AI assistant app that supports MCP servers.
  4. A current version of Node.js, which the Xero server needs to run (version 18 or higher).
  5. A password manager to store the credentials you create.

Do not use your live company for the first run. Xero's own setup notes recommend a free trial organization with its Demo Company sample data. Treat that advice as a rule for every vendor.

How Do You Set Up the Xero MCP Server?

You set up the Xero MCP server by creating API credentials in Xero's developer portal, adding the server to your assistant's configuration, and testing it on a demo company. The server's README on GitHub lists the exact command and settings. Allow about an hour for a first attempt.

The XeroAPI Xero MCP server repository describes two ways to authenticate. A custom connection uses a client ID and secret tied to one organization, and the README recommends it for testing and for desktop assistants. A bearer token suits setups that handle several Xero accounts at runtime.

  1. Create a Xero organization for testing and turn on the Demo Company.
  2. Create a custom connection in the developer portal and note the client ID and secret.
  3. Add the server to your assistant's MCP settings using the command in the README.
  4. Store the credentials as environment variables, never in a shared file.
  5. Ask the assistant a simple question, such as listing the demo company's contacts.

The README also warns about scopes. Connections created before April 29, 2026 use one scope set, and newer ones use another. If a request fails with a permission error, check the scope list first.

cloud, network, finger, cloud computing

What About QuickBooks Online?

QuickBooks follows the same pattern. Its developer platform issues credentials, and a connector, whether from Intuit, a vendor or a hosted service, turns them into assistant tools. Intuit's QuickBooks Online developer documentation is the place to confirm which interfaces and permissions are available to you.

I would not assume a single official setup exists for every plan. Coverage changes quickly, and some connectors are third-party products. Confirm who built the connector, what it can write, and how it stores your tokens before you connect a live company.

If you only want data moving between apps, a no-code tool may be simpler than MCP. Our comparison of Zapier and Make pricing for small teams covers what that route costs.

Limits That Trip People Up

Every accounting platform limits how often an assistant can call it. An assistant can fire off many requests for one question, so you can hit a ceiling fast. A guide from integration vendor Truto, which sells managed connectors and therefore has a stake in the topic, lists some figures worth checking against current vendor documents.

Limits That Trip People Up
PlatformPer-minute limitDaily limitAccess token life
Xero60 per organization5,000 per organization30 minutes
QuickBooks Online500 per companyNo daily cap listed60 minutes

The numbers come from Truto's MCP architecture guide. Vendors change these limits, so treat the table as a starting point. If the assistant slows down or stops mid-task, a rate limit is the first suspect.

Short token lives mean connections need refreshing. A good server handles that for you. If yours does not, expect an occasional "unauthorized" message that clears after you reconnect.

computer, security, padlock, hacker

Read-Only First: The Safest Way to Start

Read-only access lets the assistant look but not change anything. That is enough for useful work such as summarizing overdue invoices, explaining a profit and loss report or spotting odd expenses. It also removes the biggest risk from a first deployment.

Writes are different. A failed or duplicated write does not just return an error. It can leave a wrong invoice or journal entry in your books. The Truto guide notes that Xero's invoice endpoint lacks native protection against duplicates, which is one reason to be careful.

Use this order when you grow the setup.

  1. Run reads only for two weeks and compare the answers with your own reports.
  2. Allow drafts, such as draft invoices, that a person must approve.
  3. Allow narrow writes, such as adding a contact, with logging turned on.
  4. Keep anything that moves money outside the assistant entirely.

Plan for questions the assistant cannot answer. It may only see what its scopes allow, so a missing report often means a missing permission rather than a broken link. Keep a short list of the scopes you granted and why. That list saves an hour of guesswork later.

Also decide who owns the connection. One named person should hold the credentials, review the logs and approve changes. Shared ownership usually means nobody notices when a token expires or a scope grows.

Security Habits That Protect Your Books

Your assistant now holds a key to your financial data, so guard it like one. The U.S. National Institute of Standards and Technology offers plain guidance for owners on its small business cybersecurity page, and the basics apply here.

  1. Create a dedicated user or connection for the assistant, never your personal admin login.
  2. Grant only the scopes the task needs, and review them every quarter.
  3. Keep credentials out of shared documents and version control.
  4. Turn on multi-factor authentication for every account involved.
  5. Revoke access the day you stop using the connection.
entrepreneur, start-up, man, planning

Also watch for content you did not write. An assistant that reads invoices or emails can be nudged by text hidden inside them. Limit what it can do after reading outside content, and review its proposed actions before approving them.

If you are also reviewing which accounting tool to keep, see our guide on how to switch from QuickBooks Online after the 2026 price increase. Moving platforms means rebuilding the connection, so plan for that. A related guide shows how to connect a payment processor to accounting software, which is another link in the same stack.

Is It Worth Connecting at All?

For many small businesses the honest answer is not yet. Reading reports through chat is convenient, but a good dashboard already does that. The strongest case is a bookkeeper who wants fast answers across a lot of invoices.

Weigh the time to set up and maintain the link against the hours saved. At Little iApps, we would pilot it on a demo company and one narrow task, such as invoice summaries, before deciding. If the pilot saves little, stop and keep the setup simple.

Bottom Line

MCP gives an AI assistant a controlled doorway into Xero or QuickBooks. Use a demo company, start read-only, watch rate limits and token expiry, and never let the assistant move money. Add permissions slowly and keep a person in the approval loop.

Your next step is small. Create a demo company, install the connector, and ask one question about last month's invoices. If the answer matches your own report, you have a safe base to build on.

What is MCP in accounting software?
MCP, the Model Context Protocol, is an open standard for connecting AI applications to outside systems. In accounting, an MCP server exposes approved actions, such as listing invoices or running reports, so an assistant can use them. The server controls which actions the assistant may take.
Is it safe to let an AI assistant access QuickBooks or Xero?
It can be safe if you limit the risk. Start with read-only access on a demo company, use a dedicated connection with narrow scopes, turn on multi-factor authentication, and require human approval for any write. Never let the assistant move money or change bank details.
Does Xero have an official MCP server?
Xero publishes an open-source Xero MCP server in the XeroAPI organization on GitHub. It supports custom connections and bearer tokens and covers contacts, invoices, reports and more. Check the repository for current requirements, because scopes and supported features change over time.
What rate limits should I expect when connecting an assistant?
Limits vary by platform and change over time. Integration vendor Truto reports Xero allows 60 calls a minute and 5,000 a day per organization, while QuickBooks Online allows 500 a minute per company. Confirm current numbers in each vendor's own developer documentation before you rely on them.

Written by

Clara Fenwick

Guides Editor

9+ years experience

Clara has done more than her share of data migrations and integrations for small teams, and she writes the guides she wishes she had had each time. She edits the Guides desk: setup checklists, switching plans and how to connect apps without code, with the things that tend to go wrong flagged in advance.

Credentials

  • Former implementation consultant for a small-business software reseller
  • Led more than 40 tool rollouts and data migrations for teams under 100 people
  • Guides editor covering setup, switching and integrations since 2019
More from Clara

Join the readership

Liked this? Let's connect.

We respect your privacy. One considered email each Thursday.