Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CMD_LINE_MCP_CONFIGNoPath to a custom configuration JSON file.
CMD_LINE_MCP_COMMANDS_READNoComma-separated list of allowed read commands (e.g., awk,jq,wc).
CMD_LINE_MCP_COMMANDS_WRITENoComma-separated list of allowed write commands.
CMD_LINE_MCP_COMMANDS_SYSTEMNoComma-separated list of allowed system commands.
CMD_LINE_MCP_SECURITY_REQUIRE_SESSION_IDNoWhether to require a session ID for operations (true/false). Defaults to false.
CMD_LINE_MCP_SECURITY_WHITELISTED_DIRECTORIESNoComma-separated list of whitelisted directories (e.g., /home,/tmp).
CMD_LINE_MCP_SECURITY_ALLOW_COMMAND_SEPARATORSNoWhether to allow command separators like ; or && (true/false).
CMD_LINE_MCP_SECURITY_AUTO_APPROVE_DIRECTORIES_IN_DESKTOP_MODENoWhether to auto-approve directories when running in desktop mode (true/false).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
execute_commandC

Execute a Unix/macOS terminal command.

execute_read_commandA

Execute a read-only Unix/macOS terminal command (ls, cat, grep, etc.).

list_available_commandsB

List all available commands by category.

get_command_helpB

Get detailed help about command capabilities and usage.

approve_command_typeC

Approve a command type for the current session.

approve_directoryC

Approve access to a directory for the current session.

list_directoriesC

List all whitelisted and approved directories.

get_configurationC

Get the current configuration settings.

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/wwqdrh/MCPcmd'

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