# Connect OpenLIT to Your AI Agent (Universal MCP)

> Use your AI to monitor performance, review costs, and analyze data in OpenLIT — and much more.

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

## Key Facts
- Software: OpenLIT | Category: DevOps & IT/Security (OpenLIT) | Auth: Encrypted API key or guided local/on-prem setup | Deployment: hybrid
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Trace data, Evaluations, Prompt library; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=openlit | Guide: https://universalmcp.app/mcp/openlit
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (15 actions: 11 Read, 4 Write)
Perform over 10 actions across tracing & instrumentation, prompts & guardrails, evals & quality, and cost & GPU monitoring. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Tracing & Instrumentation (5):** Search Agent Traces (read), Inspect Tool Call Spans (read), Trace LLM Calls (read), Instrument Application With OpenTelemetry (write), Review Token Usage (read)
- **Prompts & Guardrails (4):** Create Prompt Version (write), Browse Prompt Versions (read), Configure Guardrail Rule (write), Review Guardrail Violations (read)
- **Evals & Quality (3):** Run Hallucination Evaluation (write), Review Agent Eval Results (read), Compare Models Side by Side (read)
- **Cost & GPU Monitoring (3):** View Cost by Model (read), Track Cost per Agent Run (read), Monitor GPU Utilization (read)

## Example Prompts for OpenLIT
- **Latency triage:** "Rank OpenLIT traces by p95 latency and list the slowest agent tool calls from the past week."
- **Token cost review:** "Summarize OpenLIT token usage per model route and flag routes that grew over 20% this week."
- **Eval regressions:** "Show OpenLIT evaluation scores that dropped below 0.9 and the prompt versions linked to each."
- **Guarded prompt draft:** "Draft a revised system prompt for the refund agent in OpenLIT, held for team review before publishing."
