Skip to main content
Glama

mcp-shell-server

by tumf

shell_execute

Execute whitelisted shell commands remotely with input support via stdin, specifying a working directory and optional timeout for secure task automation.

Instructions

Execute a shell command Allowed commands:

Input Schema

NameRequiredDescriptionDefault
commandYesCommand and its arguments as array
directoryYesAbsolute path to a working directory where the command will be executed
stdinNoInput to be passed to the command via stdin
timeoutNoMaximum execution time in seconds

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Command and its arguments as array", "items": { "type": "string" }, "type": "array" }, "directory": { "description": "Absolute path to a working directory where the command will be executed", "type": "string" }, "stdin": { "description": "Input to be passed to the command via stdin", "type": "string" }, "timeout": { "description": "Maximum execution time in seconds", "minimum": 0, "type": "integer" } }, "required": [ "command", "directory" ], "type": "object" }
Install Server

Other Tools from mcp-shell-server

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/tumf/mcp-shell-server'

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