Skip to main content
Glama

PermShell MCP

execute-command

Run shell commands directly within PermShell MCP by specifying command, directory, timeout, and optional input, ensuring controlled execution with user permission.

Instructions

Execute a shell command

Input Schema

NameRequiredDescriptionDefault
commandYesThe shell command to execute
cwdNoDirectory to run the command in (defaults to system temp directory)
stdinNoOptional input to provide to the command's standard input
timeoutNoTimeout in milliseconds after which the process is killed

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "command": { "description": "The shell command to execute", "type": "string" }, "cwd": { "description": "Directory to run the command in (defaults to system temp directory)", "type": "string" }, "stdin": { "description": "Optional input to provide to the command's standard input", "type": "string" }, "timeout": { "description": "Timeout in milliseconds after which the process is killed", "type": "number" } }, "required": [ "command" ], "type": "object" }
Install Server

Other Tools from PermShell MCP

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcollina/perm-shell-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server