Most developers have been burned by AI coding agents that hallucinate fixes based on incomplete context. The typical workflow involves pasting a stack trace into a chat window and praying the model doesn't break something else. LogBrew, an error tracking platform, has released a hosted Model Context Protocol (MCP) server at https://logbrew.co/mcp that aims to solve this by giving agents direct, read-only access to production telemetry. The goal is simple: provide the agent with the same evidence a senior engineer would look atβ€”frequency of errors, specific release versions, request payloads, and pre-crash logsβ€”before it attempts to write a single line of code.

Minimal Setup for Major Clients

The integration requires no local installation. For users of Claude Code version 2.1.300 or later, the connection is established via the command line using claude mcp add --transport http logbrew https://logbrew.co/mcp followed by an OAuth login flow. Cursor users can configure the server by adding a specific JSON block to their ~/.cursor/mcp.json file, while Codex users utilize a similar command-line interface. For clients that lack native OAuth support, LogBrew offers a fallback using project read keys sent as Bearer tokens, ensuring compatibility with a wider range of tooling.

Strict Permissions and Safety Rails

By default, the MCP connection operates with a strict read-only scope. This allows the agent to query issues, logs, traces, spans, metrics, and releases, but prevents any accidental mutations to the production state. If a developer wants the agent to perform triage actions like resolving or assigning issues, they must explicitly enable write permissions during authorization. Even then, destructive actions such as archiving an issue trigger a two-step confirmation process. The server returns a preview of the change, and the agent must execute a second call within five minutes to finalize the action, with all changes logged for auditability.

Streamlined Tooling and Prompt Engineering

LogBrew deliberately limits the server to two core tools: search and execute. The search tool allows the agent to discover available operations, while execute runs them and returns structured data. This design removes the need for developers to manually paste tool names or field lists into prompts. Instead, users can describe the investigation task and its constraints. A recommended prompt pattern involves asking the agent to investigate the newest unresolved issue, read its associated logs and traces, and report the likely cause without changing any code until the diagnosis is confirmed.

Key Takeaways

  • LogBrew's hosted MCP server enables AI agents to access real-time production telemetry without local installation.
  • Default permissions are read-only, preventing agents from accidentally modifying production states or configurations.
  • Destructive actions require a two-step confirmation process with a five-minute window to mitigate hallucinated commands.
  • The server exposes only two tools (search and execute), simplifying prompt engineering and reducing token usage.

The Bottom Line

Giving AI agents blind write access to production codebases is a recipe for disaster. LogBrew's approach of enforcing read-only telemetry access first, followed by human-verified write actions, is the only sane way to integrate LLMs into critical debugging workflows.