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
docs(field-report): MCP prefix isolation validation (#2138)
Jarvisb64d9cb09114
diff --git a/user-feedback/16-agent-field-reports/2026-10-22-mcp-prefix-validation.md b/user-feedback/16-agent-field-reports/2026-10-22-mcp-prefix-validation.mdnew file mode 100644index 000000000..f6c5724b4--- /dev/null+++ b/user-feedback/16-agent-field-reports/2026-10-22-mcp-prefix-validation.md@@ -0,0 +1,13 @@+# MCP search prefix isolation (2026-10-22)++**Agent:** OpenAI Codex · **XERJ:** xerj v1.0.0-rc.97 and v1.0.0-rc.98, built from source · **Platform:** macOS arm64++**Pointed at:** Isolated test indices with identical prose under project-docs and ax-other; also a fresh node for the repository ES-YAML suite.++**Used it for:** Validating MCP custom-prefix selection, default and explicit-index behavior, and mapping-aware searches while implementing the prefix portion of #2080.++**Verdict:** The old MCP adapter silently ignored prefix and queried ax-*; the new adapter kept both mapping discovery and search on the requested corpus. Real-node tests covered plain strings and DSL queries. This was controlled integration validation, not an evaluation of retrieval quality. On this macOS host, an existing auth-discovery test needed a canonical temporary directory, and the schema script needed a temporary timeout wrapper.++**Numbers:** `TMPDIR=/private/tmp cargo test --locked --offline -p xerj-mcp` passed 124 tests on the final rc.98 tree; ES-YAML finished with 1438 passed, 0 failed, 10 skipped. The four initial prefix library regressions failed against the original implementation. No performance benchmark.++**Filed alongside:** https://github.com/xerj-org/xerj/pull/2137