ojob.io/ai/mcps/mcp-shell

Usage

ojob ojob.io/ai/mcps/mcp-shell onport=8888 readwrite=true shellallow=cat,ls shellallowpipes=true shellbanextra=curl,wget cwd=/tmp timeout=5000 env="(PATH: '/usr/local/bin', LANG: 'C.UTF-8')" extrahooks=/path/to/hooks1,/path/to/hooks2 

Description

A STDIO/HTTP MCP shell server for controlled local command execution

Expects

Name Description
onport If defined starts a MCP server on the provided port
readwrite If true, allows commands that may change state (default: false)
shellallow Comma-separated list of otherwise banned commands to allow
shellallowpipes Allow pipes, redirection and shell control operators
shellbanextra Additional comma-separated commands to ban
cwd Default working directory for shell commands
timeout Default timeout (ms) applied to shell commands
env Optional map of environment variables applied to each command
extrahooks Comma-separated list of additional hook directories to load (before_shell/after_shell hooks)