Skip to main content
Glama
proteus-mcp
by YaxOFF

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KICAD_CLINoFull path to kicad-cli.exe, if not on PATH or in its standard folder.
PROTEUS_DATANoProteus data folder containing LIBRARY and SAMPLES. For custom (nonstandard) installation locations.
PROTEUS_HOMENoProteus installation folder containing BIN\PDS.EXE. For custom (nonstandard) installation locations.
PROTEUS_MCP_VISIBLENoSet 1 to use the ordinary desktop for debugging.
PROTEUS_MCP_BRIDGE_DLLNoFull path to a custom bridge DLL.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
proteus_infoA

[info] Report the environment: Proteus install paths, PDS.EXE version, whether the probe bridge DLL (MCPBRIDGE.DLL) and kicad-cli were found, and the current workspace state. Call this first when something live (open_in_proteus, probes) fails.

library_searchA

[library] Search the installed Proteus device library by name (space separated words, all must match). Returns [{name, library}]. Use a returned name with import_device or add_component.

library_getA

[library] Describe one library device: pins, properties and symbol details.

project_newA

[project] Start a new empty in-memory project. path is where save_project will write it by default (.pdsprj); nothing is written yet. template is an optional template .pdsprj (default: an automatically provided Proteus 8 template).

project_openA

[project] Open an existing .pdsprj for offline editing (replaces the current project and closes any live Proteus session). Only sheets whose objects are fully understood can be opened.

project_summaryA

[project] Summarise the open project: path, unsaved-changes flag, component/net counts, power rails, terminals and live (Proteus) state.

list_componentsB

[project] List components: ref, device, value, position in mm and properties.

list_netsB

[project] List nets as lists of 'REF.PIN' strings (terminal/label names are merged in).

get_pinsA

[project] List a component's pins: name, number, direction and absolute position in mm. Use REF.name or REF.number as connect() endpoints.

save_projectA

[project] Write the in-memory project to disk. Without path, writes to the project's path; an existing file is only replaced when overwrite=true. Live tools need the project saved.

add_componentA

[edit] Place a component. device is a library device name (e.g. RESISTOR, CAPACITOR); it is imported automatically if missing. ref like R1, value like 10k, position in millimetres, rotation in degrees (multiple of 90).

import_deviceB

[edit] Import a library device into the project so it can be placed (add_component does this automatically for single-unit devices).

connectA

[edit] Connect two pins. Endpoints are 'REF.PIN' using a pin name or an unambiguous number, e.g. connect('R1.2', 'C1.1'). style='auto' draws one straight wire when the pins face each other on one line, otherwise puts the same net label on both pins (clean, no zigzag wires); 'label' always uses labels (net_name optional), 'wire' only a straight wire, 'routed' the multi-segment router. Tip: align parts so related pins line up for straight wires.

disconnectA

[edit] Remove the wire between pins a and b, or, if b is omitted, detach pin a from everything.

add_terminalA

[edit] Add a terminal. kind is one of label, input, output, bidir, power, ground. name is the net name (e.g. GND, VCC, SIG). pin ('REF.PIN') attaches it to a pin; x_mm/y_mm optionally fix its position. Returns the terminal id.

move_componentB

[edit] Move a component to an absolute position in millimetres (attached wires are re-routed).

rotate_componentB

[edit] Rotate a component by degrees (multiple of 90) relative to its current rotation.

delete_componentB

[edit] Delete a component; connectivity between its former neighbours is preserved.

set_valueA

[edit] Change a component's value text (e.g. '4k7', '100n'). Offline; see set_property_live to change a running project.

set_propertiesB

[edit] Merge device properties (e.g. {"TOL": "1%"}) into a component. Offline.

rename_componentC

[edit] Change a component's reference designator, updating all wiring.

configure_powerB

[edit] Define power rails and bind net names to them. rails: {"VCC": 5.0, "VDD": 3.3} (volts); mapping: {"VCC_IN": "VCC"} net name -> rail name.

open_in_proteusA

[live] Launch Proteus on the saved project file (the project must be saved and have no unsaved edits). visible=false (default) runs it hidden; visible=true shows the window so the user can watch (they should not click in it while a tool runs). Replaces any previous live session. Required before compile_netlist, set_property_live, export_image, run_erc, sim_* and probe_*. To use a Proteus the user already opened, call attach_proteus instead.

attach_proteusA

[live] Work in a Proteus the user already has open (their window, their project) instead of launching one. Picks the Proteus showing project (a .pdsprj path, also loaded for offline reading), or pid, or the only one running. All live tools then act on it. Safety: it is never closed or saved without an explicit request; close_proteus only detaches and leaves its simulation as is. To add parts or wires: save in Proteus, edit with the offline tools, save_project(overwrite=true), then reload_in_proteus.

reload_in_proteusA

[live] Make the attached/opened Proteus re-open the project file from disk (after save_project). If Proteus has unsaved changes it is NOT reloaded: the prompt is cancelled, nothing is lost or saved, and you should ask the user to save or discard first.

compile_netlistA

[live] Ask Proteus to compile the logical netlist and return its parts and nets (ground truth for connectivity as Proteus sees it). Needs open_in_proteus.

set_property_liveA

[live] Change properties (e.g. {"VALUE": "2k2"}) of a component inside the running Proteus project and verify by read-back. Edits Proteus's copy; call close_proteus(save=true) to keep them.

close_proteusA

[live] Stop the simulation and close Proteus (and the probe bridge). save=true saves the live project first. Always call this when finished so no PDS.EXE stays running. For a Proteus joined with attach_proteus it only detaches: the window, project and simulation stay as they are.

sim_startB

[simulation] Start (run) the simulation in the live Proteus session.

sim_stopB

[simulation] Stop the simulation.

sim_pauseB

[simulation] Pause the running simulation.

sim_statusA

[simulation] Current simulation state (running/paused/stopped) and simulated time.

sim_logB

[simulation] Return the simulation log (messages, warnings, errors).

export_graphB

[simulation] Run a graph-based simulation for the named graph and export its traces to a new .csv file. Returns the parsed trace data. Needs open_in_proteus.

add_probeA

[probe] Place a live-simulation probe part (wired to MCPBRIDGE.DLL) in the offline project. kind 'digital' or 'analog'; pins maps signal names to 'REF.PIN' endpoints, e.g. {"LED": "U1.PB5"} (a list of endpoints also works). Leave x_mm/y_mm empty to place it automatically to the right of the observed parts. Then save_project, open_in_proteus and sim_start before using probe_read etc.

probe_readA

[probe] Read the current digital probe pin levels: {reading: {t, pins: {pin number: '0'|'1'|'Z'|'X'}}, signals: {signal name: level}}. Needs a running simulation with a digital probe.

probe_setB

[probe] Drive a probe pin to '0', '1' or 'Z' (release).

probe_holdA

[probe] Pause the simulation through the bridge and return the simulated time (seconds). Use probe_step to advance deterministically.

probe_stepA

[probe] While held, advance the simulation by seconds and return the new simulated time.

probe_runB

[probe] Release a hold and let the simulation run freely.

probe_eventsB

[probe] Return recorded pin transitions: [{t, pin, value}].

probe_analogB

[probe] Read analog probe voltages: {t, volts: {name: volts}}.

import_kicadA

[import] Convert a KiCad schematic (.kicad_sch or exported netlist XML) to a Proteus .pdsprj. Writes the new file and returns the conversion report. Connectivity is verified, simulation equivalence is not. Unknown ICs become connectivity-only headers by default; set placeholders=false to skip them. Review skipped parts, substitutions and simulation warnings.

export_imageA

[live] Export the schematic as an image from Proteus itself: png (for you to look at), svg or pdf (all_sheets=true exports every sheet to one PDF). dpi (png only): 100, 200 or 300; use 200+ for small sheets or to zoom in. The file must not exist yet. Needs open_in_proteus. Returns the written path; read a PNG to see the circuit.

run_ercA

[live] Run Proteus's Electrical Rules Check. Returns {ok, errors, warnings} and saves the full report (default: next to the project as .erc.txt, replaced if it exists). Needs open_in_proteus.

set_sheet_sizeA

[live] Set the current sheet size (A4, A3, A2, A1 or A0) in the live Proteus project. Call close_proteus(save=true) to keep it.

probe_clear_eventsA

[probe] Forget recorded probe edges (start a fresh measurement window).

export_vcdB

[probe] Write every probe edge recorded so far to a VCD file (open it in GTKWave). Run the simulation (e.g. probe_step) first; probe_clear_events starts a new window.

measure_signalA

[probe] Frequency, period, duty cycle and high/low times of a probe pin, from the edges recorded so far (use probe_clear_events, then probe_step, for a clean window).

measure_delayA

[probe] Seconds from the first edge_a ('rise'|'fall'|'any') on pin_a to the first edge_b on pin_b after it, from the recorded probe edges.

run_testbenchA

[probe] Run a pass/fail testbench against the running simulation. bench is a dict or a .json path: {"name", "steps": [{"set": {"PIN": "1"}}, {"run": 0.001}, {"expect": {"PIN": "0"}}, {"expect_analog": {"PIN": {"min": 4.5, "max": 5.5}}}, {"expect_frequency": {"pin": "P", "min_hz": 900, "max_hz": 1100}}, {"expect_duty": {...}}, {"wait_for": {"pin": "P", "value": "1", "timeout": 0.01, "poll": 0.0001}}]}. Failed expectations are reported, not raised. Needs sim_start and a probe on the named pins.

firmware_buildA

[firmware] Compile AVR C sources with avr-gcc (the copy bundled with Proteus is found automatically) to .elf/.hex. mcu is a Proteus device or gcc name (ATMEGA328P / atmega328p); f_cpu in Hz. Returns hex path, flash/RAM bytes and warnings; compiler errors are returned in the error hint.

firmware_loadA

[firmware] Point microcontroller ref at a .hex file (PROGRAM) and optionally set its clock. With Proteus open (simulation stopped) it changes the live project; otherwise the offline circuit (then save_project). Typical loop: firmware_build -> firmware_load -> sim_start -> probe/testbench. For AVR parts clock_hz also clears the CLKDIV8 fuse so the simulated CPU really runs at clock_hz.

doctorA

[setup] Check this machine: Proteus install and version, library, template, probe DLL (32-bit), KiCad CLI, AVR toolchain, leftover PDS.EXE processes, MCP SDK. Each check has a fix.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 54 tools

Disambiguation4/5

The tools are cleanly grouped by bracket tags (project, edit, live, simulation, probe, import, firmware) and most actions target a distinct resource+lifecycle stage. The main overlap risk is offline vs live editing: set_value/set_properties vs set_property_live, save_project vs close_proteus(save=true), and reload_in_proteus vs attach_proteus — but the descriptions explicitly disambiguate these. Minor confusion remains between export_graph/export_vcd/export_image, but overall an agent can select confidently.

Naming Consistency4/5

The dominant pattern is consistent snake_case with a domain prefix (library_, project_, sim_, probe_, firmware_, export_) followed by an action, which is predictable and readable. Deviations are minor: a few bare verbs (connect, disconnect, doctor) and a mix of prefix+action (probe_read) vs verb+noun (save_project). Still largely uniform across 54 tools.

Tool Count2/5

54 tools is very heavy and well beyond the ideal band, even for a complex EDA+simulation+probing+firmware workflow. The grouping into ~9 domains keeps it navigable, but the surface is large enough that an agent must reason carefully about which of many similarly-themed tools to call.

Completeness4/5

Coverage is strong end-to-end: library lookup, project lifecycle, component/wire editing, live session control, simulation, probing/measurement, KiCad import, firmware build/load, and diagnostics. Minor gaps exist — no remove_terminal, no explicit multi-sheet management, and no BOM/PCB export — but these are work-aroundable within the stated scope.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues