# Connect Hapn to Your AI Agent (Universal MCP)

> Use your AI to track vehicles, schedule jobs, and monitor compliance in Hapn — and much more.

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

## Key Facts
- Software: Hapn | Category: Manufacturing & Supply Chain (Hapn) | 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 Live asset positions, Geofence and alert rules, Dispatch messages; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=hapn-gethapn | Guide: https://universalmcp.app/mcp/hapn-gethapn
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across live asset positions, geofence and alert rules, and dispatch messages. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Live asset positions (1):** Live asset positions (write)
- **Geofence and alert rules (1):** Geofence and alert rules (write)
- **Dispatch messages (1):** Dispatch messages (write)

## Example Prompts for Hapn
- **Geofence exits:** "In Hapn, list vehicles and equipment that left assigned job-site geofences during the last shift."
- **Idle asset check:** "Show Hapn units idle for over 45 minutes and their last known location on the Cedar Ridge site."
- **Route deviations:** "Summarize Hapn route deviations for box vans on Summit Logistics runs this week, sorted by distance."
- **Draft dispatch alert:** "Draft a dispatch message in Hapn for the crew lead to recheck excavator EX-07, held until approved."
