Explains shell commands offline, annotating every flag, pipe and redirect and rating how dangerous the command is before an agent runs it.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add cmdxray -- npx -y cmdxray~/.codex/config.toml
[mcp_servers.cmdxray]
command = "npx"
args = ["-y", "cmdxray"]
# codex mcp add cmdxray -- npx -y cmdxray~/.cursor/mcp.json
{
"mcpServers": {
"cmdxray": {
"command": "npx",
"args": [
"-y",
"cmdxray"
]
}
}
}.vscode/mcp.json
{
"servers": {
"cmdxray": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cmdxray"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"cmdxray": {
"command": "npx",
"args": [
"-y",
"cmdxray"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"cmdxray": {
"command": "npx",
"args": [
"-y",
"cmdxray"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"cmdxray": {
"command": "npx",
"args": [
"-y",
"cmdxray"
]
}
}
}