proteus-mcp
Imports KiCad connectivity: converts .kicad_sch files (via the KiCad CLI) or pre-exported KiCad XML netlists into new Proteus projects, with placeholder substitution for unknown parts and a report verifying reconstructed pin groups, substitutions, skips and simulation status.
Core target of the server: creates, inspects and edits Labcenter Proteus 8 schematics (component search/placement, wiring, values, terminals, probes), compiles Proteus connectivity, runs and controls simulations (start/pause/status/log/stop), and reads digital and analog probe values via an optional bridge DLL.
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.
proteus-mcp
Let an MCP-compatible assistant create, inspect and edit Labcenter Proteus 8 schematics, control simulations, read digital/analog probes, and import KiCad connectivity. The server exposes 41 tools over stdio.
Status: experimental Windows integration. The complete MCP-to-Proteus flow has been tested locally with Proteus 8.13.31525.0 and Python 3.10.11. This is not a guarantee for every Proteus build or project format. No Proteus licence, libraries, sample projects, or SDK headers are included.
Requirements
Windows, Python 3.10+ and the Windows
pylauncher. Other operating systems cannot run the native Proteus tools.A working, licensed Proteus 8 installation with schematic capture, the sample projects and any simulation models required by your circuit.
MCPBRIDGE.DLLfor live probes only. Editing and ordinary simulation controls work without the bridge. Proteus 8 loads a 32-bit x86 bridge even when Python and Windows are 64-bit.KiCad CLI for importing
.kicad_schfiles. Importing an already exported KiCad XML netlist does not require KiCad.
Proteus 8.13 is the locally tested target. The underlying adapter also contains 8.16 support, including build-specific memory readers guarded by fingerprints; other versions and translated menu labels need their own validation. Unsupported project structures are rejected rather than rewritten by guesswork.
Related MCP server: kicad-forge
Install
In PowerShell, clone and install with the same Python launcher used by your MCP client:
git clone https://github.com/mahmoud-elghamry/proteus-mcp.git
cd proteus-mcp
py -3 -m pip install --user .Or download the wheel from this repository's Releases page, change to its folder, and install it:
py -3 -m pip install --user .\proteus_mcp-0.1.0-py3-none-any.whlThe package does not depend on the clone's location or current working directory. If using a virtual environment instead, install inside it and configure your client to use that environment's Python executable. A virtual environment's absolute executable path is necessarily local configuration, not a path shipped in this project's code.
Optional live probes
Download MCPBRIDGE.DLL from Releases and place it in:
New-Item -ItemType Directory -Force "$env:LOCALAPPDATA\proteus-mcp"
Copy-Item .\MCPBRIDGE.DLL "$env:LOCALAPPDATA\proteus-mcp\MCPBRIDGE.DLL"Alternatively, build it with bridge\build.bat; see bridge/README.md.
The installed package finds the DLL in the per-user folder automatically. No
administrator access or modification of the Proteus installation is needed.
Connect an MCP client
For clients that accept mcpServers JSON, merge this entry into their existing
configuration. Do not replace unrelated servers:
{
"mcpServers": {
"proteus": {
"command": "py",
"args": ["-3", "-m", "proteus_mcp.server"]
}
}
}Examples are in examples/. The client must be able to find py and
the Python installation where you installed the package. Restart the client
after changing its configuration. There is no server port, cloud account, API
key, or paid service required by this project.
First ask the assistant to call proteus_info. It reports the executable,
version, library, KiCad CLI and bridge it actually found. A discovered path is
not a successful simulation: use the smoke test below to verify the full flow.
Nonstandard installations
Standard Windows installation folders are discovered from Windows environment
variables. For custom locations, set these variables in the MCP server's env
configuration (using the paths on that computer), then restart the server:
Variable | Meaning |
| Proteus installation folder containing |
| Data folder containing |
| Full path to a custom bridge DLL |
| Full path to |
| Set |
On the first new project, the server copies your installation's Rescap.pdsprj
sample, opens the copy in hidden Proteus, removes the master-sheet logo/title
artwork, saves it in the installed format and caches template-v2.pdsprj under
%LOCALAPPDATA%\proteus-mcp. The original sample is never edited. Master-sheet
cleanup uses Delete and leaves the user's clipboard alone.
After changing Proteus versions, remove this generated cache and let it rebuild.
Typical workflow
proteus_info, thenproject_new(path)orproject_open(path).Use
library_search,library_get,add_component,get_pins,connect,add_terminal,set_value,move_componentand other editing tools.save_project. Existing files requireoverwrite=true.open_in_proteuslaunches an owned, hidden Proteus process.compile_netlistreturns the connectivity compiled by Proteus itself.sim_start,sim_pause,sim_status,sim_log,sim_stopcontrol it.Always finish with
close_proteus.save=truestops simulation, saves the live changes, and closes. The default discards unsaved changes in the live app.
Coordinates are millimetres. Pin endpoints are REF.PIN, for example R1.2.
The server holds one offline circuit and one owned Proteus session at a time.
Work on copies of original projects. Saving the live app does not refresh the
offline circuit automatically; call project_open again before further editing
if you need to keep live property changes.
For probes, add add_probe before saving, then open and start simulation:
Digital:
probe_read,probe_set,probe_events.Analog:
probe_analog(volts).Deterministic stepping:
probe_hold,probe_step(seconds),probe_run.
One digital probe exposes up to 16 pins; one analog probe exposes up to 8. The current bridge drives the first digital probe; analog readings can aggregate multiple analog probes. Run only one bridge-enabled Proteus session per default pipe name; concurrent MCP servers using that same pipe are not isolated.
Tool results include ok; errors include error and an actionable hint. A
successful MCP transport response alone does not mean the operation succeeded.
KiCad import and simulation models
Call import_kicad(kicad_sch, out_pdsprj, placeholders=true). It writes a new
Proteus project and a neighbouring .report.json, then reopens the project and
verifies the reconstructed electrical pin groups for splits and unwanted merges.
The importer may replace an existing output/report: choose fresh paths.
This imports connectivity, not the source drawing or validated circuit behaviour. Source sheets become one grouped grid. Generic substitutions may have different ratings or behaviour. Firmware, power configuration and model parameters need separate review.
Unknown ICs can be represented by numbered, model-free headers. For example,
an isolator drawn this way retains pin-to-net connections but does not actually
isolate or transmit signals during simulation. The report identifies these in
simulation.placeholder_refs, lists substitutions/skips, and always states
simulation.verified=false. Disable this fallback with placeholders=false;
unsupported parts are then reported as skipped. Neither mode manufactures a
missing simulation model.
CLI equivalent for a pre-exported netlist:
py -3 -m proteus_mcp.kicad_import design.xml -o imported.pdsprj --template template.pdsprj --no-placeholdersThe CLI template is a project saved by your own compatible Proteus installation,
such as the generated template reported above. Inspect skipped, warnings,
counts and simulation in every report; connectivity verification can pass
for surviving pins even when some source components were skipped.
Develop and verify
py -3 -m venv .venv
.\.venv\Scripts\python -m pip install -e ".[dev]"
.\.venv\Scripts\python -m pytest -q -m "not proteus"
.\.venv\Scripts\python -m pytest -q -m proteusThe second group launches real hidden Proteus instances on disposable copies.
It tests 5 V/3.75 V/0 V analog readings, AND-gate inputs/output and transitions,
hold/step, pause/resume/stop, probe attachment, template creation, plus the full
stdio MCP flow including stop/restart and save/close. Tests that depend on a
local library/template skip when prerequisites are absent. The offline library
tests currently look for a locally prepared work/template813.pdsprj; create a
copy of the generated template there to enable them. Never commit that sample.
Windows named pipes, local loopback sockets and starting Proteus must be permitted by your test environment. A blocked Windows event-loop socket can look like a stalled test; this is not evidence that the server is operational.
Build a wheel with py -3 -m pip wheel . --no-deps -w dist. The wheel contains
the Python package, mapping JSON and notices; the bridge DLL is a separate asset.
CI checks the portable Windows test subset and wheel build without a licensed
Proteus installation; it does not certify native simulation on every machine.
Known limits and next work
Single-sheet structures and the native records recognized by this adapter. PCB layout generation and arbitrary multi-sheet editing are outside scope.
English native menu names and build-specific simulation controls.
No automatic model-equivalence claim for KiCad imports.
One active default bridge pipe; multi-process isolation is future work.
Further useful work: broader version testing, model-specific import mappings, sheet-aware layout, waveform export workflows and an installer/diagnostics UI.
See ISSUES.md for the tracked limits and STATE.md for
the verified handoff. The engine is adapted from proteus-automatic-api; see
NOTICE.md. Project code is MIT licensed. Proteus and its SDK remain
separate third-party software.
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, route, check, review and export manufacturable PCBs from plain language; KiCad import.
Read and edit the Revit 2024–2027 model on your PC. Needs the free Revit MCP add-in.
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, generate layouts with automatic component placement and routing, 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.
Build KiCad PCBs from requirements: schematic, placed and routed board, ERC/DRC. Read and edit them.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables querying PCB and schematic data and driving DelphiScript automation in Altium Designer via MCP.1310MIT
- AlicenseBqualityDmaintenanceProvides schematic/PCB analysis, authoring, and SPICE simulation through MCP, enabling direct KiCad file manipulation and verification without requiring KiCad for reading.18MIT
- AlicenseAqualityCmaintenanceEnables MCP-compatible assistants to inspect and edit the open PCB in KiCad, including reading board info, footprints, nets, tracks, selection, and BOM data, as well as moving footprints, adding tracks and text, updating BOM fields, and saving the board.13MIT
- AlicenseBqualityBmaintenanceEnables MCP-capable AI clients to query local Proteus component libraries, edit schematics and constrained PCB routing, build 8051 firmware, run simulations, and read verified pin and network states.532MIT