diff --git a/README.md b/README.md index 9393d0a0..a869faa4 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,11 @@ Offline downloads are available for Windows x64, macOS on Apple silicon, Linux x ## Local MCP for AI clients -The Windows, macOS, and Linux desktop packages include a local MCP server. Open **App settings → Connect AI client** and copy the configuration into a client that supports stdio MCP. Try asking: +The Windows, macOS, and Linux desktop packages include a local MCP server. In **App settings → Connect AI client**, copy the configuration, then add Panache in the MCP settings of an AI client that supports local stdio servers. Reload the client’s MCP settings and ask it to call Panache to list the installed handwriting fonts. The connection works if the Panache tool returns font names. + +**Don’t see Connect AI client?** It is not available in the web or mobile app. On a supported desktop, make sure you installed or extracted the whole desktop package, not just the app executable. See the [desktop setup notes](crates/panache-mcp/README.md) for platform details. + +Once connected, try asking: > Write my notes and the process diagram on this photo of my stationery. Show me the first page, then export the whole draft as a PDF. diff --git a/README.zh-CN.md b/README.zh-CN.md index 9d35d1ab..2aaf8cd1 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -24,7 +24,11 @@ Panache 能把正文、公式、表格和电路图排成手写稿。导入文档 ## 用 AI 客户端生成手写稿 -Windows、macOS 和 Linux 桌面版随附本地 MCP 服务。在 **应用设置 → 连接 AI 客户端** 复制配置,加入支持 stdio MCP 的客户端,就可以对它说: +Windows、macOS 和 Linux 桌面版随附本地 MCP 服务。在 **应用设置 → 连接 AI 客户端** 复制配置,再到支持本地 stdio 服务的 AI 客户端的 MCP 设置里添加 Panache。重新加载客户端的 MCP 配置后,对它说:「请调用 Panache 列出已安装的手写字体。」Panache 工具返回字体名,才说明连上了。 + +**设置里没有「连接 AI 客户端」?** 网页版和手机版没有这个入口。如果用的是支持的桌面版,请确认已完整安装或解压桌面包,而不是只复制了应用的可执行文件。各系统的注意事项见[桌面连接说明](crates/panache-mcp/README.md)。 + +连上后,可以对它说: > 用这张斜拍的信纸排我的笔记,画出进程状态转换图。先给我看第一页,确认后把整份导出成 PDF。 diff --git a/crates/panache-mcp/README.md b/crates/panache-mcp/README.md index e2c98e27..b026ba5b 100644 --- a/crates/panache-mcp/README.md +++ b/crates/panache-mcp/README.md @@ -8,6 +8,8 @@ 2. 在支持**本地 stdio 服务**的 AI 客户端中注册名为 `panache` 的服务。使用 `mcpServers` 格式的 JSON 配置可直接合并其中的 `panache` 条目,保留已有服务。若客户端使用表单、TOML 或其他格式,按其格式填入复制结果中的 `command` 和可选的 `args`。程序路径填作一项,每个参数各占一项。 3. 在客户端重新加载 MCP 配置或重新连接,问它「请调用 Panache 列出可用字体」。收到本机的字体文件名就表示连接成功。若客户端只接受服务器网址,请选择能在本机启动 stdio 程序的客户端。 +**连不上时,先看卡在哪一步。** 如果桌面版一打开就提示「内置手写引擎无法运行」,这是进入设置前的启动问题,和是否在 AI 客户端填写了配置无关。记下 Panache 版本和系统版本。若配置已复制,但 AI 客户端没有收到 Panache 工具返回的字体名,请查看客户端的 MCP 启动日志。若提示找不到文件,从当前安装重新复制配置;若提示系统库版本不匹配,请记下完整错误,改 JSON 不会解决。 + 客户端通过标准输入输出启动 Panache,关闭工作台后也能使用。移动安装目录后可重新复制。 桌面包包含 MCP、字体和 Markdown 转换器,JavaScript 运行时已编入 MCP 程序。Windows 新安装使用根目录启动器,可自动跟随应用更新;从旧启动器升级的安装会使用当前版本的 MCP 路径,更新后请重新复制。