Logo
Contact Us
Cookies Policy
Terms of Use
Privacy Policy
phone
Vivi (Sales)
phone
Lucy (Sales)
phone
Ban (Sales)
phone
+86 755-2845-3125

  • EN
  • RU
RFQ List
    • Logo
    • RFQ List
      • Manufacturers
      • Hot Products
      • RFQ
      • Blog
      • Tools
      • Sourcing Solutions
      • PCB/SMT
      • About Us
    RFQ
    Certification badge
    Certification badge
    Certification badge
    Certification badge
    Certification badge
    Certification badge
    Certification badge
    Certification badge
    Certification badge
    Certification badge
    Certification badge
    Certification badge
    CONTACT US
    +86 755-2845-3125
    [email protected][email protected][email protected]
    Room 2709B, 5A Office Building, Longguang Jiuzuan, Hongshan, Longhua District, Shenzhen, China
    Company
    • Blog
    • About Us
    • Contact Us
    Resources
    • Categories
    • Manufacturers
    • Tools
    • RFQ
    Quick link
    • Privacy Policy
    • Terms of Use
    • Cookies Policy
    • Refund & Return Policy
    • Shipping & Delivery Policy
    Payment
    • Payment method
    • Payment method
    • Payment method
    • Payment method
    Logistics
    • Logistics partner
    • Logistics partner
    • Logistics partner
    • Logistics partner

    © 2026 Copyright. All Rights Reserved. Made by ICAllIn

    Part number
    Part number
    1. Home/
    2. Blog Home/
    3. PCB Solution/
    4. Codex Altium MCP: Bridge Setup, Layout & PCB Release Checks
    PCB Solution2026-11-21

    Codex Altium MCP: Bridge Setup, Layout & PCB Release Checks

    Codex Altium MCP Workflows: Review Checks for AI PCB Design

    Author: Lucy Lu | Published for icallin.com | Updated: November 12, 2026

    A Codex Altium MCP workflow connects an external coding client directly to Altium Designer's scripting API so an AI agent reads and edits native schematic and PCB objects instead of clicking screenshots. Exposing structured CAD queries reduces visual guesswork during part placement, net wiring, and rule inspection, yet tool execution alone does not prove electrical or safety correctness. Engineering sign-off still owns circuit topology, creepage boundaries, analog sense geometry, and final fabrication release.

    Evaluating this setup through the same stage-gate discipline used in PCB AI tool evaluation by workflow stage keeps responsibility clear. Whether your team runs a GPT-6 PCB workflow or pairs Codex with another reasoning model, the model operates inside the host client while an open-source bridge translates requests into Altium DelphiScript commands. Treating every automated edit as a draft candidate—verified against datasheets, native DRC rules, and standalone CAM inspection—turns experimental AI PCB design into an auditable engineering process.

    Understand what the Altium scripting bridge controls

    An Altium scripting bridge provides a local command translator that converts Model Context Protocol (MCP) tool requests from the AI client into native CAD operations executed against live Altium documents. Instead of parsing pixels from screen captures, the client requests structured queries—such as listing project sheets, placing library symbols, updating net labels, or reading compiled violation counts—and receives text responses.

    As outlined in OpenAI's Model Context Protocol documentation for Codex, the MCP host runs outside the target application and communicates with registered tool servers over local stdio or network endpoints. In community Altium integrations such as the Apache-2.0 salitronic/eda-agent repository, four distinct software layers participate in every action:

    1. Codex AI client: Hosts the language model, plans multi-step prompts, and dispatches structured MCP tool calls.
    2. Local Python MCP server (eda-agent): Validates tool arguments and writes serialized command payloads into a local workspace directory.
    3. Workspace request/response mailbox: Exchanges JSON request and reply files on the Windows workstation running Altium Designer.
    4. Altium DelphiScript polling loop (Altium_API.PrjScr / StartMCPServer): Executes native scripting calls against the open .PrjPcb, .SchDoc, and .PcbDoc files and returns status data.

    Because third-party MCP bridges are community-maintained open-source packages rather than official Altium products, review repository code, license terms, and data-sharing boundaries before connecting proprietary hardware projects. Remember that a local Python bridge only keeps the CAD execution step local; unless your organization runs an approved enterprise endpoint, prompts and netlist context sent to the model traverse the configured AI service.

    Register the bridge and verify live document identity first

    Connecting a Codex Altium MCP session safely requires starting with read-only inspection on a version-controlled backup copy of your board project. Install the Python bridge (Python 3.11+ on Windows alongside Altium Designer), register the stdio server inside ~/.codex/config.toml with --headless mode enabled, install the global script project in Altium Preferences, and launch StartMCPServer from Dispatcher.pas.

    Before permitting any write operations, run read-only queries (EDA_AGENT_READONLY = "1" where supported by your pinned commit) to prove that the bridge sees the exact open project, schematic sheets, library paths, and active PCB document. Confirming document identity up front prevents an agent from modifying a stale backup sheet or pulling footprints from an unapproved global library.

    Scope write permissions in small, reviewable increments:

    • Snapshot before every stage: Commit the native Altium project in Git before symbol creation, schematic wiring, placement, or routing passes so any bad batch edit rolls back cleanly.
    • Disable blind UI-automation fallbacks: Keep operations restricted to deterministic scripting calls (EDA_AGENT_UI_AUTOMATION = "0") rather than simulated mouse clicks.
    • Read back CAD state after each command: Verify the compiled netlist or placed coordinates directly inside Altium after every tool batch instead of trusting chat summaries.

    illustration

    Figure 1. Structured MCP tool calls link Codex to live Altium documents, while human engineering review governs safety isolation crossings and precision Kelvin sense geometry.

    Convert circuit briefs into explicit isolation and sensing constraints

    Translating a hardware brief into explicit electrical boundaries requires defining every safety barrier and sense loop before asking an AI agent to select components or wire schematic sheets. Consider an illustrative AC energy-metering board combining a mains-referenced shunt sensor IC, an isolated DC/DC module, and a low-voltage MCU over UART: if the prompt only asks for "an isolated metering board," an automated draft can easily place an isolated power converter while leaving UART lines directly referenced to mains neutral or routing load current through measurement traces.

    State every domain boundary and analog measurement constraint as hard numerical and topological inputs before schematic generation:

    • Galvanic isolation per crossing: Specify both the isolated power stage and a dedicated digital isolator or optocoupler across every UART or GPIO line crossing between mains-referenced ("HOT") circuitry and user-accessible MCU logic, paired with target clearance, creepage, and board cutout dimensions per PCB CTI, creepage, and material-group selection.
    • Differential Kelvin routing on shunt resistors: As detailed in TI's current-sensing signal-path application brief SBOA167B, millivolt-level shunt voltages require dedicated differential sense traces tapped directly at the inner resistor terminals so high load current and solder-pad resistance do not corrupt ADC readings.
    • Complete orderable part numbers and package suffixes: Pin maps, thermal pads, and voltage ratings change across package codes; approve exact MPNs against manufacturer datasheets before letting an agent build schematic symbols or IPC land patterns.

    Audit schematic connectivity and physical placement hierarchy

    Reviewing schematic connectivity requires checking both the compiled electrical netlist and the human readability of the drawn sheets. An MCP script can place wires that miss pin hot spots by one grid unit, tie two domains together through a reused GND power port (GND_HOT vs. GND_ISO), or stack text labels over component bodies. Run Altium's project compiler, inspect single-pin nets and power-object scope across sheets, and verify every pin-to-pad assignment against the component datasheet.

    Once the netlist synchronizes cleanly into the .PcbDoc, enforce a physical placement hierarchy before allowing any automated or assisted routing:

    1. Lock mechanical and safety anchors first: Fix mounting holes, enclosure keep-outs, high-current terminal blocks, and the physical isolation barrier slot separating primary mains copper from secondary MCU circuitry.
    2. Place functional groups by current and noise: Keep AC surge protection and shunt terminals short and self-contained on the primary side; place the isolated DC/DC converter and digital signal isolator straddling the creepage boundary; group the MCU, crystal, and local bypass capacitors tightly on the secondary side.
    3. Orient Kelvin and high-speed pins for direct escape: Rotate the metering IC and anti-aliasing RC filter so differential shunt sense pairs exit symmetrically without crossing noisy switching nodes.

    Route critical nets first and require evidence-based PCB release checks

    Routing critical nets before ordinary logic interconnects requires constraining high-current trunks and sensitive sense pairs first so automated passes do not consume reference-plane space or violate safety spacing. Route high-current mains trunks, differential Kelvin routing pairs, and decoupling loops under explicit net-class width and clearance rules first, refill all copper polygons, and run Batch DRC as described in Altium Designer's Design Rule Check (DRC) documentation.

    Because zero DRC violations only proves compliance with the rules currently enabled in the constraint matrix, pair automated rule counts with the broader sign-off framework in our ERC, DRC, and DFM verification scope guide:

    Automated output or agent statusRisk of accepting at face valueIndependent PCB release check required
    Tool call returns success in CodexCommand executed on wrong sheet, missed grid pin, or changed unintended netRead back compiled Altium objects and inspect schematic/PCB diff in Git
    0 ERC / Batch DRC violations reportedCritical creepage, net-tie, or high-voltage clearance rules disabled or mis-scopedAudit enabled rule matrix and measure primary-to-secondary clearance across all layers
    Autorouted sense & power copperLoad current shared with sense pad or broken ground return beneath fast edgesVisually trace Kelvin sense pick-offs at shunt pads and verify continuous return planes
    Exported fabrication & assembly archiveOutdated polygon pour, missing board slot in drill file, or rotated polarized footprintFollow Altium's Preparing for Manufacture guide and inspect Ucamco Gerber, NC drill, BOM, and centroid files in a standalone CAM viewer

    Table 1. Engineering verification gates required between Codex Altium MCP execution and production file release.

    Frequently Asked Questions

    Q1: Does running a GPT-6 PCB workflow in Codex eliminate manual schematic and DRC review?

    No—upgrading the reasoning model inside a Codex Altium MCP setup improves multi-step tool planning, but the model still lacks direct physical accountability for datasheet pinouts, safety creepage standards, or disabled CAD rules. Every AI-assisted board requires independent datasheet pin-to-pad verification, enabled Batch DRC auditing, and standalone Gerber/BOM inspection before fabrication.

    Q2: Why is MCP preferred over screenshot-based computer-use agents for Altium Designer?

    An Altium scripting bridge queries and modifies native CAD data structures—returning exact pin coordinates, net names, and DRC violation lists in compact text—whereas screenshot agents must infer dense copper geometry from compressed pixels and GUI clicks. Structured CAD access reduces coordinate errors and token overhead while keeping every change inspectable inside native .SchDoc and .PcbDoc files.

    Conclusion

    A disciplined Codex Altium MCP workflow provides script-level CAD speed governed by strict hardware engineering sign-off. By locking versioned project backups, specifying galvanic isolation and Kelvin routing boundaries up front, verifying netlists and floorplans before routing, and auditing exported Gerbers and BOMs independently, teams can accelerate Altium layout work without sacrificing release confidence.

    Written by Lucy Lu for icallin.com.

    Need Help With PCB Manufacturing or PCBA Assembly?

    Share your PCB manufacturing or PCBA assembly requirements with icallin through our dedicated quotation page.

    Submit Your PCB/SMT Requirements

    Lucy Lu
    Lucy Lu
    Facebook
    LinkedIn
    Reddit

    Related Blogs

    View All Blogs
    ODB++ Files in PCB Manufacturing: Layer & Drill Checks
    PCB Solution
    2026-11-23

    ODB++ Files in PCB Manufacturing: Layer & Drill Checks

    Prepare ODB++ files for PCB manufacturing and CAM review: verify the layer matrix, blind and buried drill spans, netlist parity, and fabrication notes.

    Read More
    Popular Blogs
    PCB Solution
    PCB Solution2026-06-24

    PCB Market Outlook 2026-2027

    PCB Solution
    PCB Solution2026-06-24

    PCB Capacity Expansion

    4
    AI PCB API Workflow: Bridge Checks & Recovery Guide
    PCB Solution
    2026-11-23

    AI PCB API Workflow: Bridge Checks & Recovery Guide

    Build a reliable AI PCB API workflow with local EDA bridges, native CAD objects, symbol-to-pad checks, netlist read-back, and safe timeout recovery.

    Read More
    3
    PCB Signal and Power Integrity for USB-C Mixed-Signal PCBs
    PCB Solution
    2026-11-22

    PCB Signal and Power Integrity for USB-C Mixed-Signal PCBs

    Protect PCB signal and power integrity on USB-C mixed-signal boards: check continuous ground return paths, 5V input protection, PDN loops, and 90 Ω routing.

    Read More
    6
    Claude Code Altium PCB Design: MCP Setup & Release Checks
    PCB Solution
    2026-11-22

    Claude Code Altium PCB Design: MCP Setup & Release Checks

    Guide Claude Code Altium PCB design via an MCP server: verify eda-agent setup, audit schematic netlists and placement, and check DRC and OutputJob exports.

    Read More
    9
    Relay Pinout Check: 4-Pin, 5-Pin, 8-Pin & PCB Footprints
    PCB Solution
    2026-11-21

    Relay Pinout Check: 4-Pin, 5-Pin, 8-Pin & PCB Footprints

    Verify any relay pinout before PCB layout: map coil and COM/NO/NC terminals across 5-pin, 8-pin octal, and 30/85/86/87 relays, and confirm bottom-view pads.

    Read More
    9
    Relay Flyback Diode: Polarity, VRRM & Zener Clamp Guide
    PCB Solution
    2026-11-20

    Relay Flyback Diode: Polarity, VRRM & Zener Clamp Guide

    Select a relay flyback diode with verified cathode polarity, coil-current and VRRM margins, and compare standard vs. Zener or TVS clamps for fast release.

    Read More
    7
    PCB Solution
    PCB Solution2026-06-24

    PCB Price Shock

    PCB Solution
    PCB Solution2026-06-24

    PCB Allocation Market

    PCB Solution
    PCB Solution2026-08-31

    PCB Thickness for Connector and Enclosure

    PCB Solution
    PCB Solution2026-08-24

    Common PCB Thicknesses

    Hot Products
    H5AN8G8NCJR-XNC

    H5AN8G8NCJR-XNC

    SK HYNIX

    BQ27441DRZR-G1AG4

    BQ27441DRZR-G1AG4

    Texas Instruments

    ISO7721DR

    ISO7721DR

    Texas Instruments

    VN7050AJTR

    VN7050AJTR

    STMicroelectronics

    H5CG46MEBDX015N

    H5CG46MEBDX015N

    SK HYNIX

    FS32K118LFT0VLHT

    FS32K118LFT0VLHT

    NXP

    Need Reliable IC Sourcing?

    We help buyers reduce risk, save time, and secure available stock.

    1. We inspect parts before shipment to help reduce quality risk.
    2. We verify supplier sources to support safer component purchasing.
    3. We provide traceability support when available, including labels, date codes, and origin information.
    4. We check packaging condition to help avoid handling, storage, or delivery issues.
    5. We support global shipping to help buyers receive parts across regions.
    6. We respond quickly to BOMs, part numbers, stock checks, and urgent RFQs.
    7. We provide clear quotations with price, stock, lead time, and key purchase details.
    8. We help you source available stock and select discounted parts to reduce procurement costs.
    Submit RFQ or BOM List

    Fast quote for global buyers