Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SNAP_DB_MODENoDatabase mode: sqlite, postgres, or dualsqlite
SNAP_DATA_DIRNoBase data directorydata/
SNAP_LOG_JSONNoJSON-formatted logstrue
SNAP_LOG_LEVELNoLogging levelINFO
SNAP_REPOS_DIRNoGitHub clones directory (cleared after ingest)data/repos/
SNAP_SQLITE_PATHNoSQLite database pathdata/snap.db
SNAP_STAGING_DIRNoFile staging directory (auto-ingest)data/staging/
SNAP_AUTH_ENABLEDNoEnable JWT/OAuth authentication (HTTP+SSE only)false
SNAP_POSTGRES_DSNNoPostgreSQL connection string (required for postgres/dual mode)
SNAP_AUTH_JWT_SECRETNoSecret for JWT signing
SNAP_GIT_CLONE_DEPTHNoShallow clone depth1
SNAP_AUTH_GITHUB_CLIENT_IDNoGitHub OAuth app client ID
SNAP_AUTH_GITHUB_CLIENT_SECRETNoGitHub OAuth app client secret
SNAP_GIT_CLONE_TIMEOUT_SECONDSNoGit clone timeout (seconds)600
SNAP_PARSER_LIMITS_HARD_CAP_LOCNoCode reject threshold (LOC)5000
SNAP_PARSER_LIMITS_SOFT_CAP_LOCNoCode warning threshold (LOC)1500
SNAP_PARSER_LIMITS_HARD_CAP_BYTESNoText reject threshold (bytes)10000000
SNAP_PARSER_LIMITS_SOFT_CAP_BYTESNoText warning threshold (bytes)500000

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/MnkyBr8n/SNAP'

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