Production Debugging with Claude Code, Cursor, and Log MCP
Pasting five lines of a stack trace into a chat window hides which deploy started the bug and how many customers are hit. Read-only log MCP fixes that in 30 seconds.
Read-only
ll_rd_* scoped keys, revocable anytime
30 sec
Drop-in HTTP MCP config
$20/mo
MCP included on every Libra plan
Key takeaway
Connect Claude Code, Cursor, or Codex to Libra Logs using a scoped read-only MCP key (ll_rd_*). Your agent gets pre-grouped customer failures and exact log lines without any write access to production.
Why copy-pasted stack traces make coding agents write bad patches
Without deploy timing, upstream 429s, and customer blast radius, coding agents add defensive null checks around symptoms while leaving the real bug live.
Wire Libra Logs MCP into Claude Code, Cursor, or Codex
Generate a read-only key in Settings (or on /coding-agent) and add one block to .mcp.json.
{
"mcpServers": {
"libra-logs": {
"type": "http",
"url": "https://libra.exla.ai/logs/api/mcp",
"headers": {
"Authorization": "Bearer ll_rd_your_readonly_key"
}
}
}
}The four-step grounded fix loop
Use this workflow so every AI-authored fix is backed by real production evidence:
- 1. Query whats_broken: Ask Claude Code which customers and endpoints regressed in the last 24 hours.
- 2. Diff the matching deploy: Compare the first-seen timestamp against git log to pinpoint the introducing PR.
- 3. Write a failing test first: Reproduce the exact input shape from the cited log line in Vitest or pytest.
- 4. Verify post-deploy: Re-query search_logs after deploy to confirm zero new occurrences for those customers.
Simple pricing · 30-day free trial
Stop paying per indexed log event. Group bugs by customer instead.
$20/mo
1-2 employees · up to 25 GB
$150/mo
3-9 employees · up to 100 GB + Slack alerts
10+ staff
We beat your Datadog/Sentry bill