Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DSH_BINNoPath to @deepseek-ai/dsh/lib/bin.jsauto-detected
DSH_MCP_LOGNosilent / info / debugsilent
DSH_MCP_STATENoConversation registry, survives restarts<repo>/.state/conversations.json
DSH_MCP_PROFILENoDSH profile to drivedsh-mcp
DSH_MCP_MAX_LIVENoHow many conversation processes to keep alive at once (0 = unlimited). Going over the cap reaps the least recently used one (a running turn is never reaped) — bounded memory, locks kept where it matters. Use 4 when memory is tight, 0 on a big machine. To free everything at once: dsh_release(all=true)8
DSH_MCP_RUNS_DIRNoRoot for async completion sentinels (<this>/<conversation_id>/<run_id>.json)<state file dir>/runs
DSH_MCP_LOCKS_DIRNoHolder registrations for the write lock. All instances must agree on this value, or they cannot see each other's registrations and will misread each other as an unidentifiable holder (a GUI) and refuse to preempt<state file dir>/locks
DSH_MCP_LOG_STDERRNo1 forwards DSH's raw stderr
DSH_MCP_PERMISSIONNoDefault tier for dsh_startdanger-full-access
DSH_MCP_IDLE_TTL_MSNoHow long a conversation may sit idle before its DSH process is reaped. 0 means never reap (the default): the server keeps holding the write lock, so the GUI cannot take it — opening the conversation there is read-only and still works. Cost: one resident DSH process per conversation (measured ~120 MB). Set a millisecond value (e.g. 300000) to save memory and accept that the lock can be taken0
DSH_MCP_LOCK_STALE_MSNoHow long without a heartbeat before a holder counts as lost (and becomes auto-preemptible by dsh_takeover)90000
DSH_MCP_SENTINEL_TTL_MSNoStartup pruning age for sentinels; 0 disables pruning604800000
DSH_MCP_REASONING_EFFORTNoDefault reasoning effortmax
DSH_MCP_LIST_PROBE_TTL_MSNoCache lifetime for dsh_list's on-disk probe (the probe spawns a DSH process and takes ~1 s)10000
DSH_MCP_PROMPT_TIMEOUT_MSNoWait bound for wait=true only; on expiry the turn merely moves to the background0
DSH_MCP_REGISTER_WORKSPACENoproject / all / 0project
DSH_MCP_APPROVAL_TIMEOUT_MSNoHow long a pending approval waits300000
DSH_MCP_SENTINEL_INCLUDE_REASONINGNo1 writes result.thinking into the sentinel (breaks the never-on-disk guarantee)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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