Skip to main content
Glama
gunjanjp

Linux Bash MCP Server

by gunjanjp

execute_bash_script

Run bash scripts in a WSL2 Linux environment by specifying the script path, optional arguments, working directory, and timeout. Ideal for automating tasks directly from Claude Desktop.

Instructions

Execute a bash script file in WSL2 Linux environment

Input Schema

TableJSON 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)

Other Tools

Related Tools

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/gunjanjp/linuxshell-mcp'

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