Tools
Developer tools
English

RepoRefit / Developer tools

RepoRefit MCP server

Your coding agent can call RepoRefit directly: scan the project, read each finding with its rule, file and line, and get a fix plan, without leaving the chat.

What it is

An MCP server that runs on your own machine over stdio, started by your agent with reporefit mcp. It uses the same engine as the web scanner and the CLI.

Tools

ToolWhat it returns
scanSummary and findings for a folder (rule, severity, confidence, file, line, masked evidence, fix, how to verify, docs link). Options: tool, lang, max_findings.
generate_fix_instructionsThe AI fix plan in Markdown, most important tasks first.
list_rulesRule IDs with names and documentation links, for all tools or one.
explain_ruleWhat a rule checks, why it matters and how to fix it.

Claude Code

Add the server once from a terminal:

claude mcp add reporefit -- npx -y github:reporefit/action mcp

Cursor

Add this to .cursor/mcp.json in your project (or the global Cursor settings):

{
  "mcpServers": {
    "reporefit": { "command": "npx", "args": ["-y", "github:reporefit/action", "mcp"] }
  }
}

Codex

Add this to ~/.codex/config.toml:

[mcp_servers.reporefit]
command = "npx"
args = ["-y", "github:reporefit/action", "mcp"]

Without npm

Any MCP client that can start a command can run the bundled file directly:

# Without npm: point the client at the bundled file from github.com/reporefit/action
node /path/to/reporefit/dist/reporefit.mjs mcp

Things to ask your agent

Safety