Skip to main content
Glama
netlist

netlist

by JonahLiu
README.md
# dsh-universal-netlist

Read EDA designs **inside a DeepSeek Harness session** — Cadence OrCAD `.DSN`,
Altium `.PrjPcb`, KiCad `.kicad_pro`, Universal Netlist `.netlist.json` — with no
Cadence, Altium or KiCad installation and no EDA license.

This is the DeepSeek Harness package of
[universal-netlist](https://github.com/IntelligentElectron/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.

```sh
dsh plugin --profile web add dsh-universal-netlist
```

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

```
mcp__netlist__list_designs    path=/path/to/hardware
mcp__netlist__query_component design=/path/to/board.DSN refdes=U1
mcp__netlist__query_xnet_by_net_name design=/path/to/board.DSN net_name=SPI_CLK
mcp__netlist__run_erc         design=/path/to/board.DSN
```

Eleven tools: `list_designs`, `list_components`, `list_nets`, `search_nets`,
`search_components_by_refdes`, `search_components_by_mpn`,
`search_components_by_description`, `query_component`, `query_xnet_by_net_name`,
`query_xnet_by_pin_name`, `run_erc`.

## How it is built

The package keeps exactly one reference to upstream: the
`@intelligentelectron/universal-netlist` devDependency, pinned to an exact
version. `scripts/build.mjs` bundles that release — with the upstream project's
own `BUILD_VERSION` / `BUILD_CHANNEL=packaged` build flags, so the server reports
the release's version and never tries to self-update — 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.

## Requirements

- DeepSeek Harness `0.2.1` or newer (declared in `engines.dsh`)
- Node.js 22.15 or newer

## 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` | `netlist` | Namespace of the tool names: `mcp__<serverName>__<tool>` |
| `toolCallTimeoutMs` | `120000` | Per-call timeout; parsing a large design takes a second or two |
| `failOnStartupError` | `false` | Leave unset so a broken server never blocks DSH startup |

## Remove

```sh
dsh plugin --profile web remove dsh-universal-netlist
```

## 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.