Skip to main content
Glama

Linux Bash MCP Server

by gunjanjp

execute_bash_command

Execute a bash command in a WSL2 Linux environment directly from a Windows system, specifying the working directory and timeout for efficient command execution.

Instructions

Execute a bash command in WSL2 Linux environment

Input Schema

NameRequiredDescriptionDefault
commandYesThe bash command to execute
timeoutNoTimeout in milliseconds (optional, uses config default)
workingDirectoryNoWorking directory for the command (optional, defaults to current directory)

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "The bash command to execute", "type": "string" }, "timeout": { "description": "Timeout in milliseconds (optional, uses config default)", "type": "number" }, "workingDirectory": { "description": "Working directory for the command (optional, defaults to current directory)", "type": "string" } }, "required": [ "command" ], "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