Skip to main content
Glama

Linux Bash MCP Server

by gunjanjp

execute_bash_script

Run bash scripts in the WSL2 Linux environment with specified paths, arguments, and directories. Manage execution with optional timeout settings for precise control over script operations.

Instructions

Execute a bash script file in WSL2 Linux environment

Input Schema

NameRequiredDescriptionDefault
argsNoArguments to pass to the script (optional)
scriptPathYesPath to the bash script file
timeoutNoTimeout in milliseconds (optional, uses config default)
workingDirectoryNoWorking directory for the script (optional)

Input Schema (JSON Schema)

{ "properties": { "args": { "description": "Arguments to pass to the script (optional)", "items": { "type": "string" }, "type": "array" }, "scriptPath": { "description": "Path to the bash script file", "type": "string" }, "timeout": { "description": "Timeout in milliseconds (optional, uses config default)", "type": "number" }, "workingDirectory": { "description": "Working directory for the script (optional)", "type": "string" } }, "required": [ "scriptPath" ], "type": "object" }
Install Server

Other Tools from Linux Bash 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/gunjanjp/linuxshell-mcp'

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