Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_DOCS_DIRNoDocs directory relative to the repo root.docs
MCP_CODE_DIRSNoComma-separated directories to search for code.src,config,routes,database,resources,tests
MCP_CODE_EXTSNoComma-separated file extensions for code search..php,.md,.json,.yml,.yaml,.xml,.ts,.js
MCP_DOCS_EXTSNoComma-separated list of document file extensions..md,.mdx
MCP_REPO_ROOTNoAbsolute path to the local repo checkout. Required unless MCP_TELEGRAPH_ROOT is provided.
MCP_REPO_LABELNoText label used in the prompts. Defaults to the basename of the repo root.
MCP_URI_SCHEMENoResource URI scheme. Defaults to the tool prefix if not specified.
MCP_TOOL_PREFIXNoTool name prefix used for the MCP tools.repo
MCP_GIT_AUTO_FETCHNoIf set to 1, runs git fetch --prune --tags once at server start.
MCP_MAX_FILE_BYTESNoMaximum size of a file allowed to be read.512KB
MCP_TELEGRAPH_ROOTNoLegacy fallback for MCP_REPO_ROOT. Absolute path to the local repo checkout.
MCP_DEFAULT_MAX_CHARSNoDefault maximum characters returned for file reads/searches.50k chars
MCP_GIT_FETCH_TIMEOUT_MSNoTimeout in milliseconds for the git fetch command.30000

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/pepperfm/mcp'

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