shell-command-mcp
@egoist
About shell-command-mcp
MCP server for executing shell commands.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"shell-command-mcp": {
"command": "npx",
"args": [
"-y",
"shell-command-mcp"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is shell-command-mcp?
shell-command-mcp is an MCP server for executing shell commands, sponsored by ChatWise.
How to use shell-command-mcp?
Configure the server via JSON using the command npx -y shell-command-mcp. Use the ALLOWED_COMMANDS environment variable to explicitly allow commands (comma-separated) or * to allow any command.
Key features of shell-command-mcp
- Executes shell commands via an MCP server.
- Restricts commands using the
ALLOWED_COMMANDSenvironment variable. - Supports wildcard
*to allow any command (potentially dangerous). - Sponsored by ChatWise.
- Simple stdio-based transport.
Use cases of shell-command-mcp
- Allowing an LLM to run basic shell commands like
ls,cat, andecho. - Integrating shell command execution into MCP-compatible applications.
FAQ from shell-command-mcp
What does shell-command-mcp do?
It is an MCP server for executing shell commands.
How can I restrict which commands are allowed?
Set the ALLOWED_COMMANDS environment variable with a comma-separated list of allowed commands. Use * to allow any.
Is it safe to allow all commands?
Allowing all commands with * is potentially dangerous.
How do I run shell-command-mcp?
Execute npx -y shell-command-mcp from the command line. You can also configure it in a JSON configuration file under mcpServers.
Frequently asked questions
What does shell-command-mcp do?
It is an MCP server for executing shell commands.
How can I restrict which commands are allowed?
Set the `ALLOWED_COMMANDS` environment variable with a comma-separated list of allowed commands. Use `*` to allow any.
Is it safe to allow all commands?
Allowing all commands with `*` is potentially dangerous.
How do I run shell-command-mcp?
Execute `npx -y shell-command-mcp` from the command line. You can also configure it in a JSON configuration file under `mcpServers`.
Basic information
More Developer Tools MCP servers
Grafana MCP server
grafanaMCP server for Grafana
Huoshan Test
volcengineOpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
Vibgrate MCP
VibgrateQuery your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up
Comments