QuickBooks Online MCP Server
QuickBooks Online MCP server for invoices, customers, and payments. OAuth 2.1 + PKCE, stdio/HTTP.
QuickBooks Online MCP Server scores 56 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 18 tools. Filed under Finance. GitHub shows 0 stars. Package registries report about 19 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
56 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 56 comes from
22 + 10 + 0 + 10 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "amin-ale-mcp-quickbooks": { "command": "uvx", "args": [ "mcp-quickbooks" ], "env": { "QBO_CLIENT_ID": "YOUR_QBO_CLIENT_ID", "QBO_CLIENT_SECRET": "YOUR_QBO_CLIENT_SECRET", "QBO_ENVIRONMENT": "sandbox", "QBO_REALM_ID": "", "QBO_SCOPES": "com.intuit.quickbooks.accounting" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
QBO_CLIENT_IDSecret | Required | Intuit app client id. |
QBO_CLIENT_SECRETSecret | Required | Intuit app client secret. |
QBO_ENVIRONMENT | Optional | sandbox or production. |
QBO_REALM_ID | Optional | QuickBooks company (realm) id. |
QBO_SCOPES | Optional | Space-separated OAuth scopes; defaults to accounting only. |
Tools18Tool docs quality grade C
All capabilitiescreate_customertoolCreate a customer. The display name must be unique; QuickBooks rejects duplicates with error 6240.
create_invoicetoolCreate an invoice for an existing customer with one or more line items.
create_paymenttoolRecord a payment received, optionally applied against a specific invoice.
delete_customertoolDeactivate a customer (QuickBooks has no hard delete for customers), preserving history.
delete_invoicetoolDelete an invoice permanently. Needs the Id and a fresh SyncToken.
delete_paymenttoolDelete a payment permanently. Any invoice it settled goes back to unpaid.
get_customertoolRead one customer by Id, including balance, contact details, and the current SyncToken.
get_invoicetoolRead one invoice by Id, including lines, totals, balance, and the current SyncToken.
get_paymenttoolRead one payment by Id, including linked transactions and the current SyncToken.
list_customerstoolList customers, most recently updated first, with caller-driven pagination.
list_invoicestoolList invoices, most recent transaction date first, with caller-driven pagination.
list_paymentstoolList payments, most recent transaction date first, with caller-driven pagination.
About
QuickBooks Online MCP Server
QuickBooks Online MCP server for Claude Desktop and any MCP client, written in Python on the official MCP SDK (FastMCP). It exposes 18 tools over invoices, customers, and payments (create, read, update, delete, list, search) plus read-only company and receivables resources, behind a real OAuth 2.1 authorization-code + PKCE flow with automatic token refresh, client-side rate limiting that honors QuickBooks throttles, and structured errors that tell an agent what to do next. It runs over stdio and Streamable HTTP.
Related: HubSpot CRM MCP Server · MCP Audit Gateway · What production MCP actually requires
Architecture
flowchart LR
Agent["MCP client<br/>(Claude Desktop / HTTP)"]
subgraph Server["mcp-quickbooks (FastMCP)"]
Tools["18 tools<br/>invoices · customers · payments"]
Resources["resources<br/>company · receivables · customers"]
Client["QBOClient<br/>retry · backoff · error mapping"]
RL["RateLimiter<br/>per-second + per-minute buckets"]
Auth["AuthManager<br/>OAuth 2.1 + PKCE · token refresh"]
Store[("token store<br/>.qbo_tokens.json")]
end
QBO["Intuit QuickBooks Online API<br/>/v3/company/{realmId}"]
Agent <-->|stdio / streamable-http| Tools
Agent <-->|resources/read| Resources
Tools --> Client
Resources --> Client
Client --> RL
Client --> Auth
Auth <--> Store
Auth <-->|token + refresh| QBO
Client -->|REST + query| QBO
The server holds no state and stores no customer data: it is a stateless proxy over the QuickBooks REST API. Tokens live in a local file you control; the client deploys with its own Intuit credentials.
Tools
Every tool returns a structured { "ok": true, ... } result, or { "ok": false, "error": {...} } with a suggestion. Each one carries MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) and a declared output schema.
create_customer: Create a customer. The display name must be unique; QuickBooks rejects duplicates with error 6240.get_customer: Read one customer by Id, including balance, contact details, and the current SyncToken.update_customer: Sparse update of an existing customer. Needs the Id and a fresh SyncToken.delete_customer: Deactivate a customer (QuickBooks has no hard delete for customers), preserving history.list_customers: List customers, most recently updated first, with caller-driven pagination.search_customers: Find customers by display-name prefix, exact email, or active flag.create_invoice: Create an invoice for an existing customer with one or more line items.get_invoice: Read one invoice by Id, including lines, totals, balance, and the current SyncToken.update_invoice: Replace an invoice. Lines are replaced wholesale, so send every line it should end with.delete_invoice: Delete an invoice permanently. Needs the Id and a fresh SyncToken.list_invoices: List invoices, most recent transaction date first, with caller-driven pagination.search_invoices: Find invoices by customer Id, transaction-date range, or document number.create_payment: Record a payment received, optionally applied against a specific invoice.get_payment: Read one payment by Id, including linked transactions and the current SyncToken.update_payment: Replace a payment. Dropping the invoice link reopens that invoice's balance.delete_payment: Delete a payment permanently. Any invoice it settled goes back to unpaid.list_payments: List payments, most recent transaction date first, with caller-driven pagination.search_payments: Find payments by customer Id or transaction-date range.
Resources
Read-only JSON:
qbo://company: company profile and legal addressqbo://summary/receivables: open/overdue invoice counts and outstanding balanceqbo://summary/customers: active customers ranked by outstanding balance
Least-privilege scopes
The default scope is com.intuit.quickbooks.accounting only. Add com.intuit.quickbooks.payment (via QBO_SCOPES) solely if you connect payment processing. The scope string is validated at startup against the known Intuit scope set, so a typo fails fast rather than silently under-authorizing. Identity scopes (openid, profile, email) are never requested unless you opt in.
Rate limiting and retries
A dual token-bucket limiter caps outbound traffic under both the QuickBooks per-second and per-minute ceilings (configurable via QBO_REQUESTS_PER_SECOND / QBO_REQUESTS_PER_MINUTE). On 429 the client honors the Retry-After header; on 429/5xx without one it uses exponential backoff with jitter, up to QBO_MAX_RETRIES. A single 401 triggers a token refresh and one transparent retry.
Quickstart
uv venv --python 3.12 .venv
uv pip install -e ".[dev]"
cp .env.example .env # fill in QBO_CLIENT_ID / QBO_CLIENT_SECRET
mcp-quickbooks auth # opens Intuit, captures the redirect, stores tokens
mcp-quickbooks status # verify the token refreshes
mcp-quickbooks stdio # run over stdio (Claude Desktop)
mcp-quickbooks http --port 8000 # run over Streamable HTTP
Credentials are read lazily. The server starts, answers initialize, and serves tools/list with no QBO_* variables set at all; a tool call without credentials returns a structured 401 telling the caller what to configure. That keeps registry introspection and container smoke tests working without secrets.
Claude Desktop
{
"mcpServers": {
"quickbooks": {
"command": "mcp-quickbooks",
"args": ["stdio"],
"env": { "QBO_ENVIRONMENT": "sandbox" }
}
}
}
Docker
docker build -t mcp-quickbooks .
docker run --rm -i --env-file .env mcp-quickbooks
Running against a real Intuit sandbox
- Create an app at the Intuit Developer portal and open its Keys & OAuth section. Copy the Development client id and secret.
- Add a redirect URI that matches
QBO_REDIRECT_URIin your.env(defaulthttp://localhost:8765/callback). - Create a sandbox company from the developer dashboard; its company id is your
QBO_REALM_ID. - Set
QBO_ENVIRONMENT=sandbox, fill inQBO_CLIENT_ID/QBO_CLIENT_SECRET, then runmcp-quickbooks auth. The browser flow returns arealmIdautomatically; it is stored alongside the tokens. mcp-quickbooks statusconfirms the tokens refresh. You are now driving the live sandbox.
Switch QBO_ENVIRONMENT=production (with production keys and a connected company) to point at real books. Credentials and tokens are yours; nothing is committed: .env and .qbo_tokens.json are gitignored.
Tests
The suite runs fully offline. Every QuickBooks and OAuth call is served by an in-memory fake (tests/fake_qbo.py) seeded from recorded-style fixtures in tests/fixtures/, wired in through an httpx mock transport: no network, no real credentials.
uv run pytest
Registry metadata
server.json describes the server for the MCP registry, and .mcp.json is the client-config snippet directory crawlers look for. Publishing is intentionally left as a manual step. See PUBLISHING.md. Nothing here submits to any registry.
Hire me
I make AI-era and money-critical integrations production-safe: real auth, real rate limits, real error handling, real tests. Available for MCP server builds and API-integration hardening. Portfolio and contact: https://amin-ale.github.io/portfolio-site · amin.ale.business@gmail.com
License
MIT: see LICENSE.
Frequently asked questions
What is QuickBooks Online MCP Server?
QuickBooks Online MCP server for invoices, customers, and payments. OAuth 2.1 + PKCE, stdio/HTTP.
How do I install QuickBooks Online MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. QuickBooks Online MCP Server runs locally from the PyPI package mcp-quickbooks with the command uvx mcp-quickbooks.
Is QuickBooks Online MCP Server free and open source?
Yes. QuickBooks Online MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does QuickBooks Online MCP Server support remote (HTTP) connections?
No remote endpoint is listed for QuickBooks Online MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does QuickBooks Online MCP Server provide?
QuickBooks Online MCP Server provides 18 tools, including create_customer, create_invoice, create_payment, and delete_customer. See the full tool list for descriptions and parameters.
How is QuickBooks Online MCP Server's trust score calculated?
QuickBooks Online MCP Server scores 56 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.