Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCPBASH_ROOTSNoManual override for filesystem roots as a colon-separated list (e.g., '/path/one:/path/two').
MCPBASH_LOG_LEVELNoLog level for the server; use 'debug' for discovery traces.info
MSYS2_ARG_CONV_EXCLNoRecommended for Windows Git Bash to prevent path conversion quirks (usually set to '*').
MCPBASH_DEBUG_ERRORSNoIncludes tool diagnostics (exit code, stderr tail) in outputSchema validation errors.false
MCPBASH_PROJECT_ROOTYesPath to your project directory containing tools/, prompts/, and resources/. Required for MCP clients so the server can find your project regardless of working directory.
MCPBASH_REMOTE_TOKENNoShared secret for proxied deployments (minimum 32 characters).
MCPBASH_TOOL_ENV_MODENoControls environment isolation for tool processes: 'minimal', 'inherit', or 'allowlist'.minimal
MCPBASH_TOOL_ALLOWLISTNoExplicit allowlist for tools (e.g., set to '*' to allow all in trusted projects). Tools are blocked by default policy.
MCPBASH_HTTPS_ALLOW_ALLNoExplicitly allow all public HTTPS hosts (unsafe; prefer MCPBASH_HTTPS_ALLOW_HOSTS).false
MCPBASH_HTTPS_ALLOW_HOSTSNoComma-separated allowlist for HTTPS provider hosts.
MCPBASH_ALLOW_PROJECT_HOOKSNoEnables project hooks (like server.d/policy.sh). Hooks are disabled by default for security.false
MCPBASH_DEFAULT_TOOL_TIMEOUTNoDefault timeout for tool execution in seconds.30
MCPBASH_ENABLE_LIVE_PROGRESSNoEnables streaming of progress and log notifications during tool execution.false
MCPBASH_TOOL_ENV_INHERIT_ALLOWNoMust be set to 'true' to allow MCPBASH_TOOL_ENV_MODE=inherit.false

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/yaniv-golan/mcp-bash-framework'

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