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: mark Kimi CLI MCP row tested. teach 'xerj' in the Kimi configuration path. (#2386)
GreenBean6b453f6b027b
diff --git a/README.md b/README.mdindex 68cb18418..57c710717 100644--- a/README.md+++ b/README.md@@ -354,7 +354,11 @@ section's `mcpServers` block at `~/.cline/data/settings/cline_mcp_settings.json`appeared in the tool list Cline handed the model (named `xerj__xerj_search`) among that binary's20 tools, and Cline executed one `xerj_search` call. The model turn was a local OpenAI-compatiblestub, because no provider key was available; the MCP server was the real `xerj mcp` process. The-IDE's MCP Servers > Configure button was not part of that run. Correcting an `untested` row is a+IDE's MCP Servers > Configure button was not part of that run. Kimi Code CLI 2.3.1 and the Kimi+desktop app on Linux against `xerj` v1.0.0-rc.99 (built from source) loaded this section's+`mcpServers` block at `~/.kimi-code/mcp.json`: the client spawned `xerj mcp` as a child process+with the `env` block intact (verified through `/proc/<pid>/environ`), and `xerj_search` appeared+in the tool list. Correcting an `untested` row is awelcome first PR.| Client | Config file | Key | Note | Tested |@@ -383,7 +387,7 @@ welcome first PR.| Warp | Settings > Agents > MCP servers, or `~/.warp/.mcp.json` and `.warp/.mcp.json` in the project | `mcpServers` | `working_directory`, not `cwd` | untested || Augment Code | `~/.augment/settings.json` for the Auggie CLI; the IDE uses its own panel | `mcpServers` | that file does not drive the IDE | untested || Qwen Code | `~/.qwen/settings.json`, or `.qwen/settings.json` in the project | `mcpServers` | `mcp.allowed` can silently hide it | untested |-| Kimi CLI | `~/.kimi-code/mcp.json`, or `.kimi-code/mcp.json` in the project | `mcpServers` | the current Kimi Code CLI, not the archived `~/.kimi/mcp.json` | untested |+| Kimi CLI | `~/.kimi-code/mcp.json`, or `.kimi-code/mcp.json` in the project | `mcpServers` | the current Kimi Code CLI, not the archived `~/.kimi/mcp.json` | tested || Grok CLI | `~/.grok/config.toml`, or `.grok/config.toml` in the project | `[mcp_servers.xerj]` | Grok Bot has no local stdio registration | untested |Codex and the Grok CLI read TOML, so the entry is a table:diff --git a/engine/crates/xerj-autoindex/src/init.rs b/engine/crates/xerj-autoindex/src/init.rsindex c65b0a2d7..d18004292 100644--- a/engine/crates/xerj-autoindex/src/init.rs+++ b/engine/crates/xerj-autoindex/src/init.rs@@ -261,6 +261,7 @@ fn mcp_registration(bin: &str, url: &str) -> String {"MCP registration for other clients (restart the session after; success: `{MCP_SUCCESS_TOOL}` is in the tool list):\n\\x20 Claude Code, every project: claude mcp add --scope user xerj{env} -- {} mcp\n\\x20 Cursor: `.cursor/mcp.json` when that directory exists (init writes it; root key \"mcpServers\")\n\+ \x20 Kimi CLI: `~/.kimi-code/mcp.json` (user) or `.kimi-code/mcp.json` (project); root key \"mcpServers\"; the current CLI, not the archived `~/.kimi/mcp.json`\n\\x20 Windsurf, Claude Desktop, Cline: copy the \"xerj\" entry from .mcp.json; the root key is \"mcpServers\"\n\\x20 VS Code (.vscode/mcp.json): root key \"servers\", not \"mcpServers\"; the entry needs \"type\": \"stdio\"\n\\x20 Codex (.codex/config.toml, trusted projects only; xerj init writes it when .codex/ exists): [mcp_servers.xerj]",