QuickBooks MCP serverand Python AI tasks
qbash hosts a QuickBooks MCP server you can use in Claude, ChatGPT, Codex, Cursor, Grok Bot and Muse. Developers use qbash Tasks to write cloud-hosted Python functions that pair QuickBooks with models such as Claude and GPT.
Add the qbash MCP
Use QuickBooks from Claude Code, Codex, Cursor and other MCP clients. Connect QuickBooks in qbash, and your agent can work with its data and build Tasks that call it.
claude mcp add --transport http qbash https://mcp.qbash.com/mcp
Then run /mcp in Claude Code and sign in with qbash.
- Run Profit and Loss, Balance Sheet, Cash Flow, A/R and A/P aging and other QuickBooks reports
- Query any entity with QuickBooks' SELECT syntax, or list customers, vendors, items and accounts
- Read any record by ID, and list what changed in the last 30 days
- Create and update customers and invoices
- Record payments, vendor bills and balanced journal entries
- Create or update vendors, estimates, sales receipts, purchase orders and other records
Write a QuickBooks task in Python
A qbash Task is a Python function hosted in the cloud. Python is the runtime and defines the process, and built-in inline prompts run on leading models such as Claude, GPT, Gemini and Grok.
Run a Task on a schedule, from an HTTP request or when a connected app sends an event. Your agents and chat tools call it over MCP.
Each run is logged with its inputs and results, and you can turn data logging off for any Task. Every Task has version control, and each run is locked to the version it ran.
Write the weekly collections list
Run weekly, get_aged_receivables pulls that day's A/R aging summary. An inline prompt ranks the customers with balances more than 30 days past due and drafts a one-line reminder for each.
report = qbash.integrations.quickbooks.get_aged_receivables(
aging_period=30,
num_periods=4,
)
rows = report.get("Rows", {}).get("Row", [])
if rows:
reminders = qbash.ai.run_prompt(
slug="quickbooks-collections-list",
variables={"aging": json.dumps({"columns": report["Columns"], "rows": rows})},
)
qbash.output(reminders)
else:
qbash.output("QuickBooks shows no open receivables today.")
Sample get_aged_receivables response
{
"status": "success",
"Header": {
"ReportName": "AgedReceivables",
"DateMacro": "today",
"ReportBasis": "Accrual",
"StartPeriod": "2026-11-17",
"EndPeriod": "2026-11-17",
"Currency": "USD"
},
"Columns": {
"Column": [
{
"ColTitle": "",
"ColType": "Customer"
},
{
"ColTitle": "Current",
"ColType": "Money"
},
{
"ColTitle": "1 - 30",
"ColType": "Money"
},
{
"ColTitle": "31 - 60",
"ColType": "Money"
},
{
"ColTitle": "61 - 90",
"ColType": "Money"
},
{
"ColTitle": "91 and over",
"ColType": "Money"
},
{
"ColTitle": "Total",
"ColType": "Money"
}
]
},
"Rows": {
"Row": [
{
"ColData": [
{
"value": "Example customer 1",
"id": "58"
},
{
"value": "1200.00"
},
{
"value": ""
},
{
"value": "3450.00"
},
{
"value": ""
},
{
"value": ""
},
{
"value": "4650.00"
}
]
},
{
"ColData": [
{
"value": "Example customer 2",
"id": "61"
},
{
"value": ""
},
{
"value": "640.00"
},
{
"value": ""
},
{
"value": ""
},
{
"value": "2180.00"
},
{
"value": "2820.00"
}
]
},
{
"ColData": [
{
"value": "Example customer 3",
"id": "73"
},
{
"value": "5200.00"
},
{
"value": ""
},
{
"value": ""
},
{
"value": ""
},
{
"value": ""
},
{
"value": "5200.00"
}
]
},
{
"ColData": [
{
"value": "Example customer 4",
"id": "84"
},
{
"value": ""
},
{
"value": ""
},
{
"value": ""
},
{
"value": "1975.50"
},
{
"value": ""
},
{
"value": "1975.50"
}
]
},
{
"type": "Section",
"group": "GrandTotal",
"Summary": {
"ColData": [
{
"value": "TOTAL"
},
{
"value": "6400.00"
},
{
"value": "640.00"
},
{
"value": "3450.00"
},
{
"value": "1975.50"
},
{
"value": "2180.00"
},
{
"value": "14645.50"
}
]
}
}
]
}
}
Custom MCP server
Build a custom MCP server with QuickBooks
Create a hosted MCP server that combines QuickBooks tools with your other connectors, Tasks and memory folders. You choose each tool it exposes, so a server can share QuickBooks reads with write tools left off.
Share the server with your team, and each person adds it to the client they already use.
How to set it up
- Connect QuickBooks on the qbash Connectors page.
- Create an MCP server and add the QuickBooks tools you want to share.
- Paste the server URL into your client. It connects with OAuth or an access token.
QuickBooks MCP questions
Does QuickBooks have an official MCP server?
Intuit publishes quickbooks-online-mcp-server on GitHub for you to run on your own machine. Intuit also runs a QuickBooks connector inside Claude for US customers. qbash hosts QuickBooks on one URL with your other connectors, and the same methods run in Python tasks.
What can it create and change?
It creates customers, invoices, payments, bills and journal entries. It also creates other record types, such as vendors, estimates and sales receipts. It updates them, emails one invoice, estimate, sales receipt, credit memo or payment receipt per call, voids transactions and attaches files to them. It never deletes. A voided transaction stays on record at zero, and setting Active to False makes a customer, vendor, item or account inactive.
Can it stop an update from overwriting someone else's change?
Yes. Every QuickBooks record carries a SyncToken. Pass the one from your last read as sync_token, and QuickBooks refuses the update if someone changed the record after that read.
Does the QuickBooks connector work with QuickBooks Desktop?
No. The connector uses the QuickBooks Online Accounting API, which covers QuickBooks Online companies only. QuickBooks Desktop has its own SDK and Web Connector that run on the machine with the company file.
What does the QuickBooks connector need to connect?
An Intuit sign-in on the Connectors page. Intuit asks you to approve access to the company's accounting data and to pick the company, and the credential is tied to that one company. You also say whether it is a production company or a sandbox company from an Intuit developer account.
Related finance connectors
Build a QuickBooks task
Write it in Python with AI steps, or describe it to your coding agent through the qbash MCP.