Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DSH_HOSTNoHost of the dsh web /api endpoint. Note that `localhost` and `127.0.0.1` are two different audiences and cookies are not interchangeable, so use only one form throughout (default is 127.0.0.1).127.0.0.1
DSH_NODENoOverride the auto-detected node executable path.
DSH_PORTNoPort of the dsh web /api endpoint (default is 3080).3080
DSH_PKG_DIRNoOverride the auto-detected installation location of `@deepseek-ai/dsh`; the CLI entry is read from that package's `package.json` `bin` field.
DSH_POLL_MSNoPolling interval in milliseconds.3000
DSH_NO_SPAWNNoWhen set to `1`, the bridge reports an error if nothing is listening on the port and never starts an instance itself.
DSH_WATCH_MSNoInternal watch time in milliseconds for dsh_launch/dsh_send; must be less than the client's `tool_timeout_sec`.40000
DSH_AUTO_GROUPNoSet to `0` to disable automatic sidebar grouping (a single call can also pass `group:false`).
DSH_BRIDGE_STATENoDirectory for the session ledger, token capture, audit log, and the cwd of the dsh subprocess (`run/`, where third-party plugin caches land). The ledger is isolated per DSH_BRIDGE_STATE; aliases in different directories are invisible to each other.<package directory>/.state
DSH_DEFAULT_MODELNoThe `provider/model` pinned when the caller does not pass a `model` argument.
DSH_LOG_MAX_BYTESNoAudit log rotation threshold in bytes (one `.1` file is retained).2000000
DSH_ALLOWED_MODELSNoEmpty means no restriction. Grammar: `provider/model[:effort|effort][, ...]`. If written but no entries can be parsed, the bridge fails at startup rather than degrading to allow-all or deny-all.
DSH_API_TIMEOUT_MSNoTimeout for a single /api call; on timeout it is retried once.15000
DSH_ATTACH_OUTFILENoPoints to a dsh web stdout already captured elsewhere; switches the bridge into attach mode and it will not start its own instance.
DSH_DEFAULT_EFFORTNoReasoning effort used together with DSH_DEFAULT_MODEL.
DSH_TESTED_VERSIONNoVersion gate; the preflight warns when the installed dsh version differs.0.2.1-rc.2
DSH_BOOT_TIMEOUT_MSNoUpper bound in milliseconds for waiting for the dsh instance to start.90000
DSH_CATALOG_WAIT_MSNoUpper bound in milliseconds for waiting until a provider appears in the model catalog.15000

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

Maintenance

ActivityMaintained
ResponsivenessNo issues