
Shell-Command-MCP
用于执行Shell命令的MCP服务器。
1
Github Watches
1
Github Forks
20
Github Stars
shell-command-mcp
MCP server for executing shell commands.
This project is sponsored by ChatWise, an all-in-one LLM chatbot with first-class MCP support.
Usage
Configure manually
# stdio server
npx -y shell-command-mcp
JSON config
{
"mcpServers": {
"shell-command": {
"command": "npx",
"args": ["-y", "shell-command-mcp"],
"env": {
"ALLOWED_COMMANDS": "cat,ls,echo"
}
}
}
}
Allowed commands
Use ALLOWED_COMMANDS
environment variable to explictly allow the commands that this server can run, separate each command by ,
. You can use *
to allow any command, but this is potentially dangerous.
License
MIT.
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Reviews

user_7Lz0kMbU
I've been using shell-command-mcp by egoist and it has been a game-changer. This tool simplifies running shell commands within a managed control panel, enhancing productivity and ease-of-use. Highly recommended for developers looking for efficient command execution. Check it out on GitHub!