# Connect LedgerSMB to Your AI Agent (Universal MCP)

> Use your AI to manage accounting, track billing, and enter orders in LedgerSMB — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http ledgersmb https://api.universalmcp.app/mcp/ledgersmb`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/ledgersmb` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "ledgersmb", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: LedgerSMB | Category: ERP & Accounting (LedgerSMB) | Auth: Encrypted API credentials or guided self-hosted setup | Deployment: self-hosted
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Ledger and AR records, Vendor and bill data, Reminder drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=ledgersmb | Guide: https://universalmcp.app/mcp/ledgersmb
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (14 actions: 3 Read, 11 Write)
Perform over 10 actions across sales & invoicing, general ledger, receivables & payables, and inventory & fixed assets. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Sales & Invoicing (4):** Create Sales Invoice (write), Create Sales Order (write), Create Quotation (write), Email Invoice To Customer (write)
- **General Ledger (4):** Post General Ledger Transaction (write), Run Trial Balance (read), Allocate Costs To Cost Center (write), Export Report To CSV (read)
- **Receivables & Payables (3):** Record Customer Payment (write), Enter Vendor Bill (write), Review Open Receivables (read)
- **Inventory & Fixed Assets (3):** Adjust Inventory Stock (write), Register Fixed Asset (write), Run Asset Depreciation (write)

## Example Prompts for LedgerSMB
- **AR aging detail:** "List LedgerSMB open invoices by customer with aging buckets for 0 to 30, 31 to 60, and over 60 days."
- **Payables due:** "Which vendor bills in LedgerSMB are due in the next 14 days, grouped by payment terms and vendor name?"
- **Trial balance check:** "Compare LedgerSMB general ledger balances for the last closed month against the trial balance report totals."
- **Draft payment reminder:** "Draft a payment reminder email for INV-20417 in LedgerSMB, saved as a draft for my review before sending."
