Cmdxray MCP Server

Offline MCP server: explains shell commands token-by-token and flags destructive ones for AI agents. This MCP entry surfaces a curated ranking/list from the project README rather than a classic multi-tool integration surface. It runs locally over stdio via the published package.

People who work with bash, command line and developer tools and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-23 · ★ 4 · #35 OF 221 MAINTAINED DOCUMENTATION · VERIFIED 2026-09-30

MIT · TypeScript servers · how we verify → /methodology

01 · Install Cmdxray

Claude Code

claude mcp add aurelio-nakamura-cmdxray -- npx -y cmdxray

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "aurelio-nakamura-cmdxray": {
      "command": "npx",
      "args": [
        "-y",
        "cmdxray"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

repo age created 2026-09-02 - young repo, little track record yet

license MIT - declared in the repository

npm package cmdxray - unscoped; check the name against the project README before installing

registry namespace io.github.aurelio-nakamura is GitHub-verified and matches the repo owner

03 · What Cmdxray can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v0.27.0 · 2026-09-19

cmdxray guard - stop yourself before rm -rf / · Add one line to your ~/.bashrc: · sh · eval "$(cmdxray guard bash)" · Now, right before a command the offline danger engine flags as destructive · actually runs (rm -rf…

v0.26.1 · 2026-09-19

the documented MCP config npx -y cmdxray-mcp fails with a 404 because cmdxray-mcp is a bin of the cmdxray package, not a package of its own. v0.26.1 adds an mcp subcommand to the main bin so the robust, copy-pasteable…

v0.26.0 · 2026-09-19

Adds a third MCP tool, lint_script, so an AI agent can safety-scan a whole shell script it just generated (multi-line text) in one call and get every destructive or risky command back with its line number - powered by…

04 · Who maintains Cmdxray

cmdxray is maintained by aurelio-nakamura. We track 2 MCP servers from aurelio-nakamura - 2 actively maintained, 6 combined GitHub stars, oldest repo from Aug 2026. Full record: all servers from aurelio-nakamura.

  1. Dataloupe Offline MCP server to explore CSV/JSON/Parquet/Excel: preview, query, diff, render interactive HTML ★ 2

05 · Facts

category
documentation - ranked #35 of 221 actively-maintained documentation servers as of 2026-09-30.
release cadence
10+ releases in the last 90 days (latest 2026-09-19)
registry
io.github.aurelio-nakamura/cmdxray (active, first published 2026-09-19 · 3 versions)
packages
npm:cmdxray

06 · Cmdxray FAQ

What is Cmdxray?

Offline MCP server: explains shell commands token-by-token and flags destructive ones for AI agents. This MCP entry surfaces a curated ranking/list from the project README rather than a classic multi-tool integration surface. It runs locally over stdio via the published package.

Is Cmdxray still maintained?

Yes - as of 2026-09-30, its last commit was 2026-09-23 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Cmdxray?

Run `npx -y cmdxray`. You can also paste the ready-made client config above.

Does Cmdxray run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Cmdxray

More documentation MCP servers · Python Docs MCP Server · Plesk Dev Docs · Beever Atlas · Docdex · Cartographer

More TypeScript MCP servers · Dataloupe · Ausca · NexusTrade Financial MCP · Auth0 MCP Server · AI Seo · see all