
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
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
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!