Sponsored by Deepsite.site

Qb Auto

Created By
Scottcjn5 hours ago
QuickBooks Online MCP server for Claude Code — 8 automation tools (invoices, payments, reports) that replace ~50K-token UI snapshots.
Content

BCOS Certified

qb-auto — QuickBooks MCP Server

MCP (Model Context Protocol) server that gives Claude Code native tools for QuickBooks Online automation.

Replaces 50K-token browser_snapshot round-trips with targeted DOM extraction (~200-500 tokens) and compound Playwright actions that complete entire workflows in one tool call.

Tools

ToolDescription
qb_page_stateCheck current page/dialog state (~50 tokens)
qb_list_invoicesList all visible invoices with optional customer filter
qb_invoice_stateInspect an open invoice form (line items, totals)
qb_receive_paymentRecord a payment (navigate → fill → save → confirm)
qb_create_invoiceCreate a new invoice with line items
qb_delete_line_itemDelete a line from an existing invoice
qb_edit_payment_amountEdit an existing payment amount
qb_batch_receive_paymentsRecord multiple payments in sequence
qb_reportRun any QBO report (30+ report types) with date range options
qb_report_pnlProfit & Loss (income statement)
qb_report_balance_sheetBalance Sheet (assets, liabilities, equity)
qb_report_ar_agingA/R Aging Summary (who owes, how overdue)
qb_report_customer_balanceCustomer Balance Summary
qb_report_open_invoicesOpen (unpaid) Invoices
qb_report_vendor_balanceVendor Balance Summary

Token Savings

WorkflowBefore (snapshots)After (MCP)Savings
Receive Payment~290K tokens~13K tokens95%
Create Invoice~350K tokens~18K tokens95%
Full session (5 ops)~500K tokens~45K tokens91%

Setup

Prerequisites

  • Python 3.10+
  • mcp and playwright packages
  • Chrome running with remote debugging: google-chrome --remote-debugging-port=9222

Install

pip install mcp playwright
playwright install chromium

Register with Claude Code

Add to ~/.mcp.json:

{
  "mcpServers": {
    "quickbooks": {
      "type": "stdio",
      "command": "python3",
      "args": ["/path/to/qb-auto/server.py"]
    }
  }
}

Configuration

The server connects to Chrome via CDP (Chrome DevTools Protocol) on port 9222 by default. Set the CDP_PORT variable in server.py if using a different port.

Architecture

  • Extractors: JavaScript functions injected via page.evaluate() that return compact JSON from QB's DOM using ARIA selectors
  • Actions: Complete Playwright workflows using getByRole() and getByLabel() — ARIA-stable selectors that survive QB page reloads
  • Playbook: PLAYBOOK.md contains the full reference for manual use with browser_evaluate/browser_run_code

Files

FilePurpose
server.pyMCP server with 15 tools
extractors.jsStandalone JS extractor functions (reference)
actions.jsPlaywright action templates (reference)
PLAYBOOK.mdQuick reference for manual browser automation

How It Works

  1. Claude calls qb_receive_payment(invoice_num="6865", amount="22500", method="ACH")
  2. Server connects to your Chrome browser via CDP
  3. Navigates to QB invoices, finds the invoice, opens payment dialog
  4. Fills method, amount, saves, handles confirmations
  5. Returns compact JSON result (~200 tokens)

No browser snapshots. No 50K token pages. One tool call = one complete operation.

License

MIT

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Playwright McpPlaywright MCP server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
Tavily Mcp
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
WindsurfThe new purpose-built IDE to harness magic
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.