Skip to content
Cursor

NestLens for Cursor

io.github.mogretici/nestlens

Lets an agent read what NestLens recorded in a NestJS app: requests, queries, exceptions and logs.

client:Cursor transport:stdio runtime:npm

Install NestLens in Cursor

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "nestlens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nestlens-mcp"
      ],
      "env": {
        "NESTLENS_HEADERS": "<NESTLENS_HEADERS>",
        "NESTLENS_MCP_ALLOW_WRITE": "<NESTLENS_MCP_ALLOW_WRITE>"
      }
    }
  }
}

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

NestLens in other clients