Skip to main content
Glama

dsh-pcb-lens

Review PCB layouts inside a DeepSeek Harness session — IPC-2581 XML (RevA, RevB, RevC) and Cadence Allegro .brd boards (Allegro 16.0 to 25.1), read directly — with no Cadence installation and no EDA license.

This is the DeepSeek Harness package of pcb-lens, the layout companion of universal-netlist. Built for the dsh-* plugin ecosystem: one command to install, nothing else to do. The MCP server is bundled into the package, so there is no global install, no PATH requirement, no download and no network when a session starts.

dsh plugin --profile web add dsh-pcb-lens

Restart the profile if your host does not reload bundles in place. Then ask about a layout, or call the tools directly:

mcp__pcb-lens__get_pcb_metadata  file=/path/to/board.brd
mcp__pcb-lens__get_pcb_net       file=/path/to/board.brd name=DDR_D0
mcp__pcb-lens__get_pcb_component file=/path/to/board.brd refdes=U5
mcp__pcb-lens__get_pcb_drc       file=/path/to/board.brd
mcp__pcb-lens__get_constraints   file=/path/to/board.brd

The tool set covers metadata and stackup, components, nets and routing, layers, footprints, DRC, design constraints, and the two Windows-only exporters.

How it is built

The package keeps exactly one reference to upstream: the @intelligentelectron/pcb-lens devDependency, pinned to an exact version. scripts/build.mjs bundles that release — injecting upstream's own BUILD_VERSION, so the server reports the release's version and not this package's — into the single file vendor/server.mjs. It is generated, not committed, and shipped through the prepack script.

Nothing from upstream is copied into this repository. Updating the bundled server means bumping that one version and running npm run build.

No skill is shipped: the MCP server sends its own instructions to the model on connect, so a second copy of the same guidance would only compete with it.

Related MCP server: CadenceAI MCP

Requirements

  • DeepSeek Harness 0.2.1 or newer (declared in engines.dsh)

  • Node.js 22.15 or newer

Upstream declares Node.js 24 in its engines, but the server runs on Node 22 — this package is built and tested on 22.22.2.

Configuration

Both fields live in the inserted row, editable under Plugins in the DSH Web UI or in the profile's cordis.patch.yml:

Field

Default

Meaning

serverName

pcb-lens

Namespace of the tool names: mcp__<serverName>__<tool>

toolCallTimeoutMs

120000

Per-call timeout; a large .brd takes a moment to parse

failOnStartupError

false

Leave unset so a broken server never blocks DSH startup

Remove

dsh plugin --profile web remove dsh-pcb-lens

Compatibility

DSH

Status

0.2.1-rc.2

tested

< 0.3.0-0

expected to work; engines.dsh allows it

License

Apache-2.0. The bundled server and its dependencies are Apache-2.0 as well; see NOTICE for the attribution this redistribution requires.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      B
      maintenance
      Enables reading, analysis, and safe modification of DipTrace PCB designs via natural language, with live integration and offline XML support.
      167
      26 PyPI
      29
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Exposes Cadence EDA tools such as OrCAD Capture, Allegro PCB Designer, and PSpice to AI assistants, enabling them to browse PCB files, generate schematics and netlists, and run circuit simulations through a license-free, cross-platform interface.
      13
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables inspection of existing KiCad boards and schematics — layer/component/net reading, native DRC and ERC, XML netlist generation, Gerber/Excellon export, and GND continuity auditing — plus running LTspice or ngspice simulations with RAW waveform summaries and CSV export. It checks existing designs and preserves artifacts and evidence rather than performing GUI editing, auto-placement, or auto-routing.
      Apache 2.0
    • A
      license
      B
      quality
      C
      maintenance
      Enables constrained KiCad layout, autorouting orchestration, ECO revision analysis, and manufacturing evidence packaging through MCP tools and persistent engineering jobs with native DRC/ERC verification.
      25
      Apache 2.0