DeepSeek Harness Plugin dsh-nx: Secure Local Siemens NX Automation via MCP

前言

DeepSeek Harness (DSH) adopts an “everything is a plugin” architecture philosophy, extending model capabilities through MCP (Model Context Protocol). In the CAD domain, automated operations on Siemens NX often require executing underlying code, which poses security risks. dsh-nx aims to provide secure NX operation capabilities in a local environment via the MCP interface.

这是什么

dsh-nx is an experimental DeepSeek Harness bundle maintained by ethanrise. It enables secure local Siemens NX automation via MCP.

核心功能

This plugin provides the following features:
* Health checks and capability queries
* Create new parts
* Named expression operations
* Draw rectangular and circular sketches
* Extrude, simple holes, rectangular patterns
* Constrained fillets and chamfers
* Feature lists and body measurements
* Secure save as and undo
* STEP AP242 export
* Session state management
* Pre-check and post-mutation validation tools

安装与启用

Run the following command in the target profile configuration file to install the plugin:

dsh plugin --profile web add github:ethanrise/dsh-nx

The plugin also releases pre-built dsh-nx.tgz assets, which avoids TypeScript compilation on the target machine.

典型用法

For specific integration examples and architecture descriptions, please refer to the project documentation docs/architecture.md, the example file located at examples/four-hole-plate.json, and the Windows scripts directory scripts/.

适用场景与注意

  • Experimental Nature: The current version does not yet include the NX 2512 bridge that is natively accepted by NX. Mock results always contain mock: true and will not write to .prt or STEP files.
  • Production Prohibition: Do not use this version on real parts.
  • Security Boundaries: The plugin does not expose arbitrary journal, Python, C#, or shell execution tools. Siemens NX installation, licenses, and user files are not included in the plugin.

短结尾

dsh-nx provides a secure entry point for accessing local Siemens NX via MCP. Developers can refer to the documentation for integration and testing, but should note that the current version is experimental.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye