Shell Command Executor

Provides a secure bridge for executing shell commands on the host system with automatic environment detection, supporting multiple

mkusaka 8 ↓ 6k
Claude CodeClaude DesktopGeneric
View source ↗

MCP Shell Server provides a secure bridge for AI assistants to execute shell commands on the host system through a standardized interface. Developed by mkusaka, it supports various shells (bash, zsh, powershell, cmd) across different operating systems with automatic detection of the user's environment. The server exposes a single 'shell_exec' tool for command execution and several system information resources including hostname, platform, and user details. It features comprehensive error handling, logging capabilities, and configurable shell selection via command-line options, making it particularly valuable for AI agents that need to perform system operations or automate tasks without leaving the conversation interface.

Source

Repository: https://github.com/mkusaka/mcp-shell-server

Maintain Shell Command Executor?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

Shell Command Executor on getagentictools
[![Shell Command Executor on getagentictools](https://getagentictools.com/badge/mcp/mkusaka-mcp-shell-server.svg)](https://getagentictools.com/mcp/mkusaka-mcp-shell-server?ref=badge)