# opendrs MCP server

> Analyzes pull request blast radius and risk scores using git history to enable safe auto-approval of low-risk code changes.

- Repository: https://github.com/error-path/opendrs
- Page: https://hostedmcp.org/servers/error-path/opendrs
- Transport: stdio
- Stars: 3
- License: MIT
- Latest version: 0.5.2

## Install

### Claude Code

```sh
claude mcp add opendrs -- npx -y @error-path/opendrs
```

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

```json
{
  "mcpServers": {
    "opendrs": {
      "command": "npx",
      "args": [
        "-y",
        "@error-path/opendrs"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "opendrs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@error-path/opendrs"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"opendrs","type":"stdio","command":"npx","args":["-y","@error-path/opendrs"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "opendrs": {
      "command": "npx",
      "args": [
        "-y",
        "@error-path/opendrs"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add opendrs -- npx -y @error-path/opendrs
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.opendrs]
command = "npx"
args = ["-y", "@error-path/opendrs"]
```

### Gemini CLI

```sh
gemini mcp add -s user opendrs npx -- -y @error-path/opendrs
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "opendrs": {
      "command": "npx",
      "args": [
        "-y",
        "@error-path/opendrs"
      ]
    }
  }
}
```

## FAQ

### What tools are available in the MCP server?

The MCP server provides tools for scoring diffs, explaining file risk, listing hotspots, and suggesting reviewers.

### How can I use opendrs to auto-approve pull requests?

You can set a policy where PRs scoring below a certain threshold and passing an AI review are automatically approved and sent to the merge queue.

### Does opendrs require an API key to score a branch?

No, you can score your current branch against the default branch without any configuration or API key.
