Skip to main content
Glama

execute_shell

Execute shell commands with configurable security levels and options for working directory, environment variables, and timeout settings.

Instructions

Execute shell commands with multi-level security

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesThe command to execute
argsNoCommand arguments
cwdNoWorking directory
envNoEnvironment variables
timeoutNoTimeout in milliseconds
shellNoRun command in shell
securityLevelNoSecurity level (default: moderate)
sudoNoRun with sudo (requires system permissions)
interactiveNoRun in interactive mode

Latest Blog Posts

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/proofmath-owner/ai-filesystem-mcp'

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