# Connect M2Mlabs Mainspring to Your AI Agent (Universal MCP)

> Use your AI to track vehicles, monitor systems, and manage schedules in M2Mlabs Mainspring — and much more.

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

## Key Facts
- Software: M2Mlabs Mainspring | Category: Other B2B Software (M2Mlabs) | Auth: Encrypted API credentials or guided on-prem setup | Deployment: on-prem
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Device telemetry, Geofence rules, Config and dispatch; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=m2mlabs-mainspring | Guide: https://universalmcp.app/mcp/m2mlabs-mainspring
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across device telemetry, geofence rules, and config and dispatch. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Device telemetry (1):** Device telemetry (write)
- **Geofence rules (1):** Geofence rules (write)
- **Config and dispatch (1):** Config and dispatch (write)

## Example Prompts for M2Mlabs Mainspring
- **Silent units:** "In M2Mlabs Mainspring, list every vehicle with no GPS ping in the last 2 hours and its last known depot."
- **Geofence exits:** "In M2Mlabs Mainspring, summarize geofence exit events for Harbor Route 4 this week grouped by vehicle."
- **Device health:** "In M2Mlabs Mainspring, which trackers report firmware older than 3.2 and what is their last heartbeat?"
- **Draft dispatch note:** "In M2Mlabs Mainspring, draft a dispatch note for stale units TR-2207 for review before anything is sent."
