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
| Tool | What it returns |
|---|---|
scan | Summary 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_instructions | The AI fix plan in Markdown, most important tasks first. |
list_rules | Rule IDs with names and documentation links, for all tools or one. |
explain_rule | What 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 mcpCursor
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 mcpThings to ask your agent
- "Scan this project with RepoRefit and fix the high-severity findings."
- "Use RepoRefit to check our MCP settings for inline tokens."
- "Explain RepoRefit rule MD-002 and remove the duplicated instructions."
Safety
- Read-only: the server never writes, deletes or runs anything in the project.
- No network: nothing is uploaded and no request is made (the OSV dependency lookup is only in the web scanner, with consent).
- Secret values are masked in evidence, and the fix plan tells the agent never to print them.
- It reads only the folder the agent passes, and never follows symbolic links out of it.