连接器指南阅读约 4 分钟17 个 MCP 工具7 种语言

如何通过 MCP 将 QuickBooks Online 连接到 ChatGPT

让你的 AI 处理 QuickBooks Online:查询客户、供应商、产品和服务、发票、账单、付款和科目,读取单条记录,运行损益表、资产负债表以及应收和应付账龄报表,并创建客户和发票。使用 Intuit OAuth 登录,支持沙盒公司或正式公司。

HC作者:HelpCode 团队更新于 4 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

QuickBooks Online

QuickBooks Online

Let your AI work with QuickBooks Online: query customers, vendors, items, invoices, bills, payments and accounts, read single records, run Profit and Loss, Balance Sheet and aged receivables and payables reports, and create customers and invoices. Intuit OAuth sign-in, sandbox or production company.

个工具

17

区域

INTL

类别

会计

身份验证

OAuth 2.0

所需环境变量

QBO_CLIENT_IDQBO_CLIENT_SECRETQBO_REALM_IDQBO_API_URL
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 QuickBooks Online,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

让你的 AI 处理 QuickBooks Online:查询客户、供应商、产品和服务、发票、账单、付款和科目,读取单条记录,运行损益表、资产负债表以及应收和应付账龄报表,并创建客户和发票。使用 Intuit OAuth 登录,支持沙盒公司或正式公司。

试试这样问

QuickBooks Online 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

QuickBooks Online · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → QuickBooks Online、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

QuickBooks Online + ChatGPT

让你的 AI 处理 QuickBooks Online:查询客户、供应商、产品和服务、发票、账单、付款和科目,读取单条记录,运行损益表、资产负债表以及应收和应付账龄报表,并创建客户和发票。使用 Intuit OAuth 登录,支持沙盒公司或正式公司。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

QBO_CLIENT_ID, QBO_CLIENT_SECRET, QBO_REALM_ID, QBO_API_URL

步骤 1 — 获取凭证

  1. 登录 developer.intuit.com,打开 My Hub → App dashboard → Create an app,选择 QuickBooks Online and Payments,并选择权限范围 com.intuit.quickbooks.accounting。
  2. 在 Settings → Redirect URIs 下,为 Development 添加 https://cloud.anythingmcp.com/api/mcp-oauth/callback,之后再为 Production 添加。如果你自行托管 AnythingMCP,则改为填写 https://your-anythingmcp-host/api/mcp-oauth/callback。URI 必须完全一致。
  3. 从 Keys & credentials 复制 Client ID 和 Client Secret,分别填入 QBO_CLIENT_ID 和 QBO_CLIENT_SECRET。开发密钥只能用于沙盒公司。生产密钥可用于真实公司;Intuit 会在一次简短的应用评估(应用仪表板上的一份问卷)后授予。
  4. 找到公司的 realm id(Company ID):在 QuickBooks 中点击齿轮图标,打开 Account and settings → Billing & subscription,复制 Company ID(去掉空格)。沙盒公司的 ID 位于开发者网站的 Sandboxes 下。把它填入 QBO_REALM_ID。
  5. 把 QBO_API_URL 设为 https://quickbooks.api.intuit.com(真实公司)或 https://sandbox-quickbooks.api.intuit.com(沙盒公司)。它必须与密钥匹配:开发密钥对应沙盒 URL,生产密钥对应生产 URL。
  6. 安装连接器,在连接器页面点击 Authorize with Provider,登录 Intuit 并连接同一家公司。
  7. 先运行 qbo_get_company_info,在 AI 读取或写入任何内容之前核对公司名称。一个连接器只对应一家公司;如需连接第二家公司,请再安装一次。

保持登录状态:访问令牌有效期为一小时,会自动续期。刷新令牌如果 100 天未使用就会过期,并且每次授权最迟在 5 年后结束。届时,或者在 QuickBooks 中断开了该应用时,请再次点击 Authorize with Provider。不要同时在另一个工具中使用同一个 Intuit 应用:Intuit 大约每天替换一次刷新令牌,两者中总有一个会留下旧令牌。

权限和只读设置:权限范围 com.intuit.quickbooks.accounting 提供会计数据的读写权限,以登录的 QuickBooks 用户的角色所允许的范围为限。Intuit 没有只读的会计权限范围。如需只读设置,请用一个角色无法创建交易的用户登录,并停用 qbo_create_customer、qbo_update_customer 和 qbo_create_invoice。

安装时默认关闭:qbo_send_invoice(以你公司的名义通过邮件把发票发给客户)和 qbo_delete_invoice。只有在 AI 需要发送或删除发票时才打开它们。

发票立即入账:QuickBooks 没有发票草稿。AI 创建的发票会立即增加客户的余额并出现在报表中,但不会通过邮件发出。客户无法删除,只能设为停用。

客户名称:客户的显示名称在客户、供应商和员工之间必须唯一,并且不能包含冒号(QuickBooks 用冒号分隔子客户)、制表符或换行符。

常见错误:401 AuthenticationFailed(3200)表示授权已过期或被撤销,或者 QBO_API_URL 与密钥不匹配:请检查 URL,然后再次点击 Authorize with Provider。403 ApplicationAuthorizationFailed(3100)表示 realm id 属于此次登录未获授权的公司,或者用户的角色缺少访问权限。400 QueryParserError 表示查询有语法错误。6240 Duplicate Name Exists Error 表示显示名称已被占用;2040 Invalid String 表示名称包含冒号、制表符或换行符;5010 Stale Object Error 表示记录在此期间已被修改,需要重新读取。429 表示达到了每分钟 500 个请求的限制:请等待一分钟。

连接器不处理发票 PDF 和附件、付款记录、银行馈送、薪资或 QuickBooks Desktop,除发票外不删除任何内容。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 ChatGPT 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

ChatGPT 通过开发者模式(Developer mode)将 MCP 服务器作为自定义应用接入,仅付费套餐可用,免费套餐不可用。在 Business 和 Enterprise 工作区中,可能需要管理员先开启。

  1. 在 ChatGPT 中打开 Settings → Security and login,开启 Developer mode。
  2. 前往 chatgpt.com/plugins,点击 +。
  3. 填写名称和简短描述,例如 Name: QuickBooks Online。
  4. 在 Connection 下填入 MCP 服务器 URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,然后创建连接。
  5. ChatGPT 提示时,登录 AnythingMCP(OAuth)并允许访问。

可用工具

ToolWhat it does
qbo_get_company_infoRead the connected company: CompanyName, LegalName, addresses, email, phone, Country, FiscalYearStartMonth, the company's start date and…
qbo_queryRun a read-only QuickBooks query (SQL-like, one entity, no joins): e.g. "select * from Invoice where Balance > '0' orderby DueDate…
qbo_get_customerRead one customer by its Id (the numeric Id from qbo_query, not a document number or name), with contact details, addresses, Balance and…
qbo_get_invoiceRead one invoice by its Id (the numeric Id from qbo_query, not a document number or name), with its lines, totals, Balance, due date…
qbo_get_itemRead one item (product or service) by its Id (the numeric Id from qbo_query, not a document number or name), with prices, income and…
qbo_get_vendorRead one vendor by its Id (the numeric Id from qbo_query, not a document number or name), with contact details, addresses and Balance
qbo_get_billRead one bill (a vendor's invoice to the company) by its Id (the numeric Id from qbo_query, not a document number or name), with its lines…
qbo_get_paymentRead one customer payment by its Id (the numeric Id from qbo_query, not a document number or name), with the invoices it was applied to…
qbo_create_customerCreate a customer
qbo_update_customerChange some fields of a customer (sparse update); fields not named keep their values
qbo_create_invoiceCreate an invoice for a customer
qbo_send_invoiceEmail an invoice to the customer as a PDF from QuickBooks, to the invoice's BillEmail or to send_to (which also becomes the invoice's…
qbo_delete_invoiceDelete an invoice permanently (it disappears from reports; QuickBooks keeps it in the audit log)
qbo_report_profit_and_lossProfit and Loss report (income, cost of goods sold, expenses, net income) for a period, as QuickBooks' report JSON: Header, Columns and…
qbo_report_balance_sheetBalance Sheet report (assets, liabilities, equity) as of the end of a period, as QuickBooks' report JSON with nested Rows
qbo_report_aged_receivablesAged Receivables summary: what each customer owes, split into Current, 1-30, 31-60, 61-90 and 91+ days past due, as of report_date (default…
qbo_report_aged_payablesAged Payables summary: what the company owes each vendor, split into Current, 1-30, 31-60, 61-90 and 91+ days past due, as of report_date…

示例提示

  • “哪些发票已经逾期?每位客户各欠多少钱?”
  • “按月显示本财年的损益表。”
  • “为 Acme Ltd 开一张发票:10 小时的“咨询”服务,30 天后到期。”
  • “哪些供应商账单已逾期超过 60 天?”

FAQ

ChatGPT 免费套餐能用自定义 MCP 连接器吗? 不能。自定义 MCP 连接需要开发者模式,只有付费套餐提供。

下一步

这份指南对你有帮助吗?

你的 QuickBooks Online 智能体只差一次点击。

安装连接器,粘贴密钥,向 ChatGPT 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 QuickBooks Online 连接到 Claude

让你的 AI 处理 QuickBooks Online:查询客户、供应商、产品和服务、发票、账单、付款和科目,读取单条记录,运行损益表、资产负债表以及应收和应付账龄报表,并创建客户和发票。使用 Intuit OAuth 登录,支持沙盒公司或正式公司。

连接器

如何通过 MCP 将 QuickBooks Online 连接到 Cursor

让你的 AI 处理 QuickBooks Online:查询客户、供应商、产品和服务、发票、账单、付款和科目,读取单条记录,运行损益表、资产负债表以及应收和应付账龄报表,并创建客户和发票。使用 Intuit OAuth 登录,支持沙盒公司或正式公司。

连接器

如何通过 MCP 将 QuickBooks Online 连接到 Gemini

让你的 AI 处理 QuickBooks Online:查询客户、供应商、产品和服务、发票、账单、付款和科目,读取单条记录,运行损益表、资产负债表以及应收和应付账龄报表,并创建客户和发票。使用 Intuit OAuth 登录,支持沙盒公司或正式公司。

连接器

如何通过 MCP 将 QuickBooks Online 连接到 Meta Muse

让你的 AI 处理 QuickBooks Online:查询客户、供应商、产品和服务、发票、账单、付款和科目,读取单条记录,运行损益表、资产负债表以及应收和应付账龄报表,并创建客户和发票。使用 Intuit OAuth 登录,支持沙盒公司或正式公司。

连接器

QuickBooks Online 接入 MCP:从任意 AI 代理驱动 QuickBooks Online

让你的 AI 处理 QuickBooks Online:查询客户、供应商、产品和服务、发票、账单、付款和科目,读取单条记录,运行损益表、资产负债表以及应收和应付账龄报表,并创建客户和发票。使用 Intuit OAuth 登录,支持沙盒公司或正式公司。

连接器

如何通过 MCP 将 Canva 连接到 ChatGPT

让你的 AI 在 Canva 中工作:查找和读取设计,创建新设计,将设计导出为 PDF、PNG、PowerPoint 或视频并获取下载链接,整理文件夹,通过链接上传图片,读取品牌模板,并在设计上发表评论。