# Connect LightBilling to Your AI Agent (Universal MCP)

> Use your AI to manage subscriptions, send invoices, and track billing in LightBilling — and much more.

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

## Key Facts
- Software: LightBilling | Category: Other B2B Software (LightBilling) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Billing and invoice records, Session and router status, Customer messages; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=lightbilling | Guide: https://universalmcp.app/mcp/lightbilling
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 1 Read, 2 Write)
Perform 3 actions across billing and invoice records, session and router status, and customer messages. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Billing and invoice records (1):** Billing and invoice records (read)
- **Session and router status (1):** Session and router status (write)
- **Customer messages (1):** Customer messages (write)

## Example Prompts for LightBilling
- **Renewal check:** "Pull every LightBilling subscriber whose renewal charge failed this week, grouped by decline reason and plan."
- **Support triage:** "Summarize open LightBilling support tickets from subscribers with suspended PPPoE sessions, oldest first."
- **Revenue report:** "Show LightBilling monthly recurring revenue by ISP plan and the change versus last month in percent."
- **Draft dunning notice:** "Draft a payment-reminder email for LightBilling subscribers with failed renewals and hold it until I approve."
