Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
THREADKEEPER_DBNoSQLite file path~/.threadkeeper/db.sqlite
THREADKEEPER_ACTIVE_CLINoForce host detection to a specific CLI (e.g., 'claude')
THREADKEEPER_AUTO_REVIEWNoEnable auto-review on close_thread
THREADKEEPER_EMBED_MODELNo384-dim cross-lingual embedding modelparaphrase-multilingual-MiniLM-L12-v2
THREADKEEPER_EMBED_BACKENDNoEmbedding runtime: 'onnx' (fastembed) or 'sentence-transformers'onnx
THREADKEEPER_NO_EMBEDDINGSNoForce-disable the embedding model (FTS5 + delegate only)
THREADKEEPER_SPAWNED_CHILDNoSpawn-internal marker; disables autonomous daemons in children
THREADKEEPER_SPAWN__DEFAULTNoDefault agent for spawn roles (e.g., 'claude', 'codex')
THREADKEEPER_SPAWN_BUDGET_MBNoCombined child RSS cap in MB (0 disables)3072
THREADKEEPER_EXTRA_SKILLS_DIRSNoExtra skills directories (colon-separated) for mirroring
THREADKEEPER_INGEST_INTERVAL_SNoTranscript ingest tick in seconds3
THREADKEEPER_CURATOR_INTERVAL_SNoCurator daemon tick in seconds (0=off)0
THREADKEEPER_EXTRACT_INTERVAL_SNoExtract daemon tick in seconds (0=off)0
THREADKEEPER_EXTRACT_WINDOW_MINNoSliding dialog window per extract pass in minutes30
THREADKEEPER_CURATOR_DESTRUCTIVENoWhen '1': curator applies changes directly instead of advisory report
THREADKEEPER_CURATOR_MIN_LESSONSNoMinimum lessons before curator engages3
THREADKEEPER_MEMORY_GUARD_NOTIFYNoSend macOS desktop notification when possible1
THREADKEEPER_MEMORY_GUARD_POLL_SNoServer RSS guard tick in seconds (0 disables)30
THREADKEEPER_CANDIDATE_REVIEW_MINNoMinimum pending candidates before reviewer engages3
THREADKEEPER_MEMORY_GUARD_KILL_MBNoSIGTERM server above this RSS (0 disables killing)3072
THREADKEEPER_MEMORY_GUARD_WARN_MBNoNotify/log when a server crosses this RSS1536
THREADKEEPER_SKILL_NUDGE_INTERVALNoEvents between skill_hint nudges10
THREADKEEPER_DIALECTIC_VALIDATE_MINNoMinimum buffered observations before validator engages5
THREADKEEPER_SHADOW_REVIEW_WINDOW_SNoSliding window for shadow scan in seconds900
THREADKEEPER_EVOLVE_APPLY_INTERVAL_SNoEvolve-applier daemon tick in seconds (0=off)0
THREADKEEPER_MEMORY_GUARD_RECLAIM_MBNoLocal RSS floor before warn-triggered self trim1024
THREADKEEPER_DIALECTIC_MAX_NEW_CLAIMSNoMax new dialectic claims the validator may create per pass3
THREADKEEPER_EVOLVE_REVIEW_INTERVAL_SNoEvolve-reviewer daemon tick in seconds (0=off)0
THREADKEEPER_MEMORY_GUARD_AGG_KILL_MBNoUnder aggregate pressure, retire stale idle servers3072
THREADKEEPER_MEMORY_GUARD_AGG_WARN_MBNoNotify/request trim when all server RSS crosses this2048
THREADKEEPER_MEMORY_GUARD_RETIRE_LIVENoAllow retiring parent-alive MCP servers (off protects live clients)
THREADKEEPER_SHADOW_REVIEW_INTERVAL_SNoShadow daemon tick in seconds (0=off)0
THREADKEEPER_DIALECTIC_MINE_INTERVAL_SNoDialectic_miner daemon tick in seconds (0=off)0
THREADKEEPER_MEMORY_GUARD_RETIRE_IDLE_SNoHeartbeat age before a non-self server is retireable900
THREADKEEPER_CANDIDATE_REVIEW_INTERVAL_SNoCandidate-reviewer daemon tick in seconds (0=off)0
THREADKEEPER_MEMORY_GUARD_TARGET_SERVERSNoAggregate-pressure target after retiring stale idle servers1
THREADKEEPER_DIALECTIC_VALIDATE_INTERVAL_SNoDialectic_validator daemon tick in seconds (0=off)0

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/po4erk91/thread-keeper'

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