# Connect Chainrails to Your AI Agent (Universal MCP)

> Use your AI to process payments, send invoices, and track billing in Chainrails — and much more.

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

## Key Facts
- Software: Chainrails | Category: Finance, FinTech & Insurance (Chainrails) | 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 Settlement and payment data, Customer payment details, Refund actions; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=chainrails | Guide: https://universalmcp.app/mcp/chainrails
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across settlement and payment data, customer payment details, and refund actions. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Settlement and payment data (1):** Settlement and payment data (write)
- **Customer payment details (1):** Customer payment details (write)
- **Refund actions (1):** Refund actions (write)

## Example Prompts for Chainrails
- **Settlement summary:** "Summarize Chainrails settlements by rail for last week, including fees, FX spread, and net amounts."
- **Failed payment review:** "List Chainrails failed payment link attempts this month with declines grouped by card and wallet."
- **Route performance:** "Compare Chainrails cross-chain routing success rates across networks for the past 30 days."
- **Draft refund notice:** "Draft a Chainrails refund notice for one failed transaction and save as draft only, pending your approval."
