# Connect RailsBilling to Your AI Agent (Universal MCP)

> One live connection for your AI, business software, and team.

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

## Key Facts
- Software: RailsBilling | Category: Finance, FinTech & Insurance (RailsBilling) | Auth: Direct read-only database login
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Subscriptions and plans, Invoices and charges, Dunning email drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/railsbilling | Guide: https://universalmcp.app/mcp/railsbilling
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across subscriptions and plans, invoices and charges, and dunning email drafts. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Subscriptions and plans (1):** Subscriptions and plans (write)
- **Invoices and charges (1):** Invoices and charges (write)
- **Dunning email drafts (1):** Dunning email drafts (write)

## Example Prompts for RailsBilling
- **Failed charges:** "List RailsBilling subscriptions with failed Stripe charges, sorted by amount and remaining retry attempts."
- **Renewal exposure:** "Summarize open renewal invoices in RailsBilling due in the next 14 days and their total unpaid value."
- **Churn risk:** "Show which RailsBilling plans were canceled or downgraded this month and the reasons recorded."
- **Draft dunning email:** "Draft a payment-update reminder for Harbor Retail's Pro plan in RailsBilling, saved as a draft only."
