Skip to content
Grok

NestLens for Grok

io.github.mogretici/nestlens

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

client:Grok transport:stdio runtime:npm

Install NestLens in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

NestLens in other clients