Skip to main content
Glama

Shell Command MCP Server

by kaznak

execute-command

Execute shell commands in a secure, isolated Docker container using the Shell Command MCP Server. Spawns a new bash process for each command, with options to set environment variables, working directory, and timeout.

Instructions

execute-command

This tool executes shell command on bash. Each command execution spawn a new bash process.

Input Schema

NameRequiredDescriptionDefault
commandYes
optionsYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "command": { "type": "string" }, "options": { "additionalProperties": false, "properties": { "cwd": { "type": "string" }, "env": { "additionalProperties": { "type": "string" }, "type": "object" }, "timeout": { "exclusiveMinimum": 0, "type": "integer" } }, "type": "object" } }, "required": [ "command", "options" ], "type": "object" }

You must be authenticated.

Other Tools from Shell Command 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/kaznak/shell-command-mcp'

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