mcp-shell mcp

v1.1.2 · MCP Tool · system · registry.pascalai.org

Execute shell commands and capture stdout, stderr and exit code. Supports cmd (Windows), PowerShell, and bash. Cross-platform: Windows and Linux.

shellbashcmdpowershellcommandlinuxcross-platform

Input Parameters

ParameterTypeDescription
commandrequired string Command line to execute. Required.
shelloptional string Shell: cmd (Windows default), powershell, bash (Linux/macOS). One of: cmd, powershell, bash.
workDiroptional string Working directory for the process.
timeoutMsoptional integer Max wait time in milliseconds. Default: 30000.
stdinDataoptional string Text to write to stdin before execution.

Output Fields

FieldTypeDescription
stdout string
stderr string
exit_code integer
timed_out boolean
elapsed_ms integer

Examples

No examples available.

Install & Discovery

Install

ppm install mcp-shell

Get JSON Schema

GET /v1/packages/mcp-shell/1.1.2/schema

Discover by keyword

GET /v1/mcp/discover?q=shell
Discovery hint: Install with ppm install mcp-shell or invoke remotely via POST /v1/invoke/mcp-shell on the MCP Service.