AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
fix(mcp): resolve code_root via xerj_common::home::home_dir
xerj-orgb9e67d796e7b
diff --git a/engine/crates/xerj-mcp/src/lib.rs b/engine/crates/xerj-mcp/src/lib.rsindex 19d35270e..7b2a0bba5 100644--- a/engine/crates/xerj-mcp/src/lib.rs+++ b/engine/crates/xerj-mcp/src/lib.rs@@ -1882,8 +1882,9 @@ fn code_root() -> std::path::PathBuf {return std::path::PathBuf::from(home);}}- let home = std::env::var("HOME").unwrap_or_else(|_| ".".to_string());- std::path::Path::new(&home).join(".xerj-code")+ xerj_common::home::home_dir()+ .unwrap_or_else(|| std::path::PathBuf::from("."))+ .join(".xerj-code")}// ── Engine transport ─────────────────────────────────────────────────────────