MCP Shell Server for serving shell AI models
# With flakes enabled
nix run github:rafa-dot-el/mcp-shell
# Or install to profile
nix profile install github:rafa-dot-el/mcp-shell
Download the latest binary from the releases page:
# Linux/macOS
curl -L https://github.com/rafa-dot-el/mcp-shell/releases/latest/download/mcp-shell_linux_amd64.tar.gz | tar xz
sudo mv mcp-shell /usr/local/bin/
# Verify installation
mcp-shell version
# Run with Docker/Podman (Docker Hub)
docker run --rm rafadotel/mcp-shell:latest --help
# Run from GitHub Container Registry
docker run --rm ghcr.io/rafa-dot-el/mcp-shell:latest --help
# Pull specific version
docker pull rafadotel/mcp-shell:v0.1.0
docker pull ghcr.io/rafa-dot-el/mcp-shell:v0.1.0
# Run development version
docker run --rm rafadotel/mcp-shell:dev --help
# Clone and build
git clone https://github.com/rafa-dot-el/mcp-shell.git
cd mcp-shell
go build -o mcp-shell ./cmd/mcp-shell
# Basic usage
mcp-shell --help
# Show version
mcp-shell version
# Configuration help
mcp-shell --config /path/to/config.yaml
# Enable verbose output
mcp-shell --verbose
MCP Shell supports multiple configuration methods with the following precedence (highest to lowest):
MCP-SHELL_*)Configuration files are searched in the following order:
--config flag path (if specified)~/.config/mcp-shell/config.yaml./mcp-shell.yaml (current directory)/etc/mcp-shell/config.yamlExample configuration file:
# ~/.config/mcp-shell/config.yaml
verbose: false
debug: false
log_level: info
All configuration options can be set via environment variables:
export MCP-SHELL_VERBOSE=true
export MCP-SHELL_DEBUG=false
export MCP-SHELL_LOG_LEVEL=debug
# Clone repository
git clone https://github.com/rafa-dot-el/mcp-shell.git
cd mcp-shell
# Enter development environment (with direnv)
direnv allow
# Or manually
nix develop
# Install dependencies and build
task deps
task build
Use task to see all available development tasks:
task # List all tasks
task build # Build the binary
task test # Run all tests
task lint # Run linters
task vuln # Security scans
task clean # Clean artifacts
task dev-setup # Setup development environment
The project includes helpful development functions in functions.sh:
# Available after entering nix develop
build-watch # Watch for changes and rebuild
test-watch # Watch for changes and retest
go-coverage # Generate coverage report
security-scan # Run security scanners
dev-help # Show all available helpers
# Run all tests
task test
# Run specific test types
task test-unit
task test-integration
task test-e2e
# Run with coverage
go-coverage
VERSION filetask version-bump-minor # or patch/major
task version-tag
git push origin v$(cat VERSION)
Full documentation is available at: https://rafa-dot-el.github.io/mcp-shell
task docs-build # Build Hugo site
task docs-serve # Serve locally
task docs-test # Test documentation
git checkout -b feature-nametask testtask lintgit commit -am 'Add feature'git push origin feature-nameSecurity issues should be reported privately to <>.
For general vulnerabilities:
task vuln to check for known vulnerabilitiesThis project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Built with:
Copyright (C) 2025 Rafael. Licensed under GPL-3.0.
Content type
Image
Digest
sha256:7cfeda703…
Size
2.7 MB
Last updated
12 months ago
docker pull rafadotel/mcp-shell