Code Reviewer Fixer Agent MCP Server

This AI agent analyzes code repositories, detects potential security vulnerabilities, reviews code quality, and suggests fixes based on Sentry error

Local serverstdioPython

What is the Code Reviewer Fixer Agent MCP Server?

This AI agent analyzes code repositories, detects potential security vulnerabilities, reviews code quality, and suggests fixes based on Sentry error logs using

The short version

21-Day Agent Series: Day 11 AGENT : AI Code Review & Issue Fixer

The tools it exposes

The server publishes 3 tools. What each one is for:

  • ReDoc — http://127.0.0.1:8000/redoc
  • Prerequisites — The Prerequisites tool exposed by this server
  • Steps — 3. Create a .env file in the root directory and configure it as follows:

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What it needs from you

Configuration is passed through the environment: GITHUB_PERSONAL_ACCESS_TOKEN, AZURE_OPENAI_API_KEY, YOUR_GITHUB_TOKEN, SENTRY_AUTH_TOKEN, YOUR_SENTRY_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Python 3.9 or higher - Git - Virtual environment (recommended)

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

How to install the Code Reviewer Fixer Agent MCP Server

"mcpServers": {
  "github": {
    "command": "npx",
    "args": ["-y", "@modelcontextprotocol/server-github"],
    "env": {
      "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
    }
  },
  "sentry": {
    "command": "python",
    "args": ["-m", "mcp_server_sentry", "--auth-token", "YOUR_SENTRY_TOKEN"]
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.9 or higher - Git - Virtual environment (recommended)
VariableDescriptionRequired
GITHUB_PERSONAL_ACCESS_TOKENCredential the server authenticates with.Yes
AZURE_OPENAI_API_KEYCredential the server authenticates with.Yes
SENTRY_AUTH_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Code Reviewer Fixer Agent to ReDoc.”
  • “Use Code Reviewer Fixer Agent to Prerequisites.”
  • “Use Code Reviewer Fixer Agent to Steps.”

Frequently asked questions

Python 3.9 or higher, Git, a virtual environment (recommended), and Node.js for MCP.