shell_cat
Concatenate and display file contents
Run a fixed set of inspection commands — ls, cat, grep, find, ps, df, netstat, dig, whois — as separate tools rather than through a general shell.
LABSCO SUMMARY
A request outside the named commands has nowhere to go, which is a different posture from a shell guarded by a deny list. The set leans towards inspection — listing, reading, searching, and reporting system and network state — and each command keeps its own flags through an args parameter. shell_ip is the one whose underlying command also changes things, since it manages routing, devices, interfaces and tunnels as well as showing them.
A shell surface split into one tool per command, covering file inspection, system state, hardware inventory and network lookups.
A host that provides the commands these tools wrap, and read access to whatever you point them at.
One command — npx -y @kevinwatt/shell-mcp
USE CASES
Processes, memory, disk and uptime together separate a leak from a full disk from a box that just rebooted.
Locating the files and searching inside them are separate commands, and reading one back confirms the match in context.
Two DNS tools, the socket table and the interface configuration cover the usual suspects without leaving the conversation.
Remote inventories go stale; the buses report what is physically attached right now.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
shell_catConcatenate and display file contents
shell_dateShow system date and time
shell_dfShow disk usage
shell_digDNS lookup utility
shell_echoDisplay text
shell_findSearch for files in a directory hierarchy
shell_freeShow memory usage
shell_grepSearch text patterns in files
shell_ipShow / manipulate routing, network devices, interfaces and tunnels
shell_lsList directory contents
shell_lspciList PCI devices
shell_lsusbList USB devices
shell_netstatNetwork connection information
shell_nslookupQuery DNS records
shell_psShow process status
shell_pwdShow current working directory
shell_uptimeShow system uptime
shell_wShow who is logged on and what they are doing
shell_whereisLocate the binary, source, and manual page files for a command
shell_whoisQuery WHOIS domain registration information
BEFORE YOU INSTALL
20 tools when we connected.
CONTEXT COST
Rated by the size of the 20 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"shell-mcp": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/shell-mcp"
]
}
}
}npx -y @kevinwatt/shell-mcp