Shell
by sonirico
Run shell commands your AI asks for, one at a time, with no shell interpretation — pipes, substitution and redirection are rejected. Secure mode by default: a read-only allowlist of utilities, no interpreters. Community MCP by sonirico (Go).
security.enabled: false only disables security when ALSO paired with MCP_SHELL_ALLOW_UNSAFE=1 below — neither alone has any effect. Defaults to the safe value; change both fields together if you want unsafe mode.
Default template
security: enabled: true sandbox: true working_directory: /tmp/mcp-workspace max_execution_time: 30s max_output_size: 1048576 run_as_user: "" audit_log: true writes_enabled: false
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Defaults to a commented reference of mcp-shell's documented env vars — uncomment any you need. To enable unsafe mode you must ALSO set security.enabled: false in the policy above — MCP_SHELL_ALLOW_UNSAFE=1 alone does nothing.
Default template
# Uncomment any of these. See https://github.com/sonirico/mcp-shell for details. # 1 = unsafe (raw shell, no validation); ALSO requires security.enabled: false # in the policy above (this variable alone does nothing). Default: unset (secure). # MCP_SHELL_ALLOW_UNSAFE=1 # Name advertised in the MCP handshake. Default: mcp-shell # MCP_SHELL_SERVER_NAME=mcp-shell # debug, info, warn, error, or fatal. Default: info # MCP_SHELL_LOG_LEVEL=info # console or json. Default: console # MCP_SHELL_LOG_FORMAT=console # stderr, stdout, or a file path. Default: stderr # MCP_SHELL_LOG_OUTPUT=stderr
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
go install github.com/sonirico/[email protected]