Skip to main content
Glama

MCP Filesystem Server

by A-Niranjan

bash_pipe

Execute a sequence of piped Bash commands to combine operations, supporting stdout, stderr, and environment variables within predefined directories on the MCP Filesystem Server.

Instructions

Execute a sequence of Bash commands piped together. Allows for powerful command combinations with pipes. Results include both stdout and stderr.

Input Schema

NameRequiredDescriptionDefault
commandsYesArray of commands to pipe together
envNoAdditional environment variables for the command
timeoutNoMaximum execution time in milliseconds (max 60s)
workingDirNoWorking directory for command execution

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "commands": { "description": "Array of commands to pipe together", "items": { "type": "string" }, "minItems": 1, "type": "array" }, "env": { "additionalProperties": { "type": "string" }, "description": "Additional environment variables for the command", "type": "object" }, "timeout": { "default": 30000, "description": "Maximum execution time in milliseconds (max 60s)", "exclusiveMinimum": 0, "maximum": 60000, "type": "integer" }, "workingDir": { "description": "Working directory for command execution", "type": "string" } }, "required": [ "commands" ], "type": "object" }

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/A-Niranjan/mcp-filesystem'

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