Files
context-kit/.env.example
Ajay Krishnan 6629a9b284 Run docs-mcp as a long-lived shared HTTP service (#1)
Co-authored-by: Ajay Krishnan <ajay@krishnan.ca>
Co-committed-by: Ajay Krishnan <ajay@krishnan.ca>
2026-05-24 15:48:24 +00:00

33 lines
1.2 KiB
Plaintext

# Copy to .env to override local defaults.
# Where Context Kit stores docs indexes and model caches.
# Default: $HOME/.local/share/context-kit
# CONTEXT_KIT_DATA_DIR=/path/to/context-kit-data
# Docker Compose project name. This controls the Docker network name.
CONTEXT_KIT_COMPOSE_PROJECT=context-kit
# Local SearXNG port. Bound to 127.0.0.1 only.
CONTEXT_KIT_SEARXNG_PORT=8099
# Local-only SearXNG secret. Set this to any random string if you expose SearXNG
# beyond localhost, which the default setup does not do.
CONTEXT_KIT_SEARXNG_SECRET=change-me-local-only
# Long-lived context-docs HTTP MCP service. Bound to 127.0.0.1 only.
CONTEXT_KIT_DOCS_PORT=8776
# Override only if you proxy the service behind another hostname or path.
# CONTEXT_KIT_DOCS_HTTP_URL=http://127.0.0.1:8776/mcp
# Docs indexing defaults.
CONTEXT_KIT_DOCS_TTL=24h
CONTEXT_KIT_DOCS_MAX_GET_BYTES=75000
CONTEXT_KIT_DOCS_EMBED_MODEL=BAAI/bge-small-en-v1.5
# Eagerly index every source on container start. Off by default so startup is
# fast; call the docs_refresh MCP tool when you want to populate the index.
# CONTEXT_KIT_DOCS_PREINDEX=1
# One or more source files, separated by spaces.
CONTEXT_KIT_DOCS_SOURCES=config/sources.default.txt