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: paste a DeepSeek Harness MCP config with env and cwd (#2288)
xerj-org3a8343f78bdb
diff --git a/README.ko.md b/README.ko.mdindex 2978bee49..52f1aa4d0 100644--- a/README.ko.md+++ b/README.ko.md@@ -426,18 +426,22 @@ Zed는 이들을 컨텍스트 서버라 부르고, OpenClaw는 `mcp` 아래에{mcp: {servers: {xerj: {command: "/abs/path/to/xerj", args: ["mcp"], transport: "stdio"}}}}```-DeepSeek Harness는 Cordis 패치 파일에서 MCP를 플러그인으로 불러옵니다:+DeepSeek Harness는 `$DSH_HOME/cordis.patch.yml` 또는 프로필 패치 `$DSH_HOME/profiles/<profile>/cordis.patch.yml`에서 MCP 서버 하나를 플러그인 하나로 불러옵니다. 그 파일이 `[]`뿐이면 배열 아래에 붙이지 말고 아래 블록으로 바꿉니다. `[]` 아래에 붙이면 올바른 YAML이 아닙니다. `env`와 `cwd`는 stdio의 선택 필드입니다(`args` 기본값 `[]`, `env` 기본값 `{}`, `cwd` 기본값 `""`). 노드가 `--insecure`로 돌지 않으면 `env` 아래에 `XERJ_AUTH: "ApiKey <key>"`를 넣습니다:```yaml+# $DSH_HOME/cordis.patch.yml- insert:- id: mcp-xerj- name: "@deepseek-ai/dsh-mcp-client"+ name: '@deepseek-ai/dsh-mcp-client'config:serverName: xerjtransport: stdiocommand: /abs/path/to/xerjargs:- mcp+ env:+ XERJ_URL: "http://localhost:9200"+ cwd: ""```원래 목록의 후보 세 개는 의도적으로 빠져 있습니다. Aider는 MCP 클라이언트 지원이 아예diff --git a/README.md b/README.mdindex 56e4edf66..9c3af12b7 100644--- a/README.md+++ b/README.md@@ -434,18 +434,22 @@ context servers, and OpenClaw nests them under `mcp`:{mcp: {servers: {xerj: {command: "/abs/path/to/xerj", args: ["mcp"], transport: "stdio"}}}}```-DeepSeek Harness loads MCP as a plugin in its Cordis patch file:+DeepSeek Harness loads one MCP server as one plugin in `$DSH_HOME/cordis.patch.yml`, or in a profile patch at `$DSH_HOME/profiles/<profile>/cordis.patch.yml`. If that file is only `[]`, replace the array with the block below; appending under `[]` is not valid YAML. `env` and `cwd` are optional stdio fields (`args` defaults to `[]`, `env` to `{}`, `cwd` to `""`). When the node is not running `--insecure`, add `XERJ_AUTH: "ApiKey <key>"` under `env`:```yaml+# $DSH_HOME/cordis.patch.yml- insert:- id: mcp-xerj- name: "@deepseek-ai/dsh-mcp-client"+ name: '@deepseek-ai/dsh-mcp-client'config:serverName: xerjtransport: stdiocommand: /abs/path/to/xerjargs:- mcp+ env:+ XERJ_URL: "http://localhost:9200"+ cwd: ""```Three candidates from the original list are deliberately absent. Aider has no MCP client support atdiff --git a/README.zh-CN.md b/README.zh-CN.mdindex ac24b7f39..1587f8e68 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -322,18 +322,22 @@ Amp 的键带命名空间前缀,VS Code 和 Copilot 需要 `servers` 加传输{mcp: {servers: {xerj: {command: "/abs/path/to/xerj", args: ["mcp"], transport: "stdio"}}}}```-DeepSeek Harness 在它的 Cordis 补丁文件里把 MCP 作为插件加载:+DeepSeek Harness 在 `$DSH_HOME/cordis.patch.yml`(或某个 profile 的 `$DSH_HOME/profiles/<profile>/cordis.patch.yml`)里把一个 MCP 服务加载为一个插件。如果该文件只有 `[]`,用下面的块替换这个数组;追加在 `[]` 后面不是合法 YAML。`env` 和 `cwd` 是 stdio 的可选字段(`args` 默认 `[]`,`env` 默认 `{}`,`cwd` 默认 `""`)。节点不是以 `--insecure` 运行时,在 `env` 下加上 `XERJ_AUTH: "ApiKey <key>"`:```yaml+# $DSH_HOME/cordis.patch.yml- insert:- id: mcp-xerj- name: "@deepseek-ai/dsh-mcp-client"+ name: '@deepseek-ai/dsh-mcp-client'config:serverName: xerjtransport: stdiocommand: /abs/path/to/xerjargs:- mcp+ env:+ XERJ_URL: "http://localhost:9200"+ cwd: ""```最初名单里有三个候选被有意排除。Aider 完全没有 MCP 客户端支持([Aider-AI/aider#3314](https://github.com/Aider-AI/aider/issues/3314) 仍未关闭)。T3 Code 方向相反:它自己托管一个供其他智能体连接的 MCP 端点,其会话从底层 harness 继承服务配置。Grok Bot 没有文档记载的本地 stdio 注册方式;Grok CLI 有,见上表对应一行。diff --git a/landing/docs/cli.html b/landing/docs/cli.htmlindex 44e542a32..aff74a5c6 100644--- a/landing/docs/cli.html+++ b/landing/docs/cli.html@@ -512,7 +512,25 @@ Qwen Code | ~/.qwen/settings.json or .qwen/settings.jsonKimi CLI | ~/.kimi-code/mcp.json or .kimi-code/mcp.json | mcpServersGrok CLI | ~/.grok/config.toml or .grok/config.toml | [mcp_servers.xerj]</pre>- <p>Codex, the Grok CLI, Kilo Code, Continue, Goose, Amp, VS Code and Copilot, Zed, OpenClaw and DeepSeek Harness do not use the JSON shape above; <a href="https://github.com/xerj-org/xerj#supported-agents">the README carries the exact snippet for each</a>. Aider is absent because it has no MCP client support, T3 Code hosts an MCP endpoint rather than consuming one, and Grok Bot has no documented local stdio registration.</p>+ <p>Codex, the Grok CLI, Kilo Code, Continue, Goose, Amp, VS Code and Copilot, Zed and OpenClaw do not use the JSON shape above; <a href="https://github.com/xerj-org/xerj#supported-agents">the README carries the exact snippet for each</a>.</p>++ <p>DeepSeek Harness (dsh) loads one MCP server as one plugin in <code class="inline">$DSH_HOME/cordis.patch.yml</code>, or in a profile patch at <code class="inline">$DSH_HOME/profiles/<profile>/cordis.patch.yml</code>. If that file is only <code class="inline">[]</code>, replace the array with the block below; appending under <code class="inline">[]</code> is not valid YAML. <code class="inline">env</code> and <code class="inline">cwd</code> are optional stdio fields (<code class="inline">args</code> defaults to <code class="inline">[]</code>, <code class="inline">env</code> to <code class="inline">{}</code>, <code class="inline">cwd</code> to <code class="inline">""</code>). When the node is not running <code class="inline">--insecure</code>, add <code class="inline">XERJ_AUTH: "ApiKey <key>"</code> under <code class="inline">env</code>.</p>++<pre class="code"># $DSH_HOME/cordis.patch.yml+- insert:+ - id: mcp-xerj+ name: '@deepseek-ai/dsh-mcp-client'+ config:+ serverName: xerj+ transport: stdio+ command: /abs/path/to/xerj+ args:+ - mcp+ env:+ XERJ_URL: "http://localhost:9200"+ cwd: ""</pre>++ <p>Aider is absent because it has no MCP client support, T3 Code hosts an MCP endpoint rather than consuming one, and Grok Bot has no documented local stdio registration.</p><p>Twenty-one tools are served (eighteen in a build with no hub key, which omits the three hub tools). Eleven are thin proxies over an endpoint the engine already exposes, and engine errors come back verbatim: <code class="inline">xerj_search</code>, <code class="inline">xerj_semantic_search</code>, <code class="inline">xerj_vector_search</code>, <code class="inline">xerj_hybrid_search</code>, <code class="inline">xerj_memory_store</code>, <code class="inline">xerj_memory_recall</code>, <code class="inline">xerj_brain_overview</code>, <code class="inline">xerj_brain_ego</code>, <code class="inline">xerj_brain_link</code>, <code class="inline">xerj_brain_unlink</code>, <code class="inline">xerj_plan</code> (<code class="inline">POST /_ask</code>). Two are not plain proxies: <code class="inline">xerj_map</code> returns the autoindex catalog's per-index field map (trimmed to a byte cap), and <code class="inline">xerj_code_search</code> runs the <code class="inline">xerj code</code> pipeline and returns its rendered text. <code class="inline">xerj_field_report</code> files an agent field report (a GitHub PR first, the <code class="inline">/api/field-report</code> endpoint when GitHub is unavailable; it sends by default). <code class="inline">xerj_index_budget</code> counts a folder and estimates its index against the node's disk budget before <code class="inline">xerj autoindex</code> hashes anything (it does not index), <code class="inline">xerj_autoindex_remove</code> drops one autoindexed folder after listing it and deletes nothing unless <code class="inline">confirm</code> is true, and <code class="inline">xerj_corpus_feedback</code> rates a hub corpus. The three Corpus Hub tools, <code class="inline">xerj_hub_ask</code>, <code class="inline">xerj_hub_def</code> and <code class="inline">xerj_hub_find</code>, run the <a href="#ask"><code class="inline">xerj ask</code></a> flow, but never download a pack and never fetch the catalogue: run <code class="inline">xerj hub sync</code> and <code class="inline">xerj hub pull <slug></code> in a shell first (details on the <a href="/docs/corpus-hub#mcp">Corpus Hub page</a>). Two caveats the tool descriptions carry themselves: <code class="inline">xerj_semantic_search</code> embeds server-side with the <em>lexical</em> feature-hashing embedder unless the node runs <code class="inline">--embed-mode neural</code>, and the <code class="inline">xerj_brain_*</code> tools work a deterministic link index, not a graph database.</p>