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.
05 · Facts
- repository
- github.com/aurelio-nakamura/cmdxray
- 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
Alternatives to Cmdxray
Maintained documentation servers if Cmdxray isn't the fit.
- Context7 Up-to-date code docs for any prompt ★ 62,547 · 2026-09-30
- Agent Skills Search Server Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server. ★ 25,779 · 2026-08-09
- Repowise Codebase intelligence for AI coding agents - graph, git history, docs, decisions, code health. ★ 7,110 · 2026-09-30
- GitLab MCP GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more. ★ 2,010 · 2026-09-28
- Microsoft Learn MCP Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs. ★ 1,917 · 2026-09-29
- Pg Aiguide Comprehensive PostgreSQL documentation and best practices, including ecosystem tools ★ 1,852 · 2026-09-30
Pairs well with
Servers that cover what Cmdxray doesn't - only shown when the pairing reason fits the companion.
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