
QuickBooks MCP 服务器允许 AI 助手通过标准接口访问 QuickBooks 数据。它使用模型上下文协议(Model Context Protocol)将 QBO 功能作为可调用工具,使开发者能够构建......
概览
该MCP服务器为Claude Code及其他兼容MCP客户端提供完整的QuickBooks Online API集成。它包含29种实体类型的完整CRUD操作和11份财务报告,为您提供对QuickBooks Online功能的全面访问。 - - 完整覆盖QuickBooks Online API——完整的CRUD操作(创建、读取、更新、删除、搜索)——资产负债表、损益表、现金流等——安全基于令牌的认证——全类型安全,支持Zod验证——支持ESM的Jest测试套件 注意:这是一个本地MCP服务器。它作为开发者或合作伙伴机器上的stdio子进程运行,并向QuickBooks Online公司进行认证。 该MCP服务器一旦认证即可运行,但QuickBooks Online集成受Intuit的OAuth应用设置限制。您必须在Intuit开发者门户注册应用并完成一次性基于浏览器的OAuth握手。
概述(AI 翻译)
QuickBooks Online 的综合模型上下文协议(MCP)服务器
快速入门 |可用工具 |认证 |文档
概述
该MCP服务器为Claude Code及其他兼容MCP客户端提供完整的QuickBooks Online API集成。它包含29种实体类型的完整CRUD操作和11份财务报告,为您提供对QuickBooks Online功能的全面访问。
主要特色
- 145 Total Tools - QuickBooks Online API 的完整覆盖
- 29 种实体类型 - 完整的 CRUD 操作(创建、读取、更新、删除、搜索)
- 11 财务报告 - 资产负债表、损益表、现金流等
- OAuth 2.0 认证 - 基于安全令牌的认证
- TypeScript - 全类型安全,包含Zod验证
- Tested - 支持 ESM 的 Jest 测试套件
注:这是一个本地MCP服务器。它作为开发者或合作伙伴机器上的stdio子进程运行,并向QuickBooks Online公司进行认证。
开始之前: 这个MCP服务器一旦认证后运行起来很简单,但QuickBooks Online的集成受限于Intuit的OAuth应用设置。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
QuickBooks Online MCP Server
Overview
This MCP server provides complete QuickBooks Online API integration for Claude Code and other MCP-compatible clients. It includes full CRUD operations for 29 entity types and 11 financial reports, giving you comprehensive access to QuickBooks Online functionality.
Key Features
- 145 Total Tools - Complete coverage of QuickBooks Online API
- 29 Entity Types - Full CRUD operations (Create, Read, Update, Delete, Search)
- 11 Financial Reports - Balance Sheet, P&L, Cash Flow, and more
- OAuth 2.0 Authentication - Secure token-based authentication
- TypeScript - Full type safety with Zod validation
- Tested - Jest test suite with ESM support
Note: this is a local MCP server. It runs as a stdio subprocess on the developer’s or partner’s machine and authenticates to a QuickBooks Online company.
Before you start: This MCP server is easy to run once authenticated, but QuickBooks Online integration is gated by Intuit’s OAuth app setup. You must register an app on the Intuit Developer Portal and complete a one-time, browser-based OAuth handshake. Sandbox supports
http://localhostredirect URIs; production requires a public HTTPS callback for the initial authorization. After that initial handshake, the server runs locally without further browser interaction (until the 100-day refresh window lapses). See Authentication for full details.
Quick Start
Installation
# Clone the repository
git clone https://github.com/your-username/mcp-quickbooks-online.git
cd mcp-quickbooks-online
# Install dependencies
npm install
# Build the project
npm run build
Configuration
Copy the template .env.example to .env in the root directory and fill in your values:
cp .env.example .env
QUICKBOOKS_CLIENT_ID=your_client_id
QUICKBOOKS_CLIENT_SECRET=your_client_secret
QUICKBOOKS_ENVIRONMENT=sandbox
QUICKBOOKS_REFRESH_TOKEN=your_refresh_token
QUICKBOOKS_REALM_ID=your_realm_id
# Optional: restrict which tool categories are registered (default: all enabled)
# QUICKBOOKS_DISABLE_WRITE=true # suppress create_* tools
# QUICKBOOKS_DISABLE_UPDATE=true # suppress update_* tools
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"quickbooks": {
"command": "node",
"args": ["path/to/mcp-quickbooks-online/dist/index.js"],
"env": {
"QUICKBOOKS_CLIENT_ID": "your_client_id",
"QUICKBOOKS_CLIENT_SECRET": "your_client_secret",
"QUICKBOOKS_REFRESH_TOKEN": "your_refresh_token",
"QUICKBOOKS_REALM_ID": "your_realm_id",
"QUICKBOOKS_ENVIRONMENT": "sandbox",
"QUICKBOOKS_DISABLE_WRITE": "false",
"QUICKBOOKS_DISABLE_UPDATE": "false",
"QUICKBOOKS_DISABLE_DELETE": "false"
}
}
}
}