Self-heal (MCP)
Overview

Self-heal overview

Veralith doesn't just tell you an answer was wrong — it can get the fix opened. When failures cluster into a heal card, a coding agent connected over MCP (Model Context Protocol) reads the card, applies the change in your repository, and opens a pull request for your review.

The idea

Veralith never sees your codebase. Your agent does. So Veralith exposes the diagnosis and the recommended fix as MCP tools, and the agent — running inside your repo — does the editing.

failure cluster → heal card (with a concrete fix)
      → agent reads it over MCP
      → agent edits your repo + opens a PR
      → you review & merge  → card resolved

What you need

  1. A project with heal cards (see Heals).
  2. A coding agent that speaks MCP — Claude Code, Cursor, or Codex.
  3. Your Veralith API key wired into the agent. See Connect your agent.

Next