What are the requirements to run CLI Command Explainer?
Node.js 18 or later is required. No API keys, no Ollama installation, and no configuration files are needed for the built‑in and man‑page tiers.

@zmwaiworld
基本信息
Know what every shell command does before you approve it.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"cmd-explain": {
"command": "npx",
"args": [
"-y",
"cmd-explain"
]
}
}
}Explains a CLI command in one sentence. Returns the explanation, risk level (low/medium/high), and parsed command structure.
CLI Command Explainer is an MCP server that intercepts every shell command an AI coding agent proposes to run and displays a plain-English explanation with a risk rating before the user approves or denies it. It works with Kiro, Cursor, VS Code, Windsurf, and Claude Code.
Run npx cmd-explain setup — the command auto-detects your IDE, installs the MCP server, and creates a pre‑command hook. Restart your IDE and every agent‑proposed shell command will be explained automatically. Manual install by adding the MCP configuration is also supported.
2>&1, || true, and command substitutionrm -rf / or curl … | sudo bashNode.js 18 or later is required. No API keys, no Ollama installation, and no configuration files are needed for the built‑in and man‑page tiers.
It uses three tiers checked in order: a built‑in dictionary (Tier 1, ~90% of agent commands), system man pages (Tier 2), and optional local AI via Ollama, OpenAI, or Anthropic (Tier 3). Tiers 1 and 2 are fully offline.
Low risk means read‑only commands with no side effects. Medium risk means state‑changing but reversible operations. High risk means destructive or irreversible actions. Unknown risk is applied to commands not recognized by any tier.
Setup and the dictionary work on Windows. Man‑page parsing (Tier 2) uses `--help` only; the other tiers work fully.
Run `npx cmd-explain uninstall`. This removes the MCP configuration and hook files from all detected IDEs cleanly.

Design review for UI code, inside your agent. quick_review checks the files you just changed in about ten seconds. review_files returns a 0-100 score and patches. verify_fixes confirms the fixes landed, free. review_url

SSH MCP server for AI agents: remote commands, file transfer, log search and server audits through OpenSSH.

Routebase keeps your API's design, docs, contract tests, mocks and monitoring in one living OpenAPI spec so they can't drift apart. Agents work on that same source of truth, under your team's permissions.

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.
Console, Backend and CLI to manage Capgo Instant update and Native build for Capacitor apps Build and upload to app store your mobile app
评论