Skip to main content
Glama
Libra Logs MCP Server

Libra Logs MCP Server

Official
by exla-ai

Libra Logs MCP Server

Connect Claude Code, Cursor, OpenAI Codex, or any Model Context Protocol (MCP) client to Libra Logs with a scoped read-only key.

Instead of dumping thousands of ungrouped JSON lines into an LLM context window, Libra Logs groups production errors and silent HTTP 200 failures by affected customer account and returns plain-English findings backed by rerunnable log lines.

Libra Logs runs a hosted Streamable HTTP MCP endpoint at:

https://libra.exla.ai/logs/api/mcp

Generate a scoped read-only API key from https://libra.exla.ai/coding-agent or Settings, then register it in your user-level config (never inside a repository file that git could commit).

Claude Code

claude mcp add --transport http --scope user libra-logs https://libra.exla.ai/logs/api/mcp \
  --header "Authorization: Bearer YOUR_READ_ONLY_KEY"

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "libra-logs": {
      "url": "https://libra.exla.ai/logs/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_READ_ONLY_KEY"
      }
    }
  }
}

CLI One-Liner

npx libra-logs@latest mcp add --key YOUR_READ_ONLY_KEY

Related MCP server: sumo-mcp-readonly

Local stdio Bridge (For Legacy stdio-only MCP Clients)

If your MCP client only speaks stdio, run bin/libra-logs-mcp.mjs with LIBRA_LOGS_API_KEY:

{
  "mcpServers": {
    "libra-logs": {
      "command": "node",
      "args": ["/path/to/libra-logs-mcp/bin/libra-logs-mcp.mjs"],
      "env": {
        "LIBRA_LOGS_API_KEY": "YOUR_READ_ONLY_KEY"
      }
    }
  }
}

Exposed Read-Only Tools

  • whats_broken: Returns active customer-grouped production problems, affected tenant/account identifiers, plain-English explanations, and cited log lines.

  • search_logs: Runs structured queries across OpenTelemetry (/v1/logs), AWS CloudWatch, Heroku Logplex, and Supabase log streams without flooding agent context.

Inspect & Test Online

You can also inspect tool schemas and test the MCP handshake interactively using the Glama MCP Server Directory and MCP Inspector.

Documentation & Comparisons

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A read-only MCP server for the Auralogs logging platform, enabling AI agents to query production logs, search errors, and retrieve AI analyses without write access. It allows you to ask your coding assistant 'what's broken in production right now?' by connecting to your logs via a simple bearer auth key.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A read-only MCP server for querying Sumo Logic logs, enabling AI assistants to search and investigate application logs with opinionated tools and secure credential handling.
      5
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      A read-only Model Context Protocol server that lets an LLM search Graylog logs, trace a request across services, compute exact error counts and groupings, detect deploys, and rank root-cause hypotheses across Graylog 4.x–7.x. It masks sensitive fields before any log line leaves the machine and keeps site-specific settings in configuration.
      10
      51 PyPI
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Hosted, read-only MCP server that lets AI agents search and execute operations against the issues, logs, traces, spans, metrics, releases, and analytics of only the LogBrew projects a user explicitly approves through OAuth. It requires no installation—clients just add the hosted URL and sign in with the single read scope.
      5
      Apache 2.0