script-mcp
0
The Script Tool allows users to execute command line scripts across different platforms safely through the Model Context Protocol. It includes features like timeout protection, output capture, and interpreter support.
Script Tool
A tool for executing command line scripts through MCP.
Features
- Execute command line scripts safely
- Support for different interpreters
- Timeout protection
- Output and error capture
- Cross-platform support (Linux, macOS, Windows)
Installation
There are several ways to install the Script Tool:
Option 1: Download from GitHub Releases
- Visit the GitHub Releases page
- Download the binary for your platform:
- script-mcp_linux_amd64` for Linux
script-mcp_darwin_amd64
for macOSscript-mcp_windows_amd64.exe
for Windows
- Make the binary executable (Linux/macOS):
chmod +x script-mcp_*
- Move it to your PATH (Linux/macOS):
sudo mv script-mcp_* /usr/local/bin/script-mcp@latest
Option 2: Go install
go install github.com/nguyenvanduocit/script-mcp
Config
Claude
{
"mcpServers": {
"script": {
"command": "/path-to/script-mcp"
}
}
}
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.