Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GDD_MAX_ITERNoMaximum iterations for the iterate loop. Default: 25.25
GDD_AVG_FLOORNoConvergence criterion: minimum average score across content paragraphs. Default: 95.95
GDD_TOLERANCENoGrade tolerance for convergence check. Default: 1.1
GEMINI_API_KEYNoAPI key for Gemini, used in CI environments for the ghost-read pipeline. If not set, OAuth/CLI path is used.
POSTCOMMIT_MODENoSelects the LLM to use in the post-commit ghost-read hook. Default: gemini. Alternative: claude.gemini
GDD_PASS_PCT_FLOORNoConvergence criterion: minimum percentage of paragraphs that must pass with ±1 tolerance. Default: 80.80
THETACOG_REPO_ROOTNoRoot path to the thetadrivencoach repository for pmu-verify command. Required only if not running from inside the repo. Can also be set as --repo-root flag.
GDD_ADAPTIVE_SOFTENNoSet to '0' to disable stall-softening in the iterate loop.1
GDD_DIFF_BUDGET_PCTNoMaximum percentage of file diff allowed per iteration. Default: 25.25
GDD_USE_GEMINI_API_KEYNoSet to '1' to force use of GEMINI_API_KEY even if an OAuth session is available.
THETACOG_RECEIPT_ENDPOINTNoOptional endpoint for sending receipt data to a cloud bridge. If set, receipts are posted to this URL; otherwise, the equivalent curl command is printed.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
thetacog-detectA

Analyze conversation to detect which cognitive room you should be in. Returns room suggestion, confidence score, and switching signals. Use when user says things like "let's think bigger picture" or "time to ship".

thetacog-statusA

Get current cognitive room status. Returns: current room, identity rules, memory palace anchor, recent switches, and terminal mapping.

thetacog-switchA

Switch to a different cognitive room. Saves context from previous room, loads new room configuration. Returns memory palace anchor and identity rules for new room.

thetacog-openA

Open the HTML dashboard for a room in the browser. If no room specified, opens current room. The HTML auto-refreshes from state.json on tab focus.

thetacog-todoA

Manage todos for a room. Actions: add, list, update, delete. Todos are stored in SQLite and synced to state.json for HTML display.

thetacog-streamC

Send messages between rooms (flywheel coordination). Get unread input streams for a room.

thetacog-exportA

Export current state to JSON file. HTML files read this on tab focus to refresh.

thetacog-terminalA

Detect which terminal Claude is running in, and which room it maps to.

thetacog_overviewA

Live 3-recent + 3-next overview computed from real git activity. Reads owned-surface globs from each .workflow/rooms/.html, groups commits in the last 14d by owning room (largest-fraction-of-files wins), filters auto-bumps, and returns: just_completed (3 most-recent meaningful commits, one per room), next_up (3 rooms scored by blocks_downstream × 2 + dormancy_days), and grid_12x12_colored_cells map. Spin-up DAG: voice → performer → network → operator → architect; foundation rooms (builder, laboratory, claudelab, vault, navigator) are independent.

thetacog-pmu-inspectA

Inspect and control the PMU XOR→ClaudBridge pipeline. Reads/writes data/pmu/pipeline/state.json (shared with the CLI driver, dashboard, and ClaudBridge mock). Use to: peek current intent/reality + last run sigma/friction (get-state), change inputs (set-intent, set-reality, set-threshold), trigger a full pipeline run end-to-end (run; optional stage to stop early), retrieve a specific run's receipt (get-run), list recent runs (list-runs), or inspect the cached axis/tile libraries (list-axes, list-tiles). The intent/reality control plane is the load-bearing surface — changing intent here makes the next run + dashboard render against the new coordinate without code edits.

pmu_verifyB

Reproduce every PMU due-diligence claim — weld diff=0, T1 forgeries, σ-on-silicon, reef ρ. Runs scripts/pmu/verify-all.sh in the thetadrivencoach repo (the Rust daemon + canon are NOT bundled in npm; the repo is located via cwd / ../../, or set repo_root / THETACOG_REPO_ROOT). Includes the dossier-freshness gate (fails if the document drifts from the code).

thetacog-nextA

Predict the next steps across all 9 rooms from THREE real sources — chat transcripts (read backwards, bounded), the repo + git logs per each room's owned file/dir surface, and the board (room punch lists). EVERY room is filled with a ≥2-sentence themed narrative (the direction + the actual area); the current room gets the exhaustive narrative + a numbered actionable to-do list. This is the subdivision substrate the mesh runner uses for inter-room contracts + task hand-off. Returns structured JSON; set render=true to also get TTS narration + HTML.

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/wiber/thetacog-mcp'

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