Skip to content
Cursor

cmdxray for Cursor

io.github.aurelio-nakamura/cmdxray

Offline MCP server: explains shell commands token-by-token and flags destructive ones for AI agents.

client:Cursor transport:stdio runtime:npm

Install cmdxray in Cursor

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

{
  "mcpServers": {
    "cmdxray": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cmdxray"
      ]
    }
  }
}

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

cmdxray in other clients