AI agents (MCP)
Let your AI agent debug production, safely
Connect Claude Code, Cursor or any MCP client to VitalRix. Your agent reads the open incident, the logs, traces and stack traces around it and the last deploy, finds the cause in your code and proposes a fix. It can even set up APM, logs, real user monitoring, pod alerts and SLOs for a project.
4 min read7 sectionsUpdated
On this page
From alert to fix in one conversation
- An incident opens. A check fails, or an error rate jumps after a deploy.
- Ask your agent. "What is broken in VitalRix right now? Find the cause."
- It gathers the facts. The incident, the failing endpoint's traces, the error's stack trace and release, the log lines of that trace, and the deploy just before.
- It fixes your code. Working in your repository, the agent proposes a change. VitalRix never sees or changes your code.
- It closes the loop, if you allow it. With your confirmation, it adds the cause to the incident and resolves it once the fix is out.
claude mcp add --transport http vitalrix https://api.vitalrix.com/api/v1/mcp
# the browser opens: sign in to VitalRix and choose Allow| Area | Tools |
|---|---|
| Incidents | list_incidents, get_incident |
| Monitors and alerts | list_monitors, get_monitor, list_firing_alerts |
| Logs, traces and errors | summarize_logs, search_logs (pages through every line), list_traces, get_trace, list_errors, get_error |
| Metrics and releases | query_metric, list_deployments |
| Reliability and people | list_slos, who_is_on_call |
| Set up a project (only when allowed) | get_instrumentation, get_setup_template, plan_setup, apply_setup |
| Incident changes (only when allowed) | acknowledge_incident, resolve_incident, acknowledge_alert |
Built for production data
Giving an AI model your telemetry needs more care than giving it a search box. These protections are on for every organization.
Off until you turn it on
MCP access is off for every organization. Only a signed-in person allowed to change organization settings can turn it on; an API key never can, so an agent cannot give itself more access.
Least privilege
You sign in and approve each app in your browser (OAuth with PKCE); it gets a key with no more than your own permissions and sees only the tools those cover. Every call is checked again by the service that owns the data, exactly as in the app.
Read-only by default
Incident changes and project setup are separate switches. Setup applies only a file you previewed, and never keys, integrations with secrets, people, roles or single sign-on. Nothing can be deleted.
Prompt injection guarded
Logs and errors contain text written by others. Results are fenced as untrusted data with a one-time marker, and the agent is told never to follow instructions inside them.
Secrets masked
Tokens, passwords, API keys, JWTs, cloud and private keys, card numbers and credentials in URLs are masked before results leave VitalRix. Email and IP addresses too, unless you choose otherwise.
Every call audited
Each tool call is recorded under its key, with a per-key rate limit. Revoke the key and access ends immediately.
Which AI tools work with it?
Any client that supports the Model Context Protocol over HTTP, including Claude Code, Claude Desktop, Cursor and others. Add the server address; the first time it connects you sign in to VitalRix in your browser and choose Allow. Clients without browser sign-in can use an API key instead.
Can it set up a whole project?
Yes, with setup allowed. The agent adds the OpenTelemetry, logging, infra agent and RUM code to your project, then writes a setup file for monitors, alerts, SLIs, SLOs, SLAs, RUM sites with session replay, status pages and dashboards, shows you the preview and applies it. You create the ingest key yourself and keep it in an environment variable.
Can the agent change my code or servers?
Not through VitalRix: it has no access to them. The agent works on your code in your own environment, with your approval. VitalRix only provides the facts and, if you allow it, incident updates.
Where does my data go?
Tool results go to the AI provider your agent uses. Secrets are always masked first and personal data by default, but no masking recognises every kind of sensitive data in free-form logs, so check your data policy before turning access on.
Does it cost extra?
No. MCP access is part of every plan, including Free. Each key is limited to 60 tool calls a minute.
Check it now, free
- MTTR and MTBF calculator: MTTR, MTBF, MTTD, MTTA and availability.
Related reading
- Observability maturity model: An observability maturity model in five levels, from reactive firefighting to SLO-driven operations, with signs of each level and the next steps to improve.
- What is TTFB (time to first byte)?: Time to first byte explained: what TTFB measures, the 0.8 second threshold, the phases that add up to it, how to measure it and how to cut it.
- What is AI incident response?: How AI helps during incidents: gathering evidence, summarizing what changed, drafting updates and postmortems, plus the guardrails that keep it trustworthy.
- 500 Internal Server Error: how to find the cause: A 500 error means your code failed. Find the exception behind it fast with logs, traces and error tracking, and learn how to prevent repeats.
- Incident response plan: a template for software teams: An incident response plan for software teams: detection, triage, roles, communication, mitigation and postmortems, with a template you can adapt.
- How to reduce TTFB (server response time): Practical ways to reduce time to first byte: edge caching, fewer redirects, faster queries, warm runtimes and closer servers, in order of impact.
Give your agent the context to fix things
Create a free account, turn on AI access in Settings and connect Claude Code or Cursor in a minute.