# Connect KafkaTrace to Your AI Agent (Universal MCP)

> Use your AI to monitor performance, build dashboards, and track issues in KafkaTrace — and much more.

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

## Key Facts
- Software: KafkaTrace | Category: DevOps & IT/Security (Kafkatrace) | Auth: Guided on-prem connector setup | Deployment: on-prem
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Kafka trace data, Dashboard configuration, Alert rules; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/kafkatrace | Guide: https://universalmcp.app/mcp/kafkatrace
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across kafka trace data, dashboard configuration, and alert rules. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Kafka trace data (1):** Kafka trace data (write)
- **Dashboard configuration (1):** Dashboard configuration (write)
- **Alert rules (1):** Alert rules (write)

## Example Prompts for KafkaTrace
- **Lag investigation:** "Which consumer groups in KafkaTrace have lag above 1,000 messages, and which Jaeger traces show the slowest spans?"
- **Latency breakdown:** "In KafkaTrace, break down p95 latency per topic over the past 6 hours using the Prometheus dashboard."
- **Broker health:** "Summarize KafkaTrace broker and partition health for the orders cluster and flag any under-replicated partitions."
- **Draft alert rule:** "Draft a KafkaTrace alert rule for consumer lag over 5,000 for 10 minutes and queue it for on-call review first."
