Skip to content
Cursor

diff mcp for Cursor

io.github.mrfentmen/diff-mcp

Compare two texts or files and show line changes locally. No network and no key.

client:Cursor transport:stdio runtime:npm

Install diff mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "diff-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/diff-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

diff mcp in other clients