cad-mcp-setup
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSet up CAD
配置 CAD
Provenance: maintained in earthtojake/text-to-cad.
Use the installed local skill files as the runtime source of truth; the
repository link is only for provenance and release review.
CAD's viewer is a local server that the agent app starts with , from the
command in this plugin's MCP config, pinned to the plugin's version. The app
fetches that pinned runtime from PyPI the first time the server starts after an
install or an update, so that start needs a network connection. This skill only
checks and explains: it installs nothing, downloads nothing, and changes nothing
in the user's projects.
uvx来源说明:由 earthtojake/text-to-cad 维护。
请将已安装的本地 skill 文件作为运行时的唯一依据;仓库链接仅用于标明来源和审查发布版本。
CAD 的查看器是一个本地服务器,由 agent 应用使用 启动,命令来自此插件的 MCP 配置,并固定为插件对应的版本。应用会在安装或更新后首次启动服务器时从 PyPI 获取该固定版本的运行时,因此启动时需要网络连接。此 skill 仅进行检查和说明:不会安装、下载任何内容,也不会更改用户项目中的任何内容。
uvxSteps
步骤
-
Check for uv:bash
uv --version -
If uv is missing, tell the user CAD needs it, and give them uv's official installation guide to install it themselves: https://docs.astral.sh/uv/getting-started/installation/.
-
Tell the user to quit and reopen the app. Servers start with the app, so the viewer appears after a restart: CAD in the sidebar, and CAD as a tab in each thread.
-
检查 uv:bash
uv --version -
如果缺少 uv,告知用户 CAD 需要 uv,并向其提供 uv 的官方安装指南,让用户自行安装: https://docs.astral.sh/uv/getting-started/installation/。
-
告知用户退出并重新打开应用。服务器随应用启动,因此重启后查看器才会显示:侧边栏中的 CAD,以及每个线程中名为 CAD 的标签页。
When the viewer does not start
查看器无法启动时
- or
uvnot found after installing uv: the app reads the login shell'suvx, so confirmPATHin a new shell, then restart the app.uv --version - No network on the first start after an install or an update: the pinned runtime could not be fetched. Restart the app once online.
- After a plugin update, restart the app: the first start fetches the new pinned runtime, which can take a few minutes on a slow connection. Threads started before the update keep the old one until the restart.
- 安装 uv 后仍找不到 或
uv:应用会读取登录 shell 的uvx,因此请在新 shell 中确认PATH,然后重启应用。uv --version - 安装或更新后首次启动时没有网络:无法获取固定版本的运行时。联网后重启应用即可。
- 插件更新后,重启应用:首次启动会获取新的固定版本运行时,在较慢的连接上可能需要几分钟。更新前启动的线程会继续使用旧版本,直至重启。