# QuickBooks Online [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/WYRE-AI/qbo-mcp  
**GitHub Stars:** 2  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/quickbooks-online

## Description
MCP server for QuickBooks Online — accounts, customers, invoices, bills, and reports.

## Tools
Capabilities this server exposes over MCP:

- **qbo_reports_profit_and_loss**
- **qbo_reports_balance_sheet**
- **qbo_reports_cash_flow**
- **qbo_reports_trial_balance**
- **qbo_reports_general_ledger**
- **qbo_reports_aged_receivables**
- **qbo_reports_aged_payables**
- **qbo_reports_customer_sales**
- **qbo_reports_customer_balance**
- **qbo_reports_vendor_expenses**

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/WYRE-AI/qbo-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm install
```

2. Run:

```sh
npm run build
```

3. Start the server:

```sh
QBO_ACCESS_TOKEN=your-access-token QBO_REALM_ID=your-realm-id npm start
```

4. Install:

```sh
docker build -t qbo-mcp .
```

5. Start the server:

```sh
docker run \
  -e CONDUIT_S2S_SECRET \
  -p 127.0.0.1:8080:8080 \
  qbo-mcp
```

6. Start the server:

```sh
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up
```

## Documentation

## What QuickBooks Online does

QuickBooks Online exposes the QuickBooks Online Accounting API through the Model Context Protocol. Its toolset covers accounts, customers, invoices, bills, and other QBO entities, with more than 130 tools spanning 22 entity types. It also includes 10 financial reporting tools for profit and loss, balance sheet, cash flow, trial balance, general ledger, aged receivables, aged payables, customer sales, customer balances, and vendor expenses.

The `qbo_invoices_get` tool can render a read-only interactive invoice card in MCP Apps hosts such as Claude Desktop and Claude web. The card presents customer details, status, dates, line items, and totals. Other hosts receive the invoice data as JSON, including a `_card` field.

## How it works

The server uses a previously obtained QuickBooks Online OAuth2 access token and company realm ID. It does not run the OAuth authorization flow, so an Intuit developer account and an OAuth2 application are needed before connecting it.

Stdio mode reads credentials from `QBO_ACCESS_TOKEN` and `QBO_REALM_ID`. HTTP mode supports two credential strategies. In environment mode, it uses those process-level values after service authentication. In gateway mode, each request supplies `X-Qbo-Access-Token` and `X-Qbo-Realm-Id`, allowing credentials to vary between requests. The optional `X-Qbo-Environment` header selects the production or sandbox API environment.

HTTP `/mcp` requests require an `X-Gateway-S2S` HMAC-authenticated header when `CONDUIT_S2S_SECRET` is configured. The health endpoint remains unauthenticated. When QuickBooks rejects an access token, the server returns an MCP error beginning with `QBO_UNAUTHORIZED:`, which can be used by a gateway to trigger token refresh and retry logic.

## Setup and configuration

Node.js 20 or newer is required. Install dependencies and build the project with:

```bash
npm install
npm run build
```

For stdio, start the server with the QuickBooks access token and realm ID in the environment. The default transport is stdio. To use HTTP, set `MCP_TRANSPORT=http` and provide a real `CONDUIT_S2S_SECRET`; the default listener is `127.0.0.1:8080`.

The server can also run in Docker. The image listens on `0.0.0.0` internally and defaults to gateway authentication. Docker Compose requires `CONDUIT_S2S_SECRET` and publishes port 8080 on loopback. Set `AUTH_MODE=env` for a single-tenant HTTP deployment that reads the QBO credentials from environment variables.

`QBO_ENV` selects production or sandbox and defaults to production. `QBO_CREDENTIALS_FILE` points to a dotenv-format file that is reread on every request and takes precedence over the corresponding environment variables in environment mode. Invoice card branding can be customized with the `MCP_BRAND_*` variables.

## Tools and capabilities

- Query and work with QuickBooks Online entity data across 22 entity types.
- Access accounts, customers, invoices, bills, and related accounting records.
- Generate profit and loss, balance sheet, cash flow, trial balance, and general ledger reports.
- Review aged receivables, aged payables, customer sales, customer balances, and vendor expenses.
- Display invoice details as a read-only MCP Apps card in supported hosts.
- Connect through stdio or authenticated HTTP transport.

## Limitations and notes

Access tokens expire after roughly 60 minutes, so deployments need a token rotation strategy. The server accepts credentials but does not refresh them itself. HTTP production deployments require a service-to-service secret; insecure HTTP without that secret is restricted to local development on loopback and must be explicitly enabled with `MCP_ALLOW_INSECURE_DEV=1`.

Gateway mode does not fall back to process-level QBO credentials when request headers are missing. The `/health` endpoint does not read or validate vendor credentials. The invoice card is read-only, and non-MCP-Apps hosts receive JSON rather than the rendered card.

_Full upstream README: https://allmcps.com/mcp/quickbooks-online/readme_

