
egoist/shell-command-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
쉘 명령 실행을 위한 MCP 서버.
개요
쉘 명령 실행을 위한 MCP 서버. 이 프로젝트는 ChatWise, 일류 MCP 지원을 가진 올인원 LLM chatbot에 의해 후원됩니다. ALLOWED COMMANDS 환경 변수를 사용하여 이 서버가 실행할 수 있는 명령을 허용할 수 있습니다. 어떤 명령을 허용하기 위해 *를 사용할 수 있지만, 이것은 잠재적으로 위험합니다.
개요(AI 번역)
쉘 명령 실행을 위한 MCP 서버.
이 프로젝트는 ChatWise, 일류 MCP 지원을 가진 올인원 LLM chatbot에 의해 후원됩니다.
사용법
수동으로 구성
JSON 설정
허용된 명령
ALLOWED_COMMANDS] 환경 변수를 사용하여 이 서버가 실행할 수 있는 명령을 허용하고, ,로 각 명령을 분리할 수 있습니다. 어떤 명령을 허용하기 위해 *를 사용할 수 있지만, 이것은 잠재적으로 위험합니다.
라이센스
사이트맵.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
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.
설치
npx -y shell-command-mcp설정
{
"mcpServers": {
"shell-command": {
"command": "npx",
"args": ["-y", "shell-command-mcp"],
"env": {
"ALLOWED_COMMANDS": "cat,ls,echo"
}
}
}
}