Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ROCQ_WORKSPACENoWorking directory for Rocq compilation; used as the final fallback when no project marker is found by walking up from the file. When set explicitly, all workspace parameters are constrained to this directory or its subdirectories.current directory
ROCQ_DUNE_BUILDNoWhen set to 1 (default), rocq_compile_file in a dune project builds via dune build / redirects rocq c output into _build/default so the source tree stays free of .vo shadows. Set to 0 to force legacy compiler-into-source-tree compilation.1
ROCQ_MAX_STATESNoCap on the in-memory state table (LRU-evicted). Bump if two or more callers share this process and parked states get evicted before they are reused.1000
ROCQ_COQC_BINARYNoLegacy alias for ROCQ_COMPILER_BINARY; compile command (may contain arguments).same as ROCQ_COMPILER_BINARY
ROCQ_PET_TIMEOUTNoTimeout in seconds for pytanque-based tools.30
ROCQ_COQC_TIMEOUTNoLegacy alias for ROCQ_COMPILE_TIMEOUT; timeout in seconds for rocq_compile.60
ROCQ_MAX_PET_RSS_MBNoMaximum pet subprocess RSS in MB. On breach, the call aborts via the timeout recovery path; response includes reason memory_exhausted and pet_restarted True.min(50% of system RAM, 16384)
ROCQ_VERIFY_TIMEOUTNoTimeout in seconds for rocq_verify.120
ROCQ_COMPILER_BINARYNoCompile command (may contain arguments). ROCQ_COQC_BINARY is still read as a legacy alias.rocq c if rocq is on PATH, else coqc
ROCQ_COMPILE_TIMEOUTNoTimeout in seconds for rocq_compile. ROCQ_COQC_TIMEOUT is read as a legacy alias.60
ROCQ_MAX_SOURCE_SIZENoMaximum source size in bytes.1000000
ROCQ_QUERY_TIMEOUT_CAPNoCap in seconds on the per-call timeout parameter of any pytanque-based tool (rocq_query, rocq_start, rocq_step_multi, rocq_check, rocq_assumptions, rocq_toc, rocq_notations); larger values are clamped and the response carries clamped_timeout.300
ROCQ_ENRICHMENT_TIMEOUT_CAPNoCap in seconds on per-call proof-state capture after a rocq_compile or rocq_compile_file failure.5.0
ROCQ_COMPILE_MULTI_ERROR_CAPNoMaximum number of per-declaration errors collected in the errors field on a failed rocq_compile_file. Set to 0 to disable the feature.20
ROCQ_COMPILE_MULTI_ERROR_TIMEOUTNoPer-chunk timeout in seconds for the multi-error walker used by rocq_compile_file. Raise it for heavy projects; the walker's overall budget follows it.5.0

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