Skip to main content
Glama

execute_command

Execute shell commands on your system to automate tasks, run scripts, or perform system operations through direct command line access.

Instructions

Execute shell commands on the system. SECURITY WARNING: This tool provides direct system access. Only use with trusted commands. Commands run with the same permissions as the MCP server process.

Input Schema

NameRequiredDescriptionDefault
commandYesThe shell command to execute
workingDirectoryNoThe working directory for command execution (optional)

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "The shell command to execute", "type": "string" }, "workingDirectory": { "description": "The working directory for command execution (optional)", "type": "string" } }, "required": [ "command" ], "type": "object" }

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/koopatroopa787/first_mcp'

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