How we build and evaluate our MCP server for SRE agents
ClickHouse's open-source hdx-evals framework benchmarks MCP servers for SRE agents. It seeds deterministic synthetic telemetry (tens of millions of spans and logs with planted anomalies and distractors) into ClickHouse and runs sandboxed Claude Code agents against each MCP/model combination. Grading combines weighted regex checks with proximity-based negative checks for distractors (40%), a blinded LLM judge (60%), and a rate-based penalty for agent-caused tool errors. Five scenarios cover root cause, latency regression, Simpson's-paradox segmentation, noise reduction and no-incident health checks. Against a raw SQL ClickHouse MCP, the higher-level ClickStack MCP gave 18% more accurate outcomes, 26% fewer tool calls and 2.4x more consistent results.
Related posts
- Announcing the Managed ClickStack MCP Server
ClickHouse mediumAdept
ClickStack's MCP server, which exposes observability-specific investigation tools for logs, metrics and traces to agents like Claude Code, Cursor and Codex, is now available in Managed ClickStack on ClickHouse Cloud with OAuth and per-service dedicated compute. Semantic tools beat raw SQL generation: internal benchmarks show 25% fewer tool calls, 2.5x more consistency and roughly 20% higher eval scores than the generic ClickHouse MCP. The event patterns tool, for example, samples matching events, clusters them with Drain3 in the MCP layer and extrapolates counts, keeping query cost fixed instead of scanning the full dataset. The server also exposes orchestration tools so agents can persist investigations as dashboards and saved searches, while SQL remains available as an escape hatch.
- Open House observability announcements: MCP server, AI Notebooks, and ClickStack Cloud
ClickHouse easyNovice
ClickHouse unveiled three observability updates: ClickStack Cloud, a serverless managed OpenTelemetry endpoint now in private preview; general availability of Managed ClickStack for teams that want control over ingestion and sizing; and AI Notebooks in beta, which turn incident investigations into branching, editable, shareable workspaces. A new open-source ClickStack MCP server exposes intent-level observability tools such as log pattern trends, outlier attribute correlation and slow-trace inspection, along with dashboard and search management, so external agents need not generate raw SQL. In internal benchmarks against the generic ClickHouse MCP, these tools cut tool calls by 25%, raised consistency 2.5x and improved eval scores by about 20%, while raw SQL stays available as an escape hatch. A Docker all-in-one container and a Claude Code connection command make it easy to try locally.
- How we built a real-world evaluation platform for autonomous SRE agents at scale
Datadog Engineering mediumAdeptDatadog built a replayable offline evaluation platform for Bits Investigation, its autonomous SRE agent, after discovering that feature changes improving one investigation type silently regressed others. Each evaluation label pairs a ground-truth root cause with a world snapshot of the telemetry queries available at incident time. Labels are generated from customer feedback, and Bits itself drafts the root cause analyses for human review, which raised label creation rate by an order of magnitude and cut validation time per label by over 95%. Deliberately noisy snapshots that include unrelated but nearby components lowered pass rates by about 11% but made results predictive of production, and segmenting labels by technology, problem type and difficulty lets the team catch cross-area regressions.
- Building Investigations: what it takes to build an AI SRE
incident.io mediumAdeptBuilding a reliable AI SRE took incident.io two years, far longer than the first promising prototype suggested, and the hard work sat in four areas around the model. Accuracy is measured by backtesting against past incidents frozen in time, where the main difficulty is keeping future information (fix PRs, post-mortems, root-cause messages) from leaking into the inputs. The harness fans out across data sources and uses an adversarial agent to challenge each hypothesis; its findings data model went through five versions, from free-form essays to evidence-backed, discountable records written in waves. Heads-up messages must pass layered mechanical checks, 'vibe' checks and tone tuning, and are LLM-graded for novelty and accuracy. Telemetry queries are summarized and graphed for the agent, and a nightly 'Explore' process re-validates stored memories so they stay correct as the organization changes.
- Your AI SRE needs better observability, not bigger models.
ClickHouse mediumAdept
AI SRE copilots fail at root cause analysis mainly because of their data, not their models: legacy inverted-index observability stacks keep only 7-14 days of logs, drop high-cardinality fields like request and user IDs, answer queries slowly, and often charge per query. ClickHouse's own tests found an agent issues 6-27 queries per investigation and that even GPT-5 could not reliably find root causes without better context. The proposed fix is a columnar OLAP substrate with months of full-fidelity telemetry, sparse primary indexes, fast vectorized queries and standard SQL that LLMs already know. The reference architecture adds OpenTelemetry ingestion, logs, metrics and traces in MergeTree tables, and context tables for deployments and feature flags, with humans approving every action instead of auto-remediation.