
scottcjn/qb-auto
Browser automation이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
QuickBooks 온라인 MCP 서버 Claude 코드 — 8 자동화 도구 대체 50K-token 스냅 샷 ~ 200-token 대상 추출
개요
MCP (Model Context Protocol) 서버는 QuickBooks 온라인 자동화를 위한 Claude Code native 도구를 제공합니다. 50K-token browser snapshot Round-trip을 대상 DOM 추출 (~200-500 토큰)과 하나의 도구 호출에서 전체 워크플로우를 완료하는 화합물 Playwright 작업을 대체합니다. - 파이썬 3.10 + - mcp 및 playwright 패키지 - 원격 디버깅으로 Chrome : Google-chrome --remote-debugging-port=9222 서버는 기본적으로 포트 9222에 CDP (Chrome DevTools Protocol)를 통해 Chrome에 연결합니다. 서버에서 CDP PORT 변수를 설정합니다. 다른 포트를 사용하는 경우 py. - : ARIA selectors를 사용하여 QB의 DOM에서 컴팩트한 JSON을 반환하는 페이지.evaluate()를 통해 생성되는 JavaScript 함수 - : getByRole() 및 getByLabel()를 사용하여 Playwright 워크플로우를 완료합니다. -: PLAYBOOK.md는 browser evaluate/browser run code를 사용하여 수동 사용을 위한 전체 참조를 포함합니다. 1. 항목 qb receive payment (invoice num="6865", amount="22500", method="ACH") 2.
개요(AI 번역)
MCP (Model Context Protocol) 서버는 QuickBooks 온라인 자동화를 위한 Claude Code native 도구를 제공합니다.
50K-token browser_snapshot] 대상 DOM 추출 (~200-500 토큰) 및 복합 Playwright 작업으로 한 도구 호출에서 전체 워크플로를 완료합니다.
도구
| 도구 | 설명 |
|---|---|
qb_page_state |
현재 페이지/dialog 상태 확인(~50 토큰) |
qb_list_invoices |
선택적용 필터가있는 모든 눈에 보이는 송장 |
qb_invoice_state |
오픈 송장형 검사(선물, 합계) |
qb_receive_payment |
지불 기록(navigate → 채우기 → 확인) |
qb_create_invoice |
라인 아이템으로 새로운 송장 만들기 |
qb_delete_line_item |
기존 송장에서 선 삭제 |
qb_edit_payment_amount |
기존 결제 금액 편집 |
qb_batch_receive_payments |
시퀀스에서 여러 결제 기록 |
qb_report |
날짜 범위 옵션으로 QBO 보고서 (30+ 보고서 유형)를 실행 |
| [T10] | 이익&손실 |
| [T11] | 밸런스 시트(assets, liabilities, equity) |
qb_report_ar_aging |
A/R 에이징 개요(who owes, how overdue) |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
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
| Tool | Description |
|---|---|
qb_page_state |
Check current page/dialog state (~50 tokens) |
qb_list_invoices |
List all visible invoices with optional customer filter |
qb_invoice_state |
Inspect an open invoice form (line items, totals) |
qb_receive_payment |
Record a payment (navigate → fill → save → confirm) |
qb_create_invoice |
Create a new invoice with line items |
qb_delete_line_item |
Delete a line from an existing invoice |
qb_edit_payment_amount |
Edit an existing payment amount |
qb_batch_receive_payments |
Record multiple payments in sequence |
qb_report |
Run any QBO report (30+ report types) with date range options |
qb_report_pnl |
Profit & Loss (income statement) |
qb_report_balance_sheet |
Balance Sheet (assets, liabilities, equity) |
qb_report_ar_aging |
A/R Aging Summary (who owes, how overdue) |
qb_report_customer_balance |
Customer Balance Summary |
qb_report_open_invoices |
Open (unpaid) Invoices |
qb_report_vendor_balance |
Vendor Balance Summary |
Token Savings
| Workflow | Before (snapshots) | After (MCP) | Savings |
|---|---|---|---|
| Receive Payment | ~290K tokens | ~13K tokens | 95% |
| Create Invoice | ~350K tokens | ~18K tokens | 95% |
| Full session (5 ops) | ~500K tokens | ~45K tokens | 91% |
Setup
Prerequisites
- Python 3.10+
mcpandplaywrightpackages- 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()andgetByLabel()— ARIA-stable selectors that survive QB page reloads - Playbook:
PLAYBOOK.mdcontains the full reference for manual use withbrowser_evaluate/browser_run_code
Files
| File | Purpose |
|---|
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"quickbooks": {
"type": "stdio",
"command": "python3",
"args": ["/path/to/qb-auto/server.py"]
}
}
}