Skip to main content
Glama

Linux Bash MCP Server

by gunjanjp

list_directory

List directory contents in WSL2 Linux with optional details. Specify a path or use the current directory. Supports both basic and detailed views for efficient file management.

Instructions

List contents of a directory in WSL2 Linux environment

Input Schema

NameRequiredDescriptionDefault
detailedNoShow detailed information (ls -la) (optional, defaults to false)
pathNoDirectory path to list (optional, defaults to current directory).

Input Schema (JSON Schema)

{ "properties": { "detailed": { "default": false, "description": "Show detailed information (ls -la) (optional, defaults to false)", "type": "boolean" }, "path": { "default": ".", "description": "Directory path to list (optional, defaults to current directory)", "type": "string" } }, "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