# Connect Lattice Runtime to Your AI Agent (Universal MCP)

> Use your AI to build software, monitor systems, and audit security in Lattice Runtime — and much more.

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

## Key Facts
- Software: Lattice Runtime | Category: AI, Data & Automation (Lattice Runtime) | 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 Workflow run history, Audit ledger, Retry and restart actions; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=lattice-runtime | Guide: https://universalmcp.app/mcp/lattice-runtime
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across workflow run history, audit ledger, and retry and restart actions. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Workflow run history (1):** Workflow run history (write)
- **Audit ledger (1):** Audit ledger (write)
- **Retry and restart actions (1):** Retry and restart actions (write)

## Example Prompts for Lattice Runtime
- **Failed run triage:** "In Lattice Runtime, list every failed Temporal workflow run from today with its error class and retry count."
- **Governance gate audit:** "Show Lattice Runtime governance gate decisions and the audit ledger entries behind each blocked agent action this week."
- **Agent latency report:** "Summarize p95 run duration by agent in Lattice Runtime for the past 7 days, flagging any agent over 60 seconds."
- **Guarded retry draft:** "Draft a retry plan for the 2 failed Lattice Runtime runs and hold it for approval before any run is restarted."
