Altium MCP Portable
Controls an installed Altium Designer desktop instance to inspect schematic pins, edit and route PCB connections, prepare and save PCB documents, query board objects, place components, preview ECOs, and run native DRC.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Altium MCP Portable
Altium Designer에서 회로도 핀 조회, PCB 배선, 저장과 설계 규칙 검사(DRC)를 실행하는 Windows용 MCP 서버입니다. 같은 도구를 터미널에서도 실행할 수 있습니다.
설치
Windows 10/11의 대화형 데스크톱, 설치·활성화된 Altium Designer, 64비트 CPython 3.11–3.14가 필요합니다. 저장소를 받은 폴더에서 실행합니다.
py -3.11 -m venv .venv
.\.venv\Scripts\python.exe -m pip install .
.\.venv\Scripts\altium-mcp-portable.exe call get_server_status릴리스 wheel을 받은 경우 마지막 설치 인수 . 대신 해당 .whl 파일을 지정합니다. 잠금 파일에 기록된 의존성을 그대로 설치하려면 저장소에서 uv sync --locked --no-editable을 실행합니다. Altium이 하나만 실행 중이면 그 설치본을 사용하고, 모두 닫혀 있으면 설치 목록을 조회합니다. 여러 버전을 열었을 때는 --altium-exe로 대상을 지정합니다. 실제로 응답한 창의 프로세스와 실행 파일을 대조한 뒤 문서를 엽니다.
Related MCP server: PCB Weaver
MCP 클라이언트 연결
클라이언트의 stdio 서버 설정에 아래 항목을 추가하고 두 경로를 본인 PC의 절대경로로 바꿉니다. 작업 폴더에는 편집할 프로젝트의 독립 사본을 둡니다.
{
"mcpServers": {
"altium": {
"command": "C:/Tools/altium-mcp/.venv/Scripts/altium-mcp-portable.exe",
"args": ["--workspace", "D:/PCB/working-copy", "serve"]
}
}
}명령행 사용
특정 디자인 워크스페이스에서만 작업하려면 전역 옵션 --project-group "D:\PCB\Design.DsnWrk" 또는 ALTIUM_MCP_PROJECT_GROUP을 지정합니다. --workspace는 편집할 사본의 디렉터리입니다. --project-group은 Altium에 이미 열린 디자인 워크스페이스를 확인합니다. 실행 중 창이나 프로젝트 그룹이 바뀌면 다음 편집 명령을 중단합니다.
$tool = ".\.venv\Scripts\altium-mcp-portable.exe"
& $tool --workspace D:\PCB\working-copy call prepare_pcb --document Project/Input.PcbDoc --output Project/Prepared.PcbDoc
& $tool --workspace D:\PCB\working-copy call get_unrouted_connections --document Project/Prepared.PcbDoc
& $tool --workspace D:\PCB\working-copy call route_connections --document Project/Prepared.PcbDoc --args-file route.json
& $tool --workspace D:\PCB\working-copy call run_drc --document Project/Prepared.PcbDocroute.json에는 예를 들어 {"nets":["NET_NAME"],"layers":["Top Layer"],"save":true}를 넣고 NET_NAME을 기판의 실제 넷 이름으로 바꿉니다. 핀 조회에는 get_schematic_pins --document Project/Sheet.SchDoc --args-file pins.json과 {"designators":["J1"],"unit":"mil"}을 사용합니다. 사용 가능한 명령은 call --help, 각 MCP 도구의 인수와 필수 항목은 클라이언트의 도구 목록에서 확인합니다.
도구 | 결과 |
| 서버, Altium 실행 파일, 브리지 스크립트 확인 |
| 현재 프로젝트 그룹과 열린 문서의 수정·활성 상태 조회. 구버전에서는 프로젝트 및 편집 중인 설계 문서를 조회 |
| 핀 좌표 조회, 두 점 사이 배선과 선택적 저장 |
| 지정한 프로젝트와 PCB의 변경 미리보기. ECO 적용은 Altium에서 실행 |
| 기판 객체 조회, 지정한 부품 배치 |
| 실제 미배선 수와 넷별 조회, 지정 구간 배선 |
| 내장 STEP과 동박을 검사한 새 바이너리 PCB 생성, 기존 작업 사본 저장 검증 |
| 해당 기판의 활성 규칙으로 새 네이티브 DRC 보고서 검증 |
prepare_pcb는 모델을 원래 PCB의 STEP 데이터로 등록하고, 위반에 관련된 폴리곤을 재계산합니다. 대상이 특정되지 않아 전체 활성 폴리곤을 재계산했을 때 다른 위반 또는 미배선이 늘면 검증한 기존 동박을 선택합니다. 결과의 published와 board_drc를 함께 확인하세요. 설계 위반이 남은 새 작업 사본은 published=true, board_drc=FAIL일 수 있습니다.
CLI 종료 코드 0은 성공, 1은 작업 실패 또는 DRC 위반·중단입니다. MCP에서는 같은 결과를 JSON과 isError로 전달합니다. 배선 저장은 disk_saved와 saved_sha256으로 확인합니다. Altium의 저장이 중단되면 먼저 파일 구조와 저장 전 사본을 확인합니다. 동시에 바뀐 유효한 파일을 발견하면 두 버전을 보존합니다. 작업마다 실제 DRC 보고서와 저장 백업 경로가 다를 수 있습니다.
동일한 데스크톱을 사용하는 편집 작업은 한 번에 하나씩 실행합니다. route_connections는 넷별 배선 도구이며 차동쌍 동시 배선이나 길이 매칭은 별도로 검토합니다.
Altium 버전 호환성
바이너리 PCB에 기록된 하위 버전 호환성 경고를 실제 응답한 편집기 버전과 대조합니다. 편집기가 보존할 수 없는 기능이 선언된 경우 prepare_pcb, 부품 배치, 배선 적용, 저장은 문서를 열기 전에 종료합니다. 결과의 format_warnings에서 필요한 버전과 Altium 경고를 확인할 수 있습니다. 조회와 DRC에는 해당 경고를 함께 반환합니다. 이 검사는 파일에 기록된 기능 선언을 기준으로 합니다.
Altium Designer 20.1.14와 26.11.1에서 시험했습니다. 20.1.14에서는 호환되는 두 기판으로 저장과 DRC를 확인했고, 23.6 풋프린트 파라미터가 있는 기판은 편집을 차단합니다. 26.11.1에서는 내장 모델 복구, 배선, 저장본 재열기와 DRC를 확인했습니다. 여러 버전이 실행 중이면 --altium-exe로 선택합니다. Windows가 명령을 다른 설치본으로 전달하면 서버는 설계 파일을 열기 전에 중단합니다. 이 경우 선택한 버전만 실행 중인 데스크톱에서 다시 시도할 수 있습니다.
빌드와 시험
.\.venv\Scripts\python.exe -m pip install build
.\.venv\Scripts\python.exe -m unittest discover -s tests -v
.\.venv\Scripts\python.exe -m buildWindows CI는 패키지를 새로 설치해 stdio 연결과 자동 회귀 검사를 실행합니다. 실제 PCB 저장·재열기와 DRC에는 Altium이 설치된 데스크톱을 사용합니다. 릴리스 소스에는 설계 파일, 사용자 경로 설정, Altium 프로그램을 포함하지 않습니다. 상위 프로젝트와 라이선스는 NOTICE.md에 기록했습니다.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Design and revise PCBs from plain language, track jobs, and retrieve design artifacts.
EasyGerber brings AI printed circuit board (PCB) design, layout, and routing to MCP-compatible assistants. Describe a circuit or start from firmware pin assignments, search published electronic components, and build schematics using catalog parts with their footprints and available 3D models. Create and revise boards with your AI assistant. The AI places the components on the board, and EGT-2 Vela routes the copper connections between them. Inspect previews and check saved layouts for blocking design issues. Export manufacturing ZIPs containing Gerber and drill files, a bill of materials, and component placement data, or download an editable EasyGerber (.egb) file. Start without signing up. Your agent uses one private board reference to create and continue a board, including catalog access, edits, layout, checks, previews, and exports, without a separate guest setup step or token to manage. To keep the board in your account or work with permitted saved personal or organization boards, complete EasyGerber sign-in and OAuth consent, then resume the same task. Account permissions, plan limits, and generation billing apply; support depends on your MCP client and installed integration.
Design, route, check, review and export manufacturable PCBs from plain language; KiCad import.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables querying PCB and schematic data and driving DelphiScript automation in Altium Designer via MCP.1310MIT
- AlicenseBqualityCmaintenanceEnables constrained KiCad layout, autorouting orchestration, ECO revision analysis, and manufacturing evidence packaging through MCP tools and persistent engineering jobs with native DRC/ERC verification.25Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables an AI or MCP-compatible client to read and edit a live Altium Designer session in place, with optional KiCad and EasyEDA Pro backends, covering schematic, PCB, library, project, design-review, audit, and automation workflows.719 PyPI418Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants and other MCP clients to inspect and edit live KiCad 10 PCBs, run headless ERC/DRC checks, generate manufacturing packages, search symbol and footprint libraries, and directly edit schematics with backups and read-only safety controls.1MIT