Back to Home
m1rl0k icon

Context-Engine

by m1rl0k

Overview

Self-improving code search and context engine for IDEs and AI agents, providing hybrid semantic/lexical search, symbol graph navigation, and persistent memory.

Installation

Run Command
docker compose up -d

Environment Variables

  • QDRANT_URL
  • COLLECTION_NAME
  • EMBEDDING_MODEL
  • FASTMCP_HOST
  • FASTMCP_PORT
  • FASTMCP_INDEXER_PORT
  • LLAMACPP_URL
  • GLM_API_KEY
  • GLM_API_BASE
  • GLM_MODEL
  • CTXCE_AUTH_ENABLED
  • CTXCE_AUTH_SHARED_TOKEN
  • CTXCE_AUTH_ADMIN_TOKEN
  • NEO4J_GRAPH
  • NEO4J_URI
  • NEO4J_USER
  • NEO4J_PASSWORD
  • NEO4J_DATABASE
  • OPENLIT_ENABLED
  • OTEL_EXPORTER_OTLP_ENDPOINT
  • RERANKER_MODEL
  • REMOTE_UPLOAD_GIT_MAX_COMMITS
  • REMOTE_UPLOAD_GIT_SINCE
  • LEX_SPARSE_MODE
  • PATTERN_VECTORS
  • MULTI_REPO_MODE
  • REFRAG_RUNTIME
  • REFRAG_DECODER

Security Notes

The system extensively uses `subprocess.run` and `subprocess.Popen` for internal orchestration (e.g., Git commands, Python scripts, Docker operations). This introduces a potential risk of shell injection if user inputs (e.g., file paths, queries) are not rigorously sanitized. While environment variables are used for secrets (e.g., `GITHUB_TOKEN`, `OPENAI_API_KEY`), default passwords like 'contextengine' for Neo4j exist in development configurations. Network communication between services (MCP, Qdrant, Llama.cpp) is managed, but exposed ports require network segmentation in production. The `ctxce` CLI, driven by the VS Code extension, also represents a potential attack surface.

Similar Servers

Stats

Interest Score96
Security Score7
Cost ClassHigh
Avg Tokens500
Stars269
Forks32
Last Update2026-01-19

Tags

AI/MLCode SearchVector DatabaseIDE IntegrationLLM Reranking