Skip to content
Cursor

Code Lens for Cursor

io.github.j0hanz/code-lens

Gemini-powered MCP server for code analysis.

client:Cursor transport:stdio runtime:npm

Install Code Lens in Cursor

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

{
  "mcpServers": {
    "code-lens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@j0hanz/code-lens-mcp"
      ]
    }
  }
}

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

Code Lens in other clients