rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
PROJECT README
dsh-solidworks is an enterprise-grade AI CAD plugin designed for DeepSeek Harness (DSH) and standard MCP clients that bridges conversational AI directly to your local SolidWorks desktop session. Control SolidWorks using intuitive natural language, automate 3D parametric modeling, execute safe dimension adjustments, and enjoy atomic transaction rollbacks for risk-free CAD workflows.
dsh-solidworks — AGPL-3.0-onlysolidworks-automation-skill Python MCP server (MIT, vendored under vendor/, see NOTICE)npm run setup), comprehensive diagnostics (npm run doctor), safe upgrade with auto-backups (npm run upgrade), and non-destructive uninstaller (npm run uninstall).<= 0.0003 mm³ / <= 4.7e-4 relative delta across 27/71 covered tools); post-unification live SW re-run is currently blocked by local Student Edition expiration (L5-BLOCK-01).read-only, standard, full) with strict path confinement, host-native ctx.approval interactive human authorization (solidworks_confirm self-approval is disabled / SELF_APPROVAL_PROHIBITED), and SW_LOCK_WAIT_TIMEOUT_SECONDS fast-fail isolation against modal/Head-of-Line stalls.No manual Python path tuning, environment variable editing, or manual DLL registration is required.
engines.node >=22.12)Open your terminal in the plugin directory and run:
npm run setup
The setup script automatically:
.venv).mcp, pydantic, pywin32, comtypes, etc.) silently with idempotency.pywin32_postinstall.py to register SolidWorks COM automation interfaces.dsh_adapter.js (to emit a standalone direct MCP client config only when explicitly needed, run node scripts/generate_mcp_config.js --write-direct-config).Verify your environment at any time using the 12-dimensional health check:
npm run doctor
All checks will report green [✔ PASS] when your machine is ready to drive SolidWorks.
To seamlessly hook this plugin into your DeepSeek Harness or any standard MCP client, run:
npm run mcp-config
This outputs a validated MCP configuration block tailored to your local environment.
For standalone MCP hosts (such as Claude Desktop or custom agents):
{
"mcpServers": {
"solidworks-cad": {
"command": "C:\\Users\\User\\dsh-solidworks-plugin\\.venv\\Scripts\\python.exe",
"args": [
"C:\\Users\\User\\dsh-solidworks-plugin\\vendor\\solidworks-automation-skill\\mcp-server\\server.py"
],
"env": {
"DSH_ALLOWED_ROOTS": "[\"C:\\\\Users\\\\User\\\\Documents\\\\SolidWorks_Models\"]",
"PYTHONUNBUFFERED": "1"
}
}
}
}
| Command | Description |
|---|---|
npm run setup |
Automatically configure virtual environment & register COM |
npm run setup -- --optional |
Install optional DFM manufacturing & Office report extensions |
npm run doctor |
Run comprehensive 12-point system diagnostic |
npm run upgrade |
Auto-backup existing configs and perform safe incremental upgrade |
npm run uninstall -- --dry-run |
Preview safe cleanup targets (never touches your CAD assets) |
npm run uninstall -- --yes |
Perform non-destructive cleanup of plugin runtimes |
npm test |
Run core offline test suite (85 assertions across 4 offline suites; npm run test:all: 201 assertions across 20 suites including 42 Python suites) |
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: mcp、deepseek、deepseek-harness。