DipTrace MCP
The DipTrace MCP server provides a comprehensive suite of tools for reading, analyzing, reviewing, and safely editing DipTrace PCB and schematic designs through official XML formats, with support for live sessions, libraries, manufacturing outputs, and transactional integrity.
Document & Server Management: Create new schematic or PCB documents (from scratch or seed files), retrieve document info and capabilities, check server status, and manage live bridge sessions.
Design Queries & Summaries: Retrieve full board or schematic models, query objects with structured selectors, list components/nets/texts/testpoints, get connectivity graphs and design rules, and read raw XML fragments.
Schematic Authoring: Add sheets, place parts from libraries, connect/disconnect pins, add/delete wires (using official Wire/Points structure), add net labels, and set no-connect markers.
PCB Layout Editing: Move, rotate, lock/unlock components; set side, value, pattern, and custom fields; align, distribute, group/ungroup components; edit board texts and testpoints (add/move/remove); set panelization parameters.
Routing & Placement: Add or replace trace paths between pad endpoints, add vias, route multiple nets (including differential pairs) with congestion-aware algorithms, analyze placement and silkscreen, generate and apply placement and silkscreen plans.
Net & Rule Management: Rename nets, assign nets to net classes, update net class rules (width, clearance, diff pair, length constraints).
Library Operations: Scan and query component/pattern libraries, retrieve and validate library items with pin-to-pad mapping.
BOM & Manufacturing Outputs: Generate, group, review, and export BOMs; compare BOM to design; export fabrication and assembly artifacts (generic); synchronize schematic and PCB designs.
Design Reviews & Analysis: Run DRC/ERC-style reviews, testpoint coverage checks, BOM consistency validation, and schematic-PCB comparison.
Transactions & Provenance: All edits are transactional with staging, preview, validation, commit/rollback, and SHA-256 conflict protection; apply low‑level XML patches with guards; record and validate round‑trip evidence.
Live Sessions (Windows): Connect to DipTrace via bridge, apply or cancel live edits with GUI confirmation and safety checks.
External Integrations: Import/export DSN/SES, run Freerouting jobs, and interface with ngspice/openEMS adapters.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DipTrace MCPSummarize the active PCB design and show any DRC errors."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DipTrace MCP
DipTrace MCP is a local Model Context Protocol server for reading, analysing, reviewing, and performing guarded edits on DipTrace PCB and schematic projects. It consists of:
diptrace-mcp, the MCP server used by Codex, Claude Desktop, and other MCP clients;diptrace_mcp_bridge.exe, the Windows plug-in bridge for projects currently open in DipTrace;an internal EDA-intelligence layer for deterministic schematic/PCB intent, candidate generation, scoring and guarded improvement;
an optional cinematic presentation layer for calibrated visible DipTrace UI replay and MP4/GIF capture.
Current status
The source/package version remains 0.2.1. The annotated v0.2.1 GitHub
development prerelease and diptrace-mcp==0.2.1 on PyPI were published on
2026-08-05 with:
DipTrace-MCP-Setup-0.2.1.exe;DipTrace-MCP-Portable-0.2.1.zip;DipTrace-MCP-0.2.1-windows.mcpb;wheel, source distribution, checksums, SBOM, dependency, notice, provenance, and release records.
Development has continued on main after that immutable release. Current
post-release work includes the schematic layout/placement-routing foundation,
PCB Generations A-D, the 90% combined supported-environment coverage gate, and
cinematic UI calibration/replay. The initial 18-case real-DipTrace schematic
authoring/readability campaign is complete and its bounded fixes were merged by
PR #90. Those later main features are not retroactively part of the published
v0.2.1 bytes.
The previous v0.2.0
and current v0.2.1 release identities remain immutable. Existing tags and
published files are never replaced.
The Windows executables are unsigned. CI, SHA-256, PyPI Trusted Publishing, and package attestations establish tested behaviour, byte identity, and publication provenance. They do not create a trusted Authenticode signature, universal compatibility, independent review, or production readiness.
Related MCP server: kicad-mcp
Public Release Status
The project uses the OSI-approved Apache-2.0 open-source LICENSE. Participation
and release controls are documented in CONTRIBUTING.md, GOVERNANCE.md,
docs/LICENSE_DECISION.md, docs/PUBLIC_RELEASE_CHECKLIST.md,
docs/RELEASE_PROCESS.md, CHANGELOG.md, and CITATION.cff. Security reports
use the private security channel; a verified Code of Conduct enforcement channel
is not yet published.
Python archives are built from an exact allowlist and audited for entry points, packaged skills, bounds, metadata, and every
RECORDhash and size.PyPI publication uses GitHub OpenID Connect and a protected
pypienvironment; no long-lived PyPI API token is stored.The PyPI publish job receives only the already validated wheel and source distribution from the separate build job.
Windows installer, bridge, standalone executable, configurator, portable bundle, and MCPB remain unsigned development assets.
CI, checksums, Trusted Publishing, and attestations do not create a code-signing or production-readiness claim.
What it provides
The public MCP surface remains 159 registered tools, 157 public
DipTraceService methods, and 148 explicit Facade-to-domain-service
delegations. Runtime get_capabilities remains authoritative for the active
installation and document.
Main public capability groups:
PCB, schematic, Component Library, and Pattern Library reading and modelling;
structured DRC/ERC, connectivity, BOM, assembly, DFM/DFA/DFT, comparison, and signal-integrity assistance;
guarded component, schematic, NetClass, text, trace, via, panelisation, placement, routing, and synchronisation workflows;
preview, expected SHA-256, policy, backup, atomic replace, rollback, and live-session apply/cancel boundaries;
optional Freerouting, ngspice, and openEMS process adapters;
local stdio and trusted-loopback Streamable HTTP transports.
Internal EDA development deliberately does not expand that public tool surface
one heuristic at a time. The current schematic stack includes design intent and
reference motifs, hierarchical and bounded multi-candidate placement,
conservative pin-geometry resolution, non-mutating wire planning, pin-aware
joint placement/routing scoring, bounded placement repair, and selective atomic
replacement of affected existing wire geometry. schematic_atomic_reroute.py
rebuilds only affected explicit sheet-local nets as one dependency-safe
delete_wire -> move_components -> add_wire semantic batch while preserving
unaffected explicit geometry and the existing guarded transaction boundary.
The initial 18-case real-DipTrace schematic authoring/readability campaign is complete. The final repaired stress schematic contained 22 parts, 48 pins, 16 nets, and 32 wires; it was operator-accepted and survived real DipTrace Save/Close/Reopen/re-export with all 12 required schematic semantic categories preserved. This is exact-scope product evidence, not a claim of globally optimal layout, arbitrary hierarchy/topology support, or universal DipTrace compatibility. Future schematic host retests are impact-based or tied to genuinely new claims.
The PCB design engine is implemented through four internal bounded generations:
Generation A: engineering intent, functional blocks, net criticality and intent-aware placement v2;
Generation B: stackup/reference context, conservative PDN/return-path/noise analysis and via roles;
Generation C: routing-policy compilation, route ordering, observed-route SI checks, copper strategy and placement feedback;
Generation D: lexicographically safe whole-board candidate selection and a synthetic engineering-trap benchmark catalog.
Missing current, edge rate, impedance, stackup authority, current density and other physical facts remain explicit unknowns. PCB Generation D still requires real-DipTrace product acceptance before stronger native-host claims are made.
An internal raw-preserving Component/Pattern Library mutation core now exists and has controlled real Component Editor/Pattern Editor round-trip evidence. That does not create a public native-library MCP write contract; public registration remains a separate API/product decision.
The cinematic subsystem can replay already-planned schematic/PCB actions through a calibrated visible DipTrace UI and capture MP4/GIF demonstrations. It is a presentation path, not the authoritative engineering write path: preview, expected SHA, transaction and semantic validation remain authoritative. Exact editor/version-specific calibration and UI macros still require real-client validation.
DipTrace MCP is not a replacement for DipTrace's interactive EDA engine. It does not claim native Gerber/NC Drill generation, fabrication sign-off, Novarm/DipTrace endorsement, universal DipTrace 5.x compatibility, field-solver accuracy, PI/EMC sign-off, or globally optimal schematic/PCB layout.
Installation
PyPI
Python 3.10 or newer is required:
python -m pip install diptrace-mcp==0.2.1
diptrace-mcp --helpThe PyPI package installs the Python MCP server and packaged skills. It does not
install the Windows DipTrace bridge plug-in automatically. A current main
checkout may contain post-release development that is not present in this
published package.
Windows installer
Download
DipTrace-MCP-Setup-0.2.1.exeandSHA256SUMS.txtfrom the samev0.2.1GitHub Release.Verify the SHA-256 value.
Run the installer and select the DipTrace location, workspace, state directory, and optional Codex/Claude configuration.
Restart DipTrace and the MCP client.
Call
get_capabilities.
Windows may show a SmartScreen warning because the binaries are unsigned.
Portable Windows bundle
Download and verify DipTrace-MCP-Portable-0.2.1.zip, extract it to a stable
location, read its README_FIRST.txt, and use the included helper tools.
Python source installation
git clone https://github.com/fireostendere/mcp_diptrace.git
cd mcp_diptrace
python -m venv .venv
. .venv/bin/activate
python -m pip install -e .
diptrace-mcp --helpSee installation from release assets for the complete path.
MCPB, Registry, and Smithery
Version 0.2.1 is already published through the prepared distribution route:
deterministic Windows MCPB packaging;
canonical Registry identity
io.github.fireostendere/diptrace-mcp;official Registry
server.jsongeneration from a public MCPB URL and verified SHA-256;Smithery/registry metadata preparation from the same immutable MCPB;
PyPI Trusted Publishing for the Python server.
The MCPB contains the self-contained Windows stdio server. It does not silently install the DipTrace bridge plug-in. Live exchange requires the matching bridge and settings from the same GitHub release/source candidate.
See MCP distribution and package publication.
Architecture
MCP client (Codex / Claude / other)
|
| stdio or trusted loopback HTTP
v
FastMCP
|
v
application/service layer
|
+--> typed domain services
+--> internal EDA intelligence
| +--> schematic layout / joint scoring / repair
| +--> PCB Generations A-D
+--> shared stores, policy, cache, document gateway
|
v
typed semantic operations
|
v
guarded preview / SHA / transactions
|
v
XML files / shared state
^
|
diptrace_mcp_bridge.exe
^
|
DipTrace
presentation-only branch:
planned actions -> calibrated cinematic replay -> visible UI / recordingIntelligent layout modules emit normal semantic operations/plans and stay behind the existing preview/SHA/transaction/review safety path. Cinematic replay is not a second semantic authority.
Safety model
The main write invariants are:
paths remain inside configured allowed roots;
XML is bounded and parsed before mutation;
previews and commits are bound to exact SHA-256 values;
existing targets are backed up;
writes use temporary files and atomic replacement;
policy and conservative write-impact limits are enforced;
live apply rechecks the working, exchange, and original-file identities;
cancel preserves the host state for the exact accepted/tested paths and is not generalized to every future DipTrace/profile combination without evidence;
user-controlled sidecars cannot mint high trust;
internal EDA heuristics cannot silently invent physical facts or bypass the guarded semantic-operation path;
cinematic replay is presentation automation and is not semantic acceptance evidence by itself.
The private/manual Q1 Component Angle GUI/re-export campaign is PASS on DipTrace
PCB Layout 5.3.0.3. Package-owned public evidence/trust promotion remains a
separate reviewed contract, and the immutable v0.2.1 release record correctly
retains its earlier NOT_RUN release-time status. Real Codex restart is PASS;
Claude Desktop restart is WAIVED for the current project campaign, not PASS.
The initial 18-case schematic product-quality campaign is PASS for its recorded
scope. Windows lifecycle gates remain pending; the next project-required formal
gate is windows_clean_install_repair_uninstall.
Data Handling
DIPTRACE_MCP_WORKSPACEselects the ordinary workspace; caller paths remain subject toDIPTRACE_MCP_ALLOWED_ROOTSand literal path checks.DIPTRACE_MCP_STATE_DIRstores local records plus live-sessionoriginal.xmlandworking.xml; explicitapplyorcancelcontrols finalisation.Freerouting, ngspice, and openEMS run only through typed local process boundaries and isolated job directories; online sourcing is disabled by default.
MCP
stdiokeeps traffic on local process pipes and does not create a network listener.streamable-httpis intended only for trusted loopback use, for example127.0.0.1:8765; OAuth and multi-user isolation are not implemented.User projects, private evidence, proprietary libraries, and screenshots are not uploaded or committed automatically; the operator controls external data and publication.
Development and testing
The combined supported-environment coverage gate is 90%. The geometry-enabled Linux full-suite job intentionally retains an 85% Linux-only floor; Linux fallback, macOS and Windows coverage are combined for the repository-wide gate. Selected critical modules also have dedicated per-file floors.
See Testing and Development.
Documentation
Contributing, security, and license
Contributions use DCO 1.1 and the provenance/privacy rules in CONTRIBUTING.md. Report suspected vulnerabilities through the private channel in SECURITY.md, not public issues.
Apache License 2.0. See LICENSE.
Maintenance
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables analysis of KiCad electronic schematics through natural language queries to search components, trace signal paths, explore connections, and analyze multi-board systems.301MIT
- AlicenseNot gradedqualityBmaintenanceEnables natural language interaction with KiCad projects, schematics, and PCBs, supporting project management, design rule checking, netlist extraction, and datasheet RAG search.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to design PCBs in KiCAD through natural language, with transactional preview-verify-commit workflow, undo/redo, and an engineering knowledge base.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to read and modify KiCAD PCB designs through the KiCAD IPC API, providing tools for board queries, footprint placement, track creation, DRC, and export.14MIT
Related MCP Connectors
Electronic component sourcing, BOM management, and PCB design workflows.
Electronic component datasheets for AI agents — specs, pinouts, package data on demand.
Convert Revit files to XKT, IFC, or DWG and query BIM data via natural language.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fireostendere/mcp_diptrace'
If you have feedback or need assistance with the MCP directory API, please join our Discord server