CompText MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CompText MCPpack context for current project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CompText MCP
Pip-installable MCP bridge for OpenCode, Rust workspaces, CompText CLI, replay digests, and deterministic context packs.
This package does not run a local LLM and does not download models. It exposes safe tools that call the existing Rust CLI (ctxt) and Rust/Cargo commands.
Install
Windows:
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\pip.exe install .Linux/macOS:
python3 -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/pip install .Related MCP server: rust-faf-mcp RMCP
Requirements
You need ctxt available either in PATH or through CTXT_BIN.
Windows:
$env:CTXT_BIN="C:\path\to\ctxt.exe"
$env:CTXT_WORKDIR="C:\path\to\rust-project"
$env:CTXT_MCP_READ_ONLY="1"Linux/macOS:
export CTXT_BIN="/usr/local/bin/ctxt"
export CTXT_WORKDIR="/path/to/rust-project"
export CTXT_MCP_READ_ONLY=1OpenCode config
Windows example:
{
"mcpServers": {
"comptext": {
"type": "stdio",
"command": "C:/path/to/comptext-mcp/.venv/Scripts/comptext-mcp.exe",
"env": {
"CTXT_WORKDIR": "C:/path/to/rust-project",
"CTXT_BIN": "C:/path/to/ctxt.exe",
"CTXT_MCP_READ_ONLY": "1",
"CTXT_TIMEOUT_SECS": "30"
}
}
}
}Tools
comptext_statuscomptext_pack_contextcomptext_rust_auditcomptext_replay_digestcomptext_contract_checkcomptext_github_packcomptext_hf_export_pack
Safety defaults
read-only by default
no
shell=Trueno
cargo runno
cargo installno
cargo publishcargo testis only allowed with--no-runexcludes
.env, keys, certs,.git,target,node_modules,dist,build
Build wheel
python -m pip install --upgrade build
python -m buildResult:
dist/comptext_mcp-0.1.0-py3-none-any.whlMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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