
Quickbooks Mcp
io.github.laf-rgePublished by GitHub account laf-rgev0.12.0Updated Oct 24, 2026
MCP server for QuickBooks Online API integration
Overview
Connects an AI assistant to QuickBooks Online to run queries, pull financial reports, and draft or edit bookkeeping transactions by name.
- What you can do
- Authenticate and read connected company information
- Run SQL-like queries across QuickBooks entities and list the chart of accounts
- Pull P&L, balance sheet, trial balance and 24 other financial reports, plus account transaction and period summaries
- Create, fetch and edit journal entries, bills, expenses, sales receipts, invoices, deposits and vendor credits
- Record bill payments, customer payments and account transfers, and manage vendors
- Delete transactions
- When to use it
- For bookkeepers, accountants and finance teams who want an assistant to inspect and maintain production QuickBooks Online books in plain language, including reports and transaction entry, without looking up internal IDs.
- Requirements
- Runs locally via npx or a built checkout, requiring Node.js 18+ and a QuickBooks developer app. Needs QBO_CLIENT_ID and QBO_CLIENT_SECRET, either in a local credentials file or environment variables, plus an OAuth authorization step through the qbo_authenticate tool. AWS mode additionally needs AWS credentials, a Secrets Manager secret and an SSM parameter. QBO_INLINE_OUTPUT is needed for Claude Desktop.
Installation
In SourceWeft
- Open Quickbooks Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
QuickBooks MCP Server
An MCP server for QuickBooks Online — built for bookkeepers, CFOs, and accountants who use AI assistants in their daily workflow.
Ask your AI assistant to pull a P&L report, create a journal entry, or investigate an account balance — using plain language, not API payloads.
Why This Server?
Intuit provides an official MCP server that's a solid starting point for developers exploring the QuickBooks API. This server takes a different approach: it's designed for financial professionals working in production books.
Use natural language, not internal IDs
Intuit's server requires QuickBooks internal IDs for every reference — you need to look up a vendor's ID before creating a bill. This server resolves names automatically:
Financial reports built in
This is the only QuickBooks MCP server with report tools. Pull a P&L, Balance Sheet, or Trial Balance — broken down by month, department, or class — without leaving your AI conversation.
Safe by default
Every create and edit operation defaults to draft/preview mode. You see exactly what will be written to your books before committing. No accidental journal entries or misclassified expenses.
One query tool instead of dozens
Instead of separate search tools for each entity type, a single SQL-like query tool works across all QuickBooks entities. AI assistants write SQL naturally, and QuickBooks validates it — no field whitelists to maintain.
Production-ready credential management
Store credentials locally for personal use, or in AWS Secrets Manager for shared environments. OAuth tokens refresh automatically and persist across sessions.
At a glance
Prerequisites
- QuickBooks Developer Account: Register at developer.intuit.com
- Node.js 18+
Installation Options
Choose the setup that fits your use case:
Option 1: NPM Install
The simplest way to get started. Credentials are stored locally on your machine.
1. Create a QuickBooks App
- Go to developer.intuit.com and sign in
- Create a new app (or select an existing one)
- Go to "Keys & credentials"
- Note your Client ID and Client Secret
- Under "Redirect URIs", add:
https://developer.intuit.com/v2/OAuth2Playground/RedirectUrl
2. Add to Claude Code
Add to your project's .mcp.json:
3. Configure Credentials
Create ~/.quickbooks-mcp/credentials.json:
4. Authenticate
Once Claude Code is running, use the qbo_authenticate tool:
- Call
qbo_authenticatewith no arguments to get an authorization URL - Open the URL in your browser and authorize the app
- Copy the
codeandrealmIdfrom the redirect URL - Call
qbo_authenticateagain with the authorization code and realm ID
Your OAuth tokens will be saved and automatically refreshed.
Option 2: Local Checkout
For development or customization.
1. Create a QuickBooks App
Follow the same steps as Option 1 above.
2. Clone and Build
3. Add to Claude Code
Add to your project's .mcp.json:
4. Configure Credentials
Create ~/.quickbooks-mcp/credentials.json with your client credentials (same as Option 1), then run qbo_authenticate to complete the OAuth flow.
Option 3: AWS Mode
For shared or production environments. Stores credentials in AWS Secrets Manager.
1. Create AWS Resources
Create the secret in Secrets Manager:
Store Company ID in SSM Parameter Store:
2. Configure the Server
Create a .env file in the quickbooks-mcp directory:
Note: Due to a known Claude Code bug, environment variables from
.mcp.jsonare not reliably passed to MCP servers. The.envfile workaround is required.
3. Add to Claude Code
4. IAM Permissions
The server needs these AWS permissions:
Inline Output Mode
By default, large responses (reports, query results) are written to /tmp files and the server returns a file path. This works well for Claude Code in terminal environments but breaks in Claude Desktop and plugin environments where the model cannot read from /tmp.
Set QBO_INLINE_OUTPUT=true to return all responses inline instead.
Option A — via .env file (recommended for local checkout):
Create a .env file in the quickbooks-mcp directory:
Option B — via .mcp.json env block (recommended for NPM install):
Note: Due to a known Claude Code bug, environment variables from
.mcp.jsonare not reliably passed to MCP servers in some configurations. If Option B doesn't work, use the.envfile workaround.
Environment Variables
Available Tools
Naming Vendors, Customers, and Employees
Every write tool that can attribute a line or a header to a name list accepts a
name and resolves it to an ID, the same way account_name and
department_name do. Which parameter you get depends on what QuickBooks will
actually store there:
Each also has an _id form (entity_id, customer_id) if you already know the
internal ID. On edit tools, the rule for line parameters is:
- omit the parameter and a line addressed by
line_idkeeps the entity it already has; - name one and it is set or replaced;
- pass an empty string (
entity_name: "") and it is cleared.
See docs/quickbooks-api-limitations.md
for the underlying QBO field shapes, which are not uniform.
Parameter Names Are Enforced
Arguments are checked against the schema each tool advertises, before anything
runs. An unknown parameter is an error that names the closest valid one, a
missing required parameter is an error, and an edit_* call with no field to
change is an error rather than a write that reports success.
The alternative is silence. A handler reads the parameters it knows about, so a misspelled one is simply absent: a create call that puts the date under the wrong key posts on today's date, an as-of report asked for a date range returns today's balances, and an edit whose fields are all misspelled comes back "updated successfully" having changed nothing. None of those raise anything for the caller to notice.
Relatedly, when QuickBooks accepts an update without advancing the record's
SyncToken — meaning the payload matched what was already stored — the edit
tools report no change instead of success.
Token Refresh
The server automatically refreshes OAuth tokens on each request and persists them back to your credential store (local file or AWS Secrets Manager).
Development
Tests live in tests/, mirroring src/. They are TypeScript, compiled by
tsconfig.test.json into dist-test/ and run by Node's built-in test runner —
no test framework dependency. Type errors in a test are build failures, so a
test referencing a renamed export fails loudly rather than silently skipping.
Anything needing a QuickBooks client passes a hand-written stand-in covering
just the calls under test, so the suite runs offline with no credentials.
Troubleshooting
"QuickBooks credentials not configured"
Run the qbo_authenticate tool to set up OAuth credentials (local mode only).
"Authorization code expired"
Authorization codes are only valid for a few minutes. Start the OAuth flow again.
Token refresh fails
- Check that your refresh token hasn't expired (~100 days)
- Verify your client credentials are correct
- Try re-authenticating with
qbo_authenticate
AWS credential errors
- Ensure
.envfile hasQBO_CREDENTIAL_MODE=aws - Check your AWS credentials and permissions
- Verify the secret and parameter names match your configuration
Source: README.md at commit 611ca6d
Tools
0Version history
2- v0.12.0LatestOct 19, 2026
- v0.11.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts