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.

Runs locallyStarted by your editor, on your machine. scan reads files and sends nothing anywhere.
Same engineThe rules, scores and fix hints are the CLI's, at the same version.
Structured outputEach tool returns Markdown plus typed data that matches its output schema.

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.

path string, required
Absolute path of the directory to scan. It has to be inside the directory the server was started in.
ignore string[]
Glob patterns to skip.
minSeverity string
critical, warning or info: only list findings at this level or above.
categories string[]
Any of security, reliability, performance, ai-quality.
maxFindings 1 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.

url string, 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. 1.Your editor starts the server with npx -y prodlint-mcp and talks to it over stdio.
  2. 2.When you ask about your code, the assistant calls scan with the project's path.
  3. 3.prodlint runs its 52 rules on your machine and returns the score and the findings.
  4. 4.The assistant reads each finding's file, line and fix hint, and can apply the fix.
  5. 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”
scan only reads inside the directory the server was started in. Start it from the project: run claude mcp add in the project directory, or use a project-level config such as .cursor/mcp.json rather than a global one.
The server doesn't start
Check node --version is 18 or later, then run npx -y prodlint-mcp in 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/prodlint in the MCP registry.