Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_MAX_MATCHESNoServer maximum for grep_text_files.maxMatches.10000
MCP_ENABLE_SHELLNoEnables only the unrestricted shell tool. Accepted true values: 1, true, yes, on, enabled.disabled
MCP_MAX_SESSIONSNoReserved limit for native Streamable HTTP sessions.128
MCP_MAX_FILE_BYTESNoHard source-size limit for full-document operations such as edit_file.67108864
MCP_MAX_LINE_BYTESNoMaximum bytes in one decoded UTF-8 line.16777216
MCP_MAX_BATCH_FILESNoMaximum paths accepted by read_multiple_files.256
MCP_NO_UPDATE_CHECKNoSet to 1 to disable release checks.
MCP_DEFAULT_ENCODINGNoDefault encoding for newly created files when write_file is called without encoding. Existing files keep a confidently detected encoding. Legacy encodings such as cp1251 remain available as explicit overrides.utf-8
MCP_ENABLE_EXECUTIONNoEnables both run_script and shell; use only in a trusted environment.disabled
MCP_MAX_OUTPUT_BYTESNoAggregate read output, retained grep state, and inconsistent-line output budget.67108864
MCP_MEMORY_THRESHOLDNoDeprecated fallback for MCP_MAX_FILE_BYTES and MCP_MAX_OUTPUT_BYTES; specific variables take precedence.
MCP_ENABLE_RUN_SCRIPTNoEnables only the run_script tool. Accepted true values: 1, true, yes, on, enabled.disabled
MCP_MAX_DECODED_CHARACTERSNoMaximum decoded characters returned by read_text_file.16777216

Capabilities

Server capabilities have not been inspected yet.

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/zoster81/mcp-file-tools'

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