-
Notifications
You must be signed in to change notification settings - Fork 4
MCP Integration
← Wiki home / 手册首页 · English · 中文 · Troubleshooting / 故障排查
Use this page when / 适用情况: choosing an MCP release package, connecting a client to
Caelune-MCP.exe, or checking what the read-only MCP server can and cannot do.
选择 MCP 发布包、让客户端连接Caelune-MCP.exe,或确认只读 MCP Server 的能力边界。
Caelune-MCP.exe is a read-only headless interface over the same retrieval core used by the desktop app. It does not create a second database.
The desktop app remains responsible for:
- configuring data roots and source directories
- installing Runtime and models
- full and incremental builds
- live watch
- deleting app-owned index/state
The MCP server exposes:
-
omniclip.status— reports readiness, selected environment, and full/degraded retrieval state -
omniclip.search— returns source-labelled search results
- Use the MCP ZIP when manually pointing a client at
Caelune-MCP.exe. - Use
.mcpbwhen the client supports the MCP Registry or MCPB installation. - Use the
WIN-EXEpackage for normal desktop configuration and indexing.
Always build at least one knowledge base with the desktop app first.
A compatible client needs:
- transport:
stdio - command: the absolute path to
Caelune-MCP.exe - arguments: empty unless a documented option is required
- environment: empty unless intentionally overriding the data root or Runtime root
Example shape:
{
"mcpServers": {
"caelune": {
"command": "D:\\Apps\\Caelune\\Caelune-MCP.exe",
"args": []
}
}
}Merge only the server entry into an existing client configuration. Do not overwrite unrelated servers.
Not every product that advertises MCP supports launching a local stdio process. Check the client’s current transport documentation before adding a proxy. Current OpenClaw releases manage command-based stdio servers under mcp.servers; see OpenClaw MCP 配置错误 for the current CLI-based setup and notes about older configuration errors.
The MCP server is read-only at the Caelune layer, but retrieved text is delivered to the connected client. The client's storage, logging, network, and model-provider policies still apply.
Use omniclip.status before search when diagnosing:
- missing or unbuilt indexes
- lexical-only degradation
- incomplete Runtime or models
- active data-root mismatch
See MCP_SETUP.md and the examples under examples/mcp.
Caelune-MCP.exe 是桌面版检索内核之上的只读无界面入口,不会建立第二套数据库。
桌面版仍负责:
- 配置数据目录和来源目录
- 安装 Runtime 与模型
- 全量和增量建库
- 热监听
- 删除软件拥有的索引和状态
MCP Server 只开放:
-
omniclip.status:报告环境、就绪状态和完整/降级检索模式 -
omniclip.search:返回带来源标签的检索结果
- 手动把客户端指向
Caelune-MCP.exe时使用 MCP ZIP。 - 客户端支持 MCP Registry 或 MCPB 安装时使用
.mcpb。 - 普通桌面配置和建库使用
WIN-EXE。
必须先通过桌面版建立至少一个知识库。
兼容客户端需要:
- 传输方式:
stdio - 命令:
Caelune-MCP.exe的绝对路径 - 参数:没有文档要求时留空
- 环境变量:没有主动覆盖数据目录或 Runtime 目录时留空
配置结构示例:
{
"mcpServers": {
"caelune": {
"command": "D:\\Apps\\Caelune\\Caelune-MCP.exe",
"args": []
}
}
}只把这个 Server 条目合并到已有客户端配置,不要覆盖其他 Server。
并不是所有宣称支持 MCP 的产品都能直接启动本地 stdio 进程。引入代理之前,应先确认客户端当前版本的传输文档。当前 OpenClaw 已经可以在 mcp.servers 下管理命令型 stdio Server;最新 CLI 配置和旧版错误说明见:OpenClaw MCP 配置错误。
MCP Server 在星野这一层是只读的,但检索文字会传给所连接的客户端。客户端自身的存储、日志、网络和模型服务商政策仍然适用。
排查以下问题时,先调用 omniclip.status:
- 索引缺失或尚未建库
- 当前只有字面检索
- Runtime 或模型不完整
- 客户端和桌面版使用的数据目录不一致
请看 MCP_SETUP.md 和 examples/mcp 中的配置示例。
Previous / 上一篇: ← PDF and Tika / PDF 与 Tika · Next / 下一篇: Troubleshooting / 故障排查 →
🏠 手册首页 / Wiki Home · ⬇️ 下载最新版 / Latest Release · 🌐 官网 / Website · 💻 GitHub
隐私提醒 / Privacy reminder: 公开日志、截图或配置前,请移除私人路径、知识库名称、查询内容和检索结果。Remove private paths, workspace names, queries, and retrieved text before sharing logs, screenshots, or configuration.