Set up QuickBooks in Metorial for Claude, ChatGPT and Cursor
Share QuickBooks with your team in Claude, ChatGPT and Cursor through Metorial: 25 tools (9 read-only).
To give your team QuickBooks in Claude, ChatGPT, Cursor and other AI clients, an admin shares the QuickBooks integration in a Metorial portal. Agents can manage business finances and accounting in QuickBooks Online. The integration has 25 tools, 9 read-only, 15 write and 1 destructive, plus 2 triggers.
What you'll learn
- How an admin shares QuickBooks in a portal and how each person connects
- How to keep the 9 read-only tools and reject the other 16
Before you start
- A portal with at least one access group
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
Available: OAuth (production), OAuth (sandbox).
The portal and metorial setup use OAuth (production) unless someone picks another method.
Setup settings
Setup also asks for:
environment(optional): QuickBooks API environment to use One of "sandbox", "production".companyId(optional): QuickBooks Company ID (Realm ID) for the target company. Optional when OAuth captured a realmId.webhookVerifierToken(optional): Optional Intuit webhook verifier token for signature validation
Admin: share QuickBooks in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose QuickBooks. Under Auth Method, keep OAuth (production) or pick another.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from QuickBooks.
Choose who gets it
Add the access groups that should see QuickBooks. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user QuickBooks integration. Once it exists, check which groups have it:
Employee: connect QuickBooks
In the portal
Open QuickBooks in the catalog
Sign in to your portal and open QuickBooks. The status reads Available.
Authenticate
Under Quick setup, select Authenticate.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses OAuth (production). To connect with OAuth (sandbox) instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your QuickBooks connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 9 read-only tools, such as get_report and get_vendor, and lose the 15 write tools, such as pay_bill or create_bill, and the destructive tool delete_sales_receipt.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 25 tools, minus any you rejected. get_company_info takes no input.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (9)
get_account: Retrieves an account from the chart of accounts by ID, returning type, balance, and classification details. NeedsaccountId.get_report: Generates a financial report from QuickBooks. NeedsreportName.query_entities: Queries QuickBooks entities using a SQL-like query language. NeedsentityType.get_company_info: Retrieves the company profile information from QuickBooks, including name, address, contact details, fiscal year, and industry type.get_payment: Retrieves a payment record by ID with full transaction details and linked invoices. NeedspaymentId.get_customer: Retrieves a customer record by ID, returning contact details, addresses, balance, and status. NeedscustomerId.search_contacts: Searches for customers and/or vendors by name, email, or other criteria. NeedssearchTerm.get_vendor: Retrieves a vendor record by ID, returning full contact and balance details. NeedsvendorId.get_sales_receipt: Retrieves a sales receipt by ID, including customer, amount, transaction date, and line item details. NeedssalesReceiptId.
Write tools (15)
create_account: Creates a new account in the QuickBooks chart of accounts. NeedsnameandaccountType.get_invoice: Retrieves a single invoice by its ID, returning full details including line items, amounts, customer info, and payment status. NeedsinvoiceId.create_item: Creates a new product or service item in QuickBooks. Needsname,itemTypeandincomeAccountId.create_journal_entry: Creates a manual journal entry with debit and credit lines. Needslines.create_bill: Creates a new bill (accounts payable) from a vendor. NeedsvendorIdandlineItems.create_payment: Records a payment received from a customer. NeedscustomerIdandtotalAmount.pay_bill: Records a bill payment to a vendor. NeedsvendorId,totalAmount,billIds,paymentTypeandbankAccountId.update_item: Updates an existing product or service item. NeedsitemId.create_estimate: Creates a new estimate (quote/proposal) for a customer. NeedscustomerIdandlineItems.update_customer: Updates an existing customer record in QuickBooks. NeedscustomerId.record_expense: Records a purchase or expense transaction in QuickBooks. NeedspaymentType,accountIdandlineItems.create_vendor: Creates a new vendor (supplier) record in QuickBooks with contact details and address information. NeedsdisplayName.create_customer: Creates a new customer record in QuickBooks. NeedsdisplayName.create_invoice: Creates a new invoice in QuickBooks for a specified customer. NeedscustomerIdandlineItems.create_sales_receipt: Creates a sales receipt in QuickBooks for an immediate customer sale where payment is received at the time of purchase. NeedscustomerIdandlineItems.
Destructive tools (1)
delete_sales_receipt: Deletes a sales receipt transaction from QuickBooks. NeedssalesReceiptId.
Triggers
QuickBooks has 2 triggers, which fire on events in QuickBooks:
entity_change_polling: [Polling fallback] Polls the QuickBooks Change Data Capture (CDC) API to detect entity changes since the last poll.entity_change_webhook: Receives real-time webhook notifications when QuickBooks entities are created, updated, deleted, merged, or voided.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use QuickBooks there
- Tool permissions: tool filters and what employees see
- QuickBooks on metorial.com: the integration overview