mcp-ai-wpoos-qb-desktop
Operate the QuickBooks Desktop MCP server (Proposal 113) in examples/qb-desktop-mcp — read tools, the safe write tier (customer/item/vendor adds), the two-step confirm + revert flow, and the QBBRIDGE_
Files1
View on GitHubSKILL.md.agents/skills/mcp-ai-wpoos-qb-desktop/SKILL.md
GitHubQB Desktop MCP — operational guide
Local stdio MCP server (nvoos-qb-desktop-mcp in Zed context_servers)
that reads a QuickBooks Desktop company file via qbXML over COM and
writes only in tiers. Fork of Compolaga/quickbooks-desktop-mcp (MIT,
QBBridge lineage).
Load order
examples/qb-desktop-mcp/README.nv.md— NV ops layer, write tiers.examples/qb-desktop-mcp/docs/zed-runbook.md— first-connect authorization, tool permissions, tie-out.- Upstream
examples/qb-desktop-mcp/README.md(Dutch) — tool semantics. docs/project/proposals/113-quickbooks-desktop-mcp-*.md— the plan.
Hard rules (never bend)
- No live client data anywhere in the repo — names, amounts, ref numbers stay on the QB machine. Issues/commits carry counts only.
- Test only on a copy of the company file until the M3 tie-out passes.
- Two-step always: every write = preview → show to user → explicit
approval → same args +
confirm_code. The code is HMAC over (tool, company file, exact request), single-use. QBBRIDGE_WRITE_MODE(defaultsafe) is server-enforced: never suggest widening it;fullrequires owner sign-off per live session.- Writes happen with QB open as the same Windows user as Zed, single-user mode; the Integrated Applications entry must keep the personal-data box unchecked.
Write tiers
| Mode | Tools allowed to post |
|---|---|
readonly |
none (revert included) |
safe (default) |
qb_create_customer, qb_create_item, qb_add_vendor, qb_revert_run |
full |
+ qb_create_invoice, qb_receive_payment, qb_deposit, qb_write_check, qb_journal_entry, qb_add_transaction |
Workflow
- Start with
qb_status(reachable? company file? qbXML version?). - Read with
qb_list_*/qb_search_*/qb_find_*— auto-approved. - Before any write, confirm the open file (
qb_company_info) matches the intended client. - Safe-tier writes: preview first, then confirm after explicit approval;
group related postings into one
run_id, undo withqb_revert_run. - Transactional tools in
safemode refuse with "safe write tier" — that is the gate working, not a bug; escalate to the owner, never around it.
Verification
Offline suite (no QB needed): cd examples/qb-desktop-mcp && uv run pytest tests/test_offline.py -q — 138 tests incl. the write-tier gate. Live checks
per docs/zed-runbook.md §5 (tie-out to the cent against QB's own reports).