Skip to main content
Glama

Shell MCP Server

Apache 2.0
10
  • Linux
  • Apple

execute_command

Run shell commands in a specified directory using a chosen shell (bash, sh) with the Shell MCP Server, ensuring secure and isolated execution environments.

Instructions

Execute a shell command in a specified directory using a specified shell

Input Schema

NameRequiredDescriptionDefault
commandYesThe shell command to execute
cwdYesWorking directory for command execution
shellYesShell to use for execution. Available: ['bash', 'sh']

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "The shell command to execute", "type": "string" }, "cwd": { "description": "Working directory for command execution", "type": "string" }, "shell": { "description": "Shell to use for execution. Available: ['bash', 'sh']", "type": "string" } }, "required": [ "command", "shell", "cwd" ], "type": "object" }

Other Tools from Shell MCP 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/blazickjp/shell-mcp-server'

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