Skip to main content
Glama
altium

altium

by WJSGZZ

Altium Designer plugin

An MCP server that lets an AI agent work in Altium Designer on your Windows PC: read and edit schematics, create symbols and footprints, place and route a PCB, run ERC and DRC, and produce outputs. It has about 90 tools and drives the Altium that is open on your desktop through Altium's own DelphiScript engine, so nothing has to be installed inside Altium.

What was learned using it on Altium Designer 26 is built into the server itself: the tool descriptions say what each tool can and cannot do, and scripts are checked before they run for calls known to fail or misbehave on AD26.

中文说明见 README.zh-CN.md.

Requirements

  • Windows 10 or 11, with the agent running on the same PC as Altium. (Agent on a Mac and Altium in a Windows VM is possible too; see extras/vm-bridge/.)

  • Altium Designer, activated. Tested on AD 26.1.1; other recent versions should work but have not been tried. The server finds X2.EXE itself; if it cannot, it asks you to pick it the first time a tool runs.

  • Python 3.10 to 3.14, callable as python. Check in PowerShell: python -c "import sys; print(sys.version)". If that opens the Microsoft Store or fails, install Python from python.org and tick "Add python.exe to PATH". On Windows on ARM use the x64 Python (one dependency has no ARM64 wheel).

  • Internet on first start. The server creates its own virtual environment in %USERPROFILE%\.altium-mcp and installs a hash-locked set of packages (mcp, pillow, pywin32). This takes up to a minute or two; later starts are instant.

  • Nothing to enable in Altium. It must run in your logged-in desktop session (the server starts it if it is not open).

Related MCP server: Altium MCP Suite

Install

Download the release zip (or clone this repository) and put the folder somewhere permanent, for example C:\Tools\altium-designer-plugin. The commands below use that path; replace it with yours.

Claude Code

The folder is also a one-plugin marketplace (.claude-plugin/marketplace.json), so:

claude plugin marketplace add C:\Tools\altium-designer-plugin
claude plugin install altium-designer@altium-designer-local

Start a new Claude Code session. To try it without installing: claude --plugin-dir C:\Tools\altium-designer-plugin.

Codex

Put the plugin in your personal plugin folder and list it in your personal marketplace:

Copy-Item -Recurse C:\Tools\altium-designer-plugin "$env:USERPROFILE\.codex\plugins\altium-designer"

%USERPROFILE%\.agents\plugins\marketplace.json (create it, or add the entry to an existing one):

{
  "name": "local-plugins",
  "plugins": [
    {
      "name": "altium-designer",
      "source": { "source": "local", "path": "./.codex/plugins/altium-designer" },
      "policy": { "installation": "AVAILABLE", "authentication": "ON_INSTALL" },
      "category": "Productivity"
    }
  ]
}

Restart Codex and enable the plugin. The plugin's mcp.json starts the server with ${PLUGIN_ROOT}/start_server.py. This has not been tested on Codex. If the altium tools do not appear, register the server directly instead:

codex mcp add altium --env ALTIUM_MCP_SNAPSHOT_PS1=C:\Tools\altium-designer-plugin\tools\snapshot.ps1 -- python C:\Tools\altium-designer-plugin\start_server.py

Claude Desktop

Settings → Extensions → Advanced settings → Install Extension…, and pick claude-desktop\altium-mcp.dxt. (Alternatively add the server to claude_desktop_config.json yourself, with "command": "python" and the full path to start_server.py in args.)

Check that it works

  1. Server starts on its own (no Altium needed). In PowerShell, from any folder:

    python C:\Tools\altium-designer-plugin\start_server.py

    The first run spends a minute building the environment, then waits silently for MCP input: that is success. Stop it with Ctrl+C. If it exits with an error instead, read %USERPROFILE%\.altium-mcp\build.log.

  2. In the agent, ask: "Call the altium tool get_server_status." It should report the X2.EXE it found. In Claude Code, /mcp should list altium as connected.

  3. Open a project in Altium and ask: "List the documents open in Altium." (list_open_documents).

The first tool call after a fresh install can time out while the environment is still being built. Wait a minute and reconnect (/mcp in Claude Code, or restart the app).

Settings

Environment variables, set for the server (in the host's MCP config or for your Windows user):

Variable

Default

What

ALTIUM_MCP_BACKUP

on

0 turns the automatic project backups off

ALTIUM_MCP_BACKUP_MAX_MB

500

cap on %USERPROFILE%\altium-backups

ALTIUM_MCP_USER_KEEP / ALTIUM_MCP_USER_DAYS

10 / 7

your versions kept per document, and for how many days

ALTIUM_MCP_PROTECTED_LIB_DIRS

lib;shared_libs;teacher_libs

folders whose libraries the server never saves (it stops a restart and asks instead)

ALTIUM_MCP_AUTO_RESTART

on

0 stops the automatic Altium restart when memory runs out

ALTIUM_MCP_RESPECT_SELECTION

off

1 keeps the agent off objects you have selected

ALTIUM_MCP_HOME

%USERPROFILE%\.altium-mcp

where the environment, config and log live

What is where

Path

What

start_server.py, requirements.txt, server/

MCP server

tools/snapshot.ps1

project backup the server runs before a batch of edits (%USERPROFILE%\altium-backups)

.claude-plugin/, .mcp.json

Claude Code manifest, marketplace and server config

plugin.json, mcp.json, .codex-plugin/

portable Agent Plugins manifest (Codex) and Codex overlay

claude-desktop/

Claude Desktop extension

extras/vm-bridge/

optional: agent on another computer than Altium

CITATION.cff

how to cite this software

RECEIPT.json

SHA-256 of every file and the source commit

Files the server writes while it runs: C:\Users\Public\altium_mcp\ (exchange with Altium, change log, screenshots), %USERPROFILE%\.altium-mcp\ (environment, config, log), %USERPROFILE%\altium-backups\ (project backups).

Uninstall

Remove the plugin in your host (claude plugin uninstall altium-designer, or disable it in Codex or Claude Desktop), then delete the folders above if you no longer want them.

Acknowledgements and citation

This package is built on coffeenmusic/altium-mcp by Stephen Thompson and its contributors (MIT): the Altium scripting bridge and most of the tools come from there. On top of it, this package adds fixes and checks found on Altium Designer 26, safeguards for working beside a user in the same Altium session, automatic project backups and Altium restarts, and packaging for Claude Code, Codex and Claude Desktop. Details are in NOTICE.md.

If you use it in your work, cite it with the metadata in CITATION.cff (GitHub shows a "Cite this repository" button for it), and please also cite the upstream project. BibTeX:

@software{wjsgzz_altium_designer_plugin,
  author  = {WJSGZZ},
  title   = {altium-designer-plugin: an MCP server for Altium Designer},
  version = {0.1.0},
  date    = {2026-11-27},
  url     = {https://github.com/WJSGZZ/altium-designer-plugin},
  license = {MIT},
  note    = {Based on coffeenmusic/altium-mcp by Stephen Thompson}
}

License

MIT. See LICENSE and NOTICE.md.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to read and modify Pulsonix 10.x schematics and PCB layouts through the CAD tool's ActiveX scripting API on Windows. Supports inspecting and editing components, nets, netlists, BOMs and attributes, running ERC/DRC and CAM/plot outputs, and executing arbitrary scripts in headless or live mode.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI clients to drive Altium Designer by reading the active document context, editing schematics, PCBs, and component libraries, and managing live bridge sessions with automatic recovery and source-snapshot script deployment. It bundles three coordinated servers (a Python control bridge, a legacy Python bridge, and an independent Rust library file server) that can be installed and configured on Windows alongside a running Altium instance.
      14
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables an AI assistant to drive Altium Designer on Windows without screen automation, covering schematic entry, GOST/ESKD-compliant drawings, ECO, board setup, design rules, placement, autorouting, DRC, statistics, DXF export, and BOM generation.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to drive PADS Logic schematics and PADS Layout/Router PCB 9.x through COM automation, including part and wire placement, agent-planned trace routing, design rules, impedance, and DRC checks.
      1
      MIT