Connect your AI to LedgerBeaver

Evaluating a connection? Start with connected AI for accounting to understand scope, evidence and human approval. The technical connection reference follows below.

LedgerBeaver uses the Model Context Protocol (MCP). Use compatible MCP clients with the published transport and authentication flow.

Last updated: June 11, 2026

Connect in 60s Per-client setup Scope & tool reference Security & control

Connect in 60 seconds

You'll need a connection token. Generate one inside the app under Connect AI (app.ledgerbeaver.com/app/connect). Then point any MCP-compatible client at the LedgerBeaver server:

~/connect.sh
# Add LedgerBeaver to any MCP-compatible client
$ mcp add ledgerbeaver \
    --url     https://mcp.ledgerbeaver.com/mcp \
    --token   $LB_TOKEN \
    --scope   ap,ar,gl,approvals

Prefer a config file? Most clients read an mcp.json:

~/.config/agent/mcp.json
{
  "servers": {
    "ledgerbeaver": {
      "url": "https://mcp.ledgerbeaver.com/mcp",
      "token": "$LB_TOKEN"
    }
  }
}

Keep your token secret. It carries your scopes. Set it as an environment variable (LB_TOKEN) rather than pasting it into a file you might commit. You can revoke and reissue tokens anytime from the Connect AI screen.

Per-client setup

The connection is the same everywhere — only the file location and field names differ. A few common clients:

Claude (Desktop, Code, Web)

Claude supports MCP natively. Add LedgerBeaver as a remote MCP server in your Claude settings, or drop it into your Claude Code config:

claude config (mcpServers)
{
  "mcpServers": {
    "ledgerbeaver": {
      "url": "https://mcp.ledgerbeaver.com/mcp",
      "headers": { "Authorization": "Bearer $LB_TOKEN" }
    }
  }
}

Cursor

Add the server to .cursor/mcp.json in your project (or your global Cursor config). Use the mcp.json shape above.

Codex (OpenAI), Gemini CLI, OpenCode & other MCP clients

Compatible MCP clients can connect with the published URL, token, and scopes. Point the client at https://mcp.ledgerbeaver.com/mcp and use the supported authentication flow.

Scope & tool reference

LedgerBeaver exposes its capabilities as MCP tools, grouped into four scopes. Request only the scopes your agent needs — tokens are scoped per-connection.

ScopeWhat your AI can do
ap
Payables
Read bills from the inbox, extract fields, detect duplicates, run three-way match against POs and receipts, code to the GL, and schedule approved payments.
ar
Receivables
Create and send customer invoices, track aging, run dunning / follow-up sequences, and record payments (Stripe + ACH).
gl
General Ledger
Read the chart of accounts, draft journal entries, reconcile bank transactions, and pull reports (P&L, balance sheet, cash flow, trial balance). GL postings are human-approved and enforced at the database.
approvals Surface items awaiting sign-off, route by threshold, and record approvals with reason codes. Your AI proposes; you approve.

Once connected, run a listTools call from your client to see the exact tool names and JSON schemas available to your token — that list is always the source of truth for what's callable.

Security & control

Questions? [email protected].