context-engine
Verified Safeby Kirachon
Overview
Provides an agent-agnostic local context engine via Model Context Protocol (MCP) for coding agents, enabling semantic search, planning, code review, and prompt enhancement with AI integration.
Installation
context-engine-mcpEnvironment Variables
- AUGMENT_API_TOKEN
- AUGMENT_API_URL
- CONTEXT_ENGINE_OFFLINE_ONLY
- CE_INDEX_USE_WORKER
- CE_SEARCH_AND_ASK_QUEUE_MAX
- CE_PERSIST_SEARCH_CACHE
- CE_PERSIST_CONTEXT_CACHE
- REACTIVE_COMMIT_CACHE
- CE_DEBUG_INDEX
- CE_DEBUG_SEARCH
- CE_INDEX_BATCH_SIZE
- CE_AI_REQUEST_TIMEOUT_MS
- CE_WATCHER_REINDEX_ON_DELETE
- CE_WATCHER_REINDEX_DEBOUNCE_MS
- CE_WATCHER_REINDEX_COOLDOWN_MS
- CE_WATCHER_DELETE_BURST_THRESHOLD
- CE_TSC_INCREMENTAL
- CE_TSC_BUILDINFO_DIR
- CE_SEMGREP_MAX_FILES
- REACTIVE_ENABLED
- REACTIVE_PARALLEL_EXEC
- REACTIVE_MAX_WORKERS
- REACTIVE_OPTIMIZE_WORKERS
- REACTIVE_SESSION_TIMEOUT_MS
- REACTIVE_DEFAULT_LLM_MODEL
- REACTIVE_USE_AI_AGENT_EXECUTOR
- REACTIVE_ENABLE_BATCHING
- REACTIVE_BATCH_SIZE
- REACTIVE_MAX_BATCH_FINDINGS
Security Notes
The system is designed for 'local-first' operation and includes features like `secretScrubber` to prevent sensitive data exposure to LLMs and robust path validation to prevent traversal attacks. However, it relies on an external 'Auggie API' (default behavior) for core embedding and LLM features, contradicting the 'no data leaves the machine' claim from the architecture documentation. Users should be aware that data is sent to Augment's API unless `CONTEXT_ENGINE_OFFLINE_ONLY` is enabled and a local index is pre-built. An optional HTTP server runs locally, restricted by CORS. User-defined regular expressions in `.review-invariants.yml` (for the `check_invariants` tool) could pose a ReDoS risk if not carefully crafted and validated.
Similar Servers
chunkhound
Provides local-first codebase intelligence, extracting architecture, patterns, and institutional knowledge for AI assistants.
sourcegraph-mcp
Provides AI-enhanced code search and content fetching capabilities from Sourcegraph instances to LLM agents.
codeweaver
A code intelligence platform that provides semantically rich, context-aware code search for AI agents, aimed at reducing cognitive load and token costs for coding tasks.
tenets
Provides intelligent, token-optimized code context and automatically injects guiding principles to AI coding assistants for enhanced understanding and consistent interactions.