Skip to content

docs(crates/panache-mcp): 说明首次连接和启动失败的排查方法 - #55

Merged
SXP-Simon merged 1 commit into
mainfrom
split/49-connect
Nov 27, 2026
Merged

SXP-Simon merged 1 commit into
mainfrom
split/49-connect

Conversation

@SXP-Simon

@SXP-Simon SXP-Simon commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

场景与改动

在桌面版复制过配置的人,仍需要知道客户端是否真的连上 Panache。

在中英文首页说明重新加载和列字体的步骤,在 MCP 指南分别说明桌面启动失败、路径失效及缺少系统库的处理。

用户可以用一次只读工具调用确认连接,并根据失败位置找到下一步。

独立验证

在 Windows 桌面包使用安装记录选出的启动器和 --mcp 参数,通过 stdio 执行 initialize、list_fonts。也可按中英文首页的步骤用任意支持 stdio 的客户端复查。

从 #49 拆出,直接基于 main@06cfd43,可以独立审查。来源提交为 312497e、e4df6b2。

Summary by Sourcery

Improve MCP connection setup and troubleshooting guidance so users can verify successful connections and identify common desktop or runtime failures.

Enhancements:

  • Clarify desktop MCP connection verification in the English and Chinese README guides, including reloading client settings and confirming returned font names.
  • Add troubleshooting guidance for desktop startup failures, missing executable paths, and incompatible system libraries.

Documentation:

  • Document desktop package requirements and platform-specific troubleshooting for connecting AI clients to Panache’s local MCP server.

背景:在桌面版复制过配置的人,仍需要知道客户端是否真的连上 Panache。

解决手段:在中英文首页说明重新加载和列字体的步骤,在 MCP 指南分别说明桌面启动失败、路径失效及缺少系统库的处理。

收益:用户可以用一次只读工具调用确认连接,并根据失败位置找到下一步。
@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Reviewer's Guide

Documentation

Update both homepages to explain how to reload MCP settings and confirm the connection by asking Panache to list installed fonts.

  • README.md L27-31
  • README.zh-CN.md L27-31

Add troubleshooting guidance for desktop startup failures, stale executable paths, and system-library version mismatches.

  • crates/panache-mcp/README.md L11-12

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@SXP-Simon

Copy link
Copy Markdown
Owner Author

拆分依据与实测

原 #49 留下的证据。 原 #49 的桌面实点说明了两个卡点:设置里看不到入口、复制成功后服务仍然启动失败。曾有正确配置在 Debian 上因后端的系统库要求无法启动;修改 JSON 不能修好这个错误。 原 PR 说明 · 配置与连接对照 · 实际桌面按钮与启动故障

本次独立分支验证(e4c8fd8)。 Windows 实包的 handwriting_app.exe --mcp 完成 stdio 握手,list_fonts 返回 9 个字体名,包括华阳手写体和志莽行书。本次从启动器验证,未重做历史 Linux 桌面点按或真人测试。 本次验证所用 Windows 桌面包为 1.18.1。

七个分支都直接基于同一个 main 提交,21 对分支试合并均无冲突,正序和逆序七项合并得到相同文件树。组合后重新构建,18 个 MCP 单测通过,并核对握手、14 个工具的接口及相关的真实 stdio 场景。

@SXP-Simon
SXP-Simon marked this pull request as ready for review November 27, 2026 07:30
@sourcery-ai

sourcery-ai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Sorry @SXP-Simon, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 9 hours and 51 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@SXP-Simon
SXP-Simon merged commit 9b5bf2e into main Nov 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant