# Connect LightTrail to Your AI Agent (Universal MCP)

> Use your AI to analyze data, run campaigns, and track leads in LightTrail — and much more.

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

## Key Facts
- Software: LightTrail | Category: Marketing & Analytics (LightTrail) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Web analytics, Session replays, Campaign drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/lighttrail | Guide: https://universalmcp.app/mcp/lighttrail
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across web analytics, session replays, and campaign drafts. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Web analytics (1):** Web analytics (write)
- **Session replays (1):** Session replays (write)
- **Campaign drafts (1):** Campaign drafts (write)

## Example Prompts for LightTrail
- **Channel attribution:** "Which LightTrail channels produced the most booked consultations in the last 30 days, and at what cost per visit?"
- **Drop-off replays:** "Summarize LightTrail session replays on the new-patient page, highlighting where visitors leave the form."
- **Heatmap insights:** "List the LightTrail heatmap hotspots on the homepage and the top three elements with the most clicks."
- **Draft campaign brief:** "Draft a campaign brief in LightTrail for next quarter, saved to documents and held for my approval."
