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>
This commit was merged in pull request #1.
This commit is contained in:
11
.env.example
11
.env.example
@@ -14,10 +14,19 @@ CONTEXT_KIT_SEARXNG_PORT=8099
|
||||
# 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=7d
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user