rocq-mcp
by LLM4Rocq
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ROCQ_WORKSPACE | No | Working 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_BUILD | No | When 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_STATES | No | Cap 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_BINARY | No | Legacy alias for ROCQ_COMPILER_BINARY; compile command (may contain arguments). | same as ROCQ_COMPILER_BINARY |
| ROCQ_PET_TIMEOUT | No | Timeout in seconds for pytanque-based tools. | 30 |
| ROCQ_COQC_TIMEOUT | No | Legacy alias for ROCQ_COMPILE_TIMEOUT; timeout in seconds for rocq_compile. | 60 |
| ROCQ_MAX_PET_RSS_MB | No | Maximum 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_TIMEOUT | No | Timeout in seconds for rocq_verify. | 120 |
| ROCQ_COMPILER_BINARY | No | Compile 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_TIMEOUT | No | Timeout in seconds for rocq_compile. ROCQ_COQC_TIMEOUT is read as a legacy alias. | 60 |
| ROCQ_MAX_SOURCE_SIZE | No | Maximum source size in bytes. | 1000000 |
| ROCQ_QUERY_TIMEOUT_CAP | No | Cap 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_CAP | No | Cap in seconds on per-call proof-state capture after a rocq_compile or rocq_compile_file failure. | 5.0 |
| ROCQ_COMPILE_MULTI_ERROR_CAP | No | Maximum 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_TIMEOUT | No | Per-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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessLimited data