MCP server
Run prodlint from inside your AI editor. Your assistant scans the project, reads the findings as data, and fixes them, without you leaving the conversation.
What it does
The server speaks the Model Context Protocol over stdio and offers two tools, both read-only: scan runs the same 52 checks as the CLI on a project directory, and scan-web scores a deployed site for AI-agent readiness.
scan reads files and sends nothing anywhere.Setup
Every client needs the same two things: the command npx and the arguments -y prodlint-mcp. Node 18 or later.
Claude Code
Run this in your project directory. prodlint is there in your next conversation.
Cursor, Windsurf, Claude Desktop
Add this to the client's MCP config: .cursor/mcp.json in your project for Cursor, mcp_config.json for Windsurf, claude_desktop_config.json for Claude Desktop.
{
"mcpServers": {
"prodlint": {
"command": "npx",
"args": ["-y", "prodlint-mcp"]
}
}
}VS Code
In .vscode/mcp.json. The key is servers, not mcpServers.
{
"servers": {
"prodlint": {
"command": "npx",
"args": ["-y", "prodlint-mcp"]
}
}
}Tools
scan
Scans a project directory and returns its score and findings, most severe first.
pathstring, required- Absolute path of the directory to scan. It has to be inside the directory the server was started in.
ignorestring[]- Glob patterns to skip.
minSeveritystringcritical,warningorinfo: only list findings at this level or above.categoriesstring[]- Any of
security,reliability,performance,ai-quality. maxFindings1 to 500- How many findings to list. Default 30. Critical findings are always listed in full.
Returns version, path, score, filesScanned, durationMs, categoryScores, summary (counts before filtering), matched, omitted and findings, each with a rule id, severity, category, file, line, column, message and fix.
scan-web
Scores a deployed site on the 14 Site Score checks. This one uses the network: it fetches the site you name, from your machine. Private and internal hosts are refused.
urlstring, required- The site to score, with or without https://.
Returns url, domain, score, grade, summary and checks, each with an id, name, status, points, maxPoints and details.
Example prompts
- “Run prodlint on this project”
- “Scan this project and fix the critical findings”
- “Show me only the security findings”
- “Score example.com for AI agents”
How it works
- 1.Your editor starts the server with
npx -y prodlint-mcpand talks to it over stdio. - 2.When you ask about your code, the assistant calls
scanwith the project's path. - 3.prodlint runs its 52 rules on your machine and returns the score and the findings.
- 4.The assistant reads each finding's file, line and fix hint, and can apply the fix.
- 5.Ask it to scan again to confirm the finding is gone.
If it doesn't work
- “Path must be within the current working directory”
scanonly reads inside the directory the server was started in. Start it from the project: runclaude mcp addin the project directory, or use a project-level config such as.cursor/mcp.jsonrather than a global one.- The server doesn't start
- Check
node --versionis 18 or later, then runnpx -y prodlint-mcpin a terminal. It should sit there waiting for input, with no output; press Ctrl+C to stop it. - Where it's published
- prodlint-mcp on npm, released together with the scanner, and
io.github.prodlint/prodlintin the MCP registry.