# Agent Roast

> Agent Roast is an open-source MCP server for developer tools. Offline review that flags agent changes which weaken tests, assertions or CI. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows
- **Repository:** https://github.com/nari-ab/agent-roast
- **MCP Registry name:** io.github.Nari-Ab/agent-roast
- **Categories:** developer tools, security
- **Listing updated:** 2026-11-14

## About

agent-roast compares the before and after of a code change and reports edits that make a build pass by weakening the checks rather than fixing the code. Examples include loosened assertions, skipped or deleted tests, lowered coverage thresholds and CI steps allowed to fail.

It is deterministic and runs offline with no model or network. It can be used as a hook for coding agents, a Git hook or a pull request check, and any MCP-capable agent can call it as a read-only tool. When a check was weakened, the agent is sent back once to fix the code.

It is aimed at developers who let coding agents change repositories and want a guard against test tampering.

## Features

- **Before and after diffing:** Compares changed test and config files to spot weakened checks.
- **Agent hooks:** Hook installation for Claude Code, Codex, Cursor, Gemini CLI, Copilot and Factory Droid.
- **PR and CI check:** Runs as a pull request check or in any CI with SARIF output.
- **Rule set:** Rules for weakened assertions, skipped tests, lowered guards and trivial asserts.
- **Offline operation:** No model, tokens or network are involved.
- **Replay mode:** Shows what it would have reported about recent commits.

## Good for

- Stop coding agents from skipping failing tests
- Review uncommitted changes for weakened assertions
- Add a pull request check against lowered coverage thresholds
- Audit recent commits for test tampering
- Expose a read-only review tool to MCP agents

## Install

### Claude Code (Terminal)

```sh
claude mcp add agent-roast -- npx -y agent-roast
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-roast": {
      "command": "npx",
      "args": [
        "-y",
        "agent-roast"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-roast": {
      "command": "npx",
      "args": [
        "-y",
        "agent-roast"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agent-roast": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-roast"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-roast": {
      "command": "npx",
      "args": [
        "-y",
        "agent-roast"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-roast": {
      "command": "npx",
      "args": [
        "-y",
        "agent-roast"
      ]
    }
  }
}
```

## FAQ

### Does it use an AI model?

No. It is deterministic and offline.

### How do I try it?

Run npx agent-roast demo for a scripted example, or npx agent-roast to review uncommitted changes.

### What languages are covered?

JavaScript/TypeScript, Python and Go get full before/after comparison; skips and placeholder assertions also cover several other languages.

### What license is it under?

MIT.

### Is Agent Roast free?

Yes. Agent Roast is open source, so you can use and self-host it for free.

### How do I add Agent Roast to Claude Code?

Run this command in your terminal: claude mcp add agent-roast -- npx -y agent-roast

### What are the best alternatives to Agent Roast?

The closest alternatives to Agent Roast are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/agent-roast
