Altium Designer MCP 快速入门

Altium Designer MCP Server 是 Altium Designer 的扩展,可让 Claude 等 AI 助手读取您当前打开的设计并对其执行操作。本指南将带您完成从安装到首次针对实际电路板提问的整个过程。

前提条件

要求 说明
Altium Designer 26.5 or later 下载地址: https://www.altium.com/products/downloads。
MCP add-on license 除了常规 Altium Designer 许可证外,还需要 Altium Designer MCP 功能。请在 License Management 下查看。
An Altium 365 workspace 评论、项目历史记录与修订版本,以及元件和库查询均需要此项;使用前三项功能时,还需登录,并将项目托管于其中。仅针对原理图提问则不需要。
An AI client on the same PC Claude Desktop 是推荐的入门选择。也原生支持 OpenAI Codex 和 VS Code。

Running several copies of Altium Designer at once is supported ——每个对话会绑定到其中一个实例,也可以通过指令切换。请参阅 运行多个 Altium Designer 实例时。

步骤 1:安装 AI 客户端

从 https://claude.ai 安装 Claude Desktop 并登录。

首次使用须知:

  • 您可以在 Claude 中选择不同的模型(例如 Opus 和 Sonnet)。Opus 的推理能力更强,更适合设计审查;Sonnet 速度更快、费用更低。您可以为每个对话切换模型。

  • 也可以使用其他 AI 客户端,但它们对 MCP 的支持有所不同。以下说明以 Claude 为例;Codex 和 VS Code 也有相同的按钮。

步骤 2:在 Altium Designer 中安装 MCP Server 扩展

  1. 启动 Altium Designer。

  2. 转到 Extensions and Updates。

  3. 在扩展列表中找到 MCP Server 并安装。

  4. Restart Altium Designer.

步骤 3:将 Altium Designer 连接到 AI 客户端

  1. 在 Altium Designer 中,打开 Preferences → Data Management → MCP Server。

  2. 确保已勾选 Enable MCP Server。

  3. 在 Client Connections 区域中,选择您所用客户端的选项卡: Claude、 Codex、 VS Code 或 Custom。

  4. 点击 Install。此操作会自动将连接设置写入 AI 客户端的配置文件。完成后,按钮会变为 Uninstall。

  5. Fully close and reopen your AI client,以便重新读取配置。

Closing Claude Desktop really means closing it. 点击 ✕ 只会隐藏窗口。请右键点击 Windows 系统托盘(右下角时钟旁)中的 Claude 图标,选择 Quit,然后通过桌面图标重新启动。

If you had an earlier version registered,请先点击 Uninstall,再点击一次 Install。Claude Desktop 更新后也应执行相同操作——更新有时会重置配置,导致 Altium 连接器消失。

If the Install button does not work(例如在权限受限的计算机上),请使用显示的配置块:点击其右上角的图标进行复制,然后自行粘贴到客户端的配置文件中。Open Config 按钮可打开该文件所在的位置,其工具提示会显示写入的确切路径。对于 VS Code,请使用 Ctrl+Shift+P → MCP: Add Server → HTTP,然后粘贴 VS Code 选项卡中显示的配置。

步骤 4:检查是否正常工作

  1. 在 Altium Designer 中打开一个项目(首次测试最好使用 Altium 365 工作区中的项目,因为这样也能启用评论功能)。

  2. 启动 AI 客户端。

  3. 确认 Altium 工具已列出并启用。在 Claude Desktop 中,点击消息框中的 + 并选择 Connectors ——您应当看到以下两项,且均已开启:

    • Altium Designer MCP ——原理图数据、ERC、历史记录与修订版本、评论
    • SCH Library ——符号创建和引脚分配工具
  4. 提出一个简单的问题,例如: "List all nets in my active project using the Altium MCP."

  5. 当 Claude 请求权限时,请批准工具调用。

如果返回了合理的网络列表,就说明设置已完成。请直接转到步骤 5。否则,请参阅 故障排除。

步骤 5:立即试用

以下是 立即试用 中十二条提示词中的四条。每条都经过精心挑选,旨在展示仅将网表或截图粘贴到聊天窗口中 not 获得的信息,让您能够直接用自己的设计快速判断其价值。请原样复制,无需了解任何工具名称。

这些提示词使用 Altium Designer MCP 连接器。请先打开一个项目。

1. Get your bearings.

"Using the Altium MCP, give me a one-page overview of this project: sheets, component counts, the power rails, and the ten nets with the most pins."

验证助手确实在读取您的设计,并提供一个基准,供您与自己掌握的信息进行核对。

2. Trace a signal, then see it on the sheet.

"What is connected to the RESET pin of U1? List every pin on that net with its component, value and direction — then highlight that net on the schematic."

为您解析跨图纸连接关系,并在 Altium Designer 中直接呈现结果:在当前图纸上选中该网络,并缩放显示。

3. Run a real review pass.

"Run ERC, summarise the violations by severity and by sheet, then show me which checks are switched off in the configuration."

最后一个分句才是关键——如果不知道哪些规则被禁用,即使 ERC 未报告问题,意义也不大。

此提示词使用 SCH Library 连接器。创建或打开一个 .SchLib(或在元件编辑器中创建或打开一个工作区元件),然后点击该文档,使其成为活动文档。

4. Build a symbol from a part number.

"Create a symbol for STM32F103C8T6 in the library I have open. Show me the full pinout table for review before you build anything."

自动为您查找元件。审查表是把关环节——请先仔细阅读,再确认。

后续步骤

AI-LocalizedAI 翻译
如您发现任何问题,请选中相关文本/图片,并按 Ctrl + Enter 键向我们提交反馈。
Contents
Contents