LocalFree

cmdxray MCP server

aurelio-nakamura/cmdxray

Offline safety gate for agent shell commands: rates each command as danger, caution or none and explains every flag, pipe, redirect and subshell.

5 GitHub stars440 npm downloads / month

Install cmdxray in Claude Code

Claude Code
claude mcp add cmdxray -- npx -y cmdxray
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "cmdxray": {
      "command": "npx",
      "args": [
        "-y",
        "cmdxray"
      ]
    }
  }
}

Frequently asked questions

What does the cmdxray MCP server do?

Offline safety gate for agent shell commands: rates each command as danger, caution or none and explains every flag, pipe, redirect and subshell.

Is the cmdxray MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does cmdxray run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add cmdxray to Claude Code?

Run: claude mcp add cmdxray -- npx -y cmdxray

More security & identity MCP servers

View all