Skip to main content
Glama

secure_run_command

Execute commands with security restrictions to prevent unauthorized operations, allowing only approved commands to run safely within the development environment.

Instructions

Execute a command with security restrictions (only allowed commands)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesCommand to execute securely
cwdNoWorking directory
timeoutNoCommand timeout in milliseconds
envNoEnvironment variables
commitResultNoAuto-commit changes after successful execution
commitMessageNoCustom commit message if commitResult is true

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/block/vscode-mcp'

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