Skip to main content
QU

QuickBooks

v0.2.1OAuth2

Intuit QuickBooks Online — líder global en contabilidad (dominante en US/UK). Clientes, facturas, pagos, ítems, P&L. Complementa ERPs de BR/LatAm para SaaS que atiende clientes internacionales.

22 herramientas4 env vars🌐 GLOBALestable en npm

Qué puede hacer tu agente

QuickBooks le da a tu agente 22 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • create_customerCreate a customer in QuickBooks Online. DisplayName is required and must be unique.
  • update_customerUpdate a customer. QBO uses sparse update: pass Id, SyncToken, sparse=true, plus any fields to change.
  • get_customerRetrieve a customer by QuickBooks entity id.
Ejemplo de llamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_customer", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-quickbooks

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "quickbooks": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-quickbooks"
      ],
      "env": {
        "QB_ACCESS_TOKEN": "<your_qb_access_token>",
        "QB_REALM_ID": "<your_qb_realm_id>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 22 herramientas de abajo — probá create_customer primero.

Variables de entorno · 4

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

QB_ACCESS_TOKEN
obligatoriosecret

QuickBooks OAuth2 bearer access token. Expires in 1hr — caller is responsible for refresh via Intuit's OAuth2 auth_code flow.

QB_REALM_ID
obligatorio

QuickBooks company id (realmId). Issued when a user authorizes your app against a specific company.

QB_ENV
opcional

QuickBooks environment: 'sandbox' (default) or 'production'. Selects sandbox-quickbooks.api.intuit.com vs quickbooks.api.intuit.com.

QB_MINOR_VERSION
opcional

QuickBooks API minor version. Defaults to 70.

Herramientas disponibles · 22

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

WRITEcreate_customer
Create a customer in QuickBooks Online. DisplayName is required and must be unique.
WRITEupdate_customer
Update a customer. QBO uses sparse update: pass Id, SyncToken, sparse=true, plus any fields to change.
READget_customer
Retrieve a customer by QuickBooks entity id.
READlist_customers
Query customers using QBO's SQL-like query language. Example: "SELECT * FROM Customer WHERE Active = true MAXRESULTS 50". If query is omitted, returns all customers.
WRITEcreate_invoice
Create an invoice. CustomerRef and at least one Line item (SalesItemLineDetail with ItemRef) are required.
WRITEupdate_invoice
Update an invoice. QBO uses sparse update: pass Id, SyncToken, sparse=true, plus any fields to change.
DELETEvoid_invoice
Void an invoice. The invoice stays in QBO with zero amount. Requires Id and SyncToken.
DELETEdelete_invoice
Delete an invoice. Permanently removes the invoice. Requires Id and SyncToken.

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-quickbooks` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
QuickBooks — MCP server · 22 tools | CodeSpar