# Connect Xledger to Your AI Agent (Universal MCP)

> Use your AI to manage accounting, create reports, and review costs in Xledger — and much more.

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

## Key Facts
- Software: Xledger | Category: ERP & Accounting (Xledger) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Ledger and journal data, Payables and bills, Draft close tasks; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/xledger | Guide: https://universalmcp.app/mcp/xledger
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across ledger and journal data, payables and bills, and draft close tasks. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Ledger and journal data (1):** Ledger and journal data (write)
- **Payables and bills (1):** Payables and bills (write)
- **Draft close tasks (1):** Draft close tasks (write)

## Example Prompts for Xledger
- **Open journal lines:** "In Xledger, list unposted journal lines by entity and account for the current close period."
- **Consolidation variance:** "In Xledger, compare consolidated revenue to entity totals and flag any variance above 0.5 percent."
- **AP aging exceptions:** "In Xledger, show vendor bills older than 30 days that still lack approval, grouped by department."
- **Draft close checklist:** "Draft a month-end checklist in Xledger for open entities and hold it until I approve the tasks."
