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 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:
# 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:
{
"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:
{
"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.
| Scope | What your AI can do |
|---|---|
apPayables |
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. |
arReceivables |
Create and send customer invoices, track aging, run dunning / follow-up sequences, and record payments (Stripe + ACH). |
glGeneral 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
- You stay in control. Conservative Mode keeps write actions gated: your AI proposes, a human approves what crosses the threshold. The rest flows.
- Scoped tokens. Each connection only gets the scopes you grant, and you can revoke a token at any time.
- We never see your model traffic. Your AI runs on your provider (Anthropic, OpenAI, whoever). LedgerBeaver only sees the tool calls and their results.
- Tamper-evident audit trail. AR, AP, and GL records are SHA-256 hash-chained, so every action is recorded and verifiable.
Questions? [email protected].
