Cortex Documentation

June 10, 2026 ยท View on GitHub

Complete documentation for cortex -- a Rust syslog receiver and MCP server for homelab log intelligence.

Directory index

Authoritative current docs

FilePurpose
README.mdThis file -- documentation index
SETUP.mdStep-by-step setup guide -- clone, build, configure, deploy, verify (at docs/SETUP.md)
CONFIG.mdConfiguration reference -- config.toml, env vars, storage budget
CLI.mdDirect CLI reference -- local search, tail, errors, hosts, correlate, and stats commands
api.mdREST API endpoint matrix (56 routes), versioning, perf, threat model, response caps, VACUUM caveats
architecture.mdCaller โ†’ DB diagram (HTTP CLI default + direct-SQLite consumers)
rollout.mdManual v0.26 upgrade playbook for HTTP CLI cutover
CHECKLIST.mdSupplemental pre-release audit checklist -- current version policy and release gates point to RELEASE.md
GUARDRAILS.mdSecurity guardrails -- credentials, Docker, auth, input handling
INVENTORY.mdComponent inventory -- tools, env vars, surfaces, dependencies
OAUTH.mdOAuth/JWT operator configuration and runtime model
RUST.mdRust toolchain and rmcp dependency intent
SECURITY.mdConsolidated operator trust model
RELEASE.mdRelease gates: hermetic CI versus live fleet checks

Subdirectories

DirectoryScope
mcp/MCP server docs: auth, transport, tools, resources, testing, deployment
plugin/Plugin system docs: manifests, hooks, skills, commands, channels
repo/Repository docs: git conventions, scripts, memory, rules
stack/Technology stack docs: prerequisites, architecture, Rust dependencies
upstream/Upstream service docs (cortex is self-contained -- no external API)

Preserved and archival directories

Files in these directories are useful historical context, but they are not the source of truth for current command names, plugin paths, auth scopes, release version policy, or install examples. Prefer the authoritative docs above for operator instructions.

DirectoryScope
plans/Engineering plans and design docs
runbooks/Operational runbooks (deploy, maintenance)
sessions/Development session notes
superpowers/Superpowers plans (storage budget guardrail, etc.)

Cross-references

  • CLAUDE.md -- project instructions for Claude Code sessions
  • README.md -- user-facing project overview
  • CLI.md -- direct local CLI command reference
  • SETUP.md -- host configuration guide (rsyslog, UniFi, ATT router)
  • CHANGELOG.md -- version history