Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CTXT_BINNoPath to the ctxt executable. Optional if ctxt is in PATH.
CTXT_WORKDIRYesPath to the Rust project workspace.
CTXT_TIMEOUT_SECSNoTimeout in seconds for operations (default may be 30).
CTXT_MCP_READ_ONLYNoSet to '1' for read-only mode (default). Set to '0' to disable read-only.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
comptext_statusB

Return CompText, Rust, Cargo, Git, and workspace status.

comptext_pack_contextC

Create a deterministic context pack with stable file order and sha256 hashes.

comptext_rust_auditC

Run safe read-only Rust checks.

comptext_replay_digestC

Create a deterministic replay/evidence digest for the current workspace.

comptext_contract_checkC

Check local safety contracts for OpenCode usage.

comptext_github_packA

Prepare a local GitHub summary pack without network calls.

comptext_hf_export_packA

Return Hugging Face Space/Card export text without upload or token usage.

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/ProfRandom92/comptext-mcp'

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