Digital MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DIGITAL_APP | No | Path to Digital.app. Needed for open=true on macOS. | |
| DIGITAL_JAR | No | Path to Digital.jar. Recommended for running Digital's headless CLI for tests and SVG export. | |
| DIGITAL_JAVA | No | Optional path to Java. Java 21 is recommended. | |
| DIGITAL_PROJECT_ROOT | No | Optional project root for the Digital simulator repository. | |
| DIGITAL_MCP_OUTPUT_DIR | No | Optional output directory for generated files. |
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| digital_build_circuitB | Build a Digital .dig file from a structured circuit design, optionally test, render and open it. The host AI should translate text or an attached image into this design object. |
| digital_inspect_circuitB | Read a Digital .dig file and return its elements, positions, attributes and wires. |
| digital_run_testsB | Run the test cases embedded in a Digital .dig file through Digital's headless CLI. |
| digital_render_circuitA | Render a Digital .dig file using Digital's CLI. Kept for compatibility; use digital_export_rendered_image for the explicit SVG/PNG interface. |
| digital_open_circuitC | Open a .dig file in the modern Digital.app on macOS. |
| digital_load_circuitC | Load a .dig file into the modern Digital.app on macOS using the safest available launcher; returns loaded, app, path and launcher. |
| digital_export_rendered_imageA | Export a rendered image of a .dig circuit. format=svg reuses Digital's CLI SVG export; format=png (default) generates the SVG first, then converts it at the requested pixel width with DIGITAL_SVG_CONVERTER or rsvg-convert/magick/convert/inkscape from PATH. |
| digital_export_simulation_imageB | Apply input/button states such as {A: 1, B: 0}, render the live Digital model, and export a high-resolution SVG or PNG snapshot. The circuit is simulated headlessly; the GUI is not driven. |
| digital_export_truth_table_imageA | Read embedded Digital Testcase data, validate it with Digital's simulator, and export a polished truth-table/results image as SVG or high-resolution PNG. |
| digital_design_schemaA | Return the structured design schema and supported common gate pin conventions. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
digital_open_circuit and digital_load_circuit both launch the same GUI app with only subtle differences in return metadata, and digital_render_circuit is an explicit legacy duplicate of digital_export_rendered_image. These overlapping pairs create real misselection risk, even though the build/inspect/test/export tools are otherwise distinct.
The tools consistently use a digital_ prefix with snake_case action phrases such as run_tests, build_circuit, and export_*_image. digital_design_schema is slightly off-pattern because it reads as a noun phrase rather than verb+object, but there is no mixed casing or chaotic style.
Ten tools is a reasonable size for a circuit design/simulation server, and most tools correspond to a meaningful step in the workflow. The set is slightly padded by redundant legacy/GUI variants, so it is not perfectly minimal.
The server covers the core workflow from design schema to build, inspect, test, simulate, and export images, so agents can complete end-to-end tasks. There is no tool for updating/deleting an existing circuit, but rebuilding from a structured design largely mitigates that gap.