执行白名单内的 shell 命令,带资源与超时限制。
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add shell-kevinwatt -- npx -y @kevinwatt/shell-mcp~/.codex/config.toml
[mcp_servers.shell-kevinwatt]
command = "npx"
args = ["-y", "@kevinwatt/shell-mcp"]
# codex mcp add shell-kevinwatt -- npx -y @kevinwatt/shell-mcp~/.cursor/mcp.json
{
"mcpServers": {
"shell-kevinwatt": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/shell-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"shell-kevinwatt": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kevinwatt/shell-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"shell-kevinwatt": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/shell-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"shell-kevinwatt": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/shell-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"shell-kevinwatt": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/shell-mcp"
]
}
}
}