Back to Home
ProfRandom92 icon

comptext-codex

by ProfRandom92

Overview

Provides a Domain-Specific Language (DSL) for efficient and precise interaction with Large Language Models (LLMs), aiming to reduce token usage and eliminate ambiguity in complex instructions.

Installation

Run Command
python -m comptext_mcp.server

Environment Variables

  • COMPTEXT_LOG_LEVEL
  • CODEX_BUNDLE_URL
  • CODEX_CACHE_DIR

Security Notes

CRITICAL VULNERABILITY: The `src/comptext_codex/modules/module_c.py` file uses `eval(text)` in its `_format_json` method. This allows arbitrary Python code execution if an attacker can control the `text` input to the `@C:format json` command. Additionally, the `mcp_loader/loader.py` dynamically downloads codex bundles from a configurable URL (`CODEX_BUNDLE_URL`), which could be exploited if an attacker controls the source.

Similar Servers

Stats

Interest Score33
Security Score2
Cost ClassLow
Avg Tokens50
Stars2
Forks1
Last Update2026-01-16

Tags

LLMDSLToken OptimizationAI AgentMCP