About Dsh Solidworks
Dsh Solidworks is an MCP server published by tian-yu200 in the Blockchain category: deepSeek Harness integration for safe, high-level SolidWorks automation, built on SolidPilot. Conduid read 61 tools from its source: activate_document, add_cosmetic_thread, add_dimension, add_draft, add_drawing_dimension, add_drawing_view and 55 more. No package is published for it, so it installs from a source checkout.
The repository has 34 stars and 4 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include automation, cad, deepseek, deepseek-harness and solidworks.
Install
git clone https://github.com/tian-yu200/dsh-solidworksTools (61)
activate_documentSwitch the ACTIVE SolidWorks document to an already-open one by its title (e.g. 'gear' or| Parameter | Type | Description |
|---|---|---|
| title * | string |
add_cosmetic_threadAdd a COSMETIC thread to the mouth of an existing bore — the annotation a drawing reads as a| Parameter | Type | Description |
|---|---|---|
| depth | number | Blind thread length in METERS — required > 0 for end_type 0/1/3, ignored for 2 |
| diameter * | number | NOMINAL MAJOR diameter in METERS (0.005 = an M5) — NOT the tap-drill diameter |
| edge_index * | integer | Index of the CIRCULAR edge at the bore mouth, from analyze_model(analysis_type='edges') — those edges report kind='circle' with center/normal/radius. A non-circular edge fails as COSMETIC_THREAD_FAILED |
| end_type | integer | swCosmeticEndConditions_e: 0=blind (default), 1=blind up to next, 2=through, 3=blind 2xDia. NOT the extrude end-condition enum |
| note | string | |
| size * | string | |
| standard | integer | swCosmeticStandardType_e: 8=ISO (default), 13=GB, 4=DIN, 9=JIS, 0=ANSI Inch, 1=ANSI Metric, 7=Helicoil Metric |
| standard_type | string |
add_dimensionApply a smart dimension to the sketch segment nearest to point (px, py).| Parameter | Type | Description |
|---|---|---|
| label_offset_x | number | |
| label_offset_y | number | |
| px * | number | |
| py * | number | |
| value * | number | Dimension value in METERS (e.g. 0.05 = 50mm) |
add_draftDRAFT selected PLANAR faces about a neutral plane face — the wall taper a casting or molded part| Parameter | Type | Description |
|---|---|---|
| angle * | number | Draft angle in RADIANS — 3 deg = 0.052360, 5 deg = 0.087266, 8 deg = 0.139626. NOT degrees (unlike extrude_feature's angle) |
| face_indices * | string | |
| flip_direction | boolean | |
| neutral_face_index * | integer | Planar face the drafted walls stay attached to (the neutral plane), from analyze_model(analysis_type='faces') |
| propagate | integer | swDraftFacePropagationType_e: 0=none (only the listed faces, default), 1=next tangent faces on the base neutral plane, 2=all neighbours of the neutral plane, 3=neighbours on inner loops, 4=neighbours on the outer loop (the sides of a box about its bottom face) |
| volume_expect | string |
add_drawing_dimensionAdd a smart dimension to a drawing view segment nearest to point (px, py).| Parameter | Type | Description |
|---|---|---|
| label_offset_x | number | |
| label_offset_y | number | |
| px * | number | |
| py * | number | |
| value * | number | Dimension value in METERS |
add_drawing_viewAdd a model view to the active drawing sheet.| Parameter | Type | Description |
|---|---|---|
| display_mode | string | |
| model_path | string | |
| pos_x | number | |
| pos_y | number | |
| scale | number | View scale (1.0 = 1:1) |
| view_type * | string |
add_edge_featureApply a 3D edge modifier to solid body edges (post-extrusion). Distinct from sketch fillet/chamfer.| Parameter | Type | Description |
|---|---|---|
| angle | number | Chamfer angle in DEGREES (distance_angle mode only; default 45) |
| chamfer_flip | boolean | |
| chamfer_type | string | |
| distance2 | number | Chamfer SECOND-face setback (D2) in METERS (distance_distance mode only; must be > 0 there) |
| edge_indices | string | |
| edges_json | string | |
| ex | number | |
| ey | number | |
| ez | number | |
| feature_type * | string | |
| radius_or_distance * | number | Fillet radius / chamfer FIRST-face setback (D1) in METERS (e.g. 0.01 = 10mm) |
add_flat_pattern_viewAdd a FLAT PATTERN view of a SHEET-METAL part to the active drawing — the unfolded blank| Parameter | Type | Description |
|---|---|---|
| config_name | string | |
| flip_view | boolean | |
| hide_bend_lines | boolean | |
| model_path | string | |
| pos_x | number | |
| pos_y | number | |
| scale | number | View scale (1.0 = 1:1) |
add_hole_calloutInsert a hole callout (e.g. '4× Ø8 THRU') on the hole edge nearest the sheet point (px, py)| Parameter | Type | Description |
|---|---|---|
| px * | number | |
| py * | number |
add_mateAdd a mate between two component entities in the ACTIVE assembly.| Parameter | Type | Description |
|---|---|---|
| a_component * | string | |
| a_index * | integer | |
| a_kind | string | |
| alignment | string | |
| b_component * | string | |
| b_index * | integer | |
| b_kind | string | |
| flip | boolean | |
| mate_type * | string | |
| value | number |
add_reference_geometryCreate reference geometry (plane, axis, or point) in the active part.| Parameter | Type | Description |
|---|---|---|
| entity1_name | string | |
| entity1_type | string | |
| entity2_name | string | |
| entity2_type | string | |
| offset | number | |
| px | number | |
| py | number | |
| pz | number | |
| ref_plane_name | string | |
| type * | string |
add_section_viewCreate a SECTION VIEW that cuts the model so internal/blind features become visible, dimensionable| Parameter | Type | Description |
|---|---|---|
| edge_x | number | |
| edge_y | number | |
| flip | boolean | |
| label | string | |
| px * | number | |
| py * | number | |
| scale | number | |
| x1 | number | |
| x2 | number | |
| y1 | number | |
| y2 | number |
add_sketch_constraintApply a geometric constraint to sketch entities in the active sketch.| Parameter | Type | Description |
|---|---|---|
| constraint_type * | string | |
| entity_type1 | string | |
| entity_type2 | string | |
| px1 * | number | |
| px2 | number | |
| py1 * | number | |
| py2 | number |
add_sketch_entitiesAdd MANY sketch entities to the active sketch in ONE call (the batch form of| Parameter | Type | Description |
|---|---|---|
| segments * | string |
add_sketch_entityAdd a sketch entity to the active sketch.| Parameter | Type | Description |
|---|---|---|
| construction | boolean | |
| cx | number | |
| cy | number | |
| direction | number | |
| distance | number | |
| entity_type * | string | |
| points | string | |
| radius | number | |
| vx | number | |
| vy | number | |
| x1 | number | |
| x2 | number | |
| xm | number | |
| y1 | number | |
| y2 | number | |
| ym | number |
analyze_assemblyAnalyze the active ASSEMBLY document (read-only, does NOT change state).| Parameter | Type | Description |
|---|---|---|
| analysis_type * | string | |
| component | string |
analyze_drawingRead a 2D technical drawing — **.DXF or .DWG** — and either BUILD the part from it or hand| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| mode | string | |
| save_analysis | boolean |
analyze_modelAnalyze the active SolidWorks part document (read-only, does NOT change state).| Parameter | Type | Description |
|---|---|---|
| analysis_type * | string | |
| axis | string | |
| from_feature | string | |
| k | integer | |
| name | string | |
| near | string | |
| plane_tol | number | |
| points | string | |
| to_feature | string |
analyze_slddrw_testTEST/REFERENCE TOOL — reads a NATIVE SolidWorks drawing (.SLDDRW) through COM.| Parameter | Type | Description |
|---|---|---|
| include_geometry | boolean | |
| include_relations | boolean |
apply_document_editsApply a strict allowlist of parametric edits to the authenticated active document.| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| job_token * | string | |
| operations_json * | string |
auto_center_marksAutomatically place center marks (with extended centerlines) on every hole/slot in every| Parameter | Type | Description |
|---|---|---|
| extended_lines | boolean | |
| include_slots | boolean |
auto_dimension_drawingAutomatically transfer the MODEL's driving dimensions into the active drawing's views| Parameter | Type | Description |
|---|---|---|
| all_views | boolean | |
| eliminate_duplicates | boolean | |
| include_unmarked | boolean |
batch_exportExport the active document to multiple formats in one call.| Parameter | Type | Description |
|---|---|---|
| file_path_base * | string | |
| formats_json * | string |
cancel_actionCancel a queued confirmation action without executing it.| Parameter | Type | Description |
|---|---|---|
| action_id * | string | |
| job_id * | string | |
| job_token * | string |
close_documentClose the active SolidWorks document. Set save=True to save before closing.| Parameter | Type | Description |
|---|---|---|
| close_all | boolean | |
| save | boolean |
compare_assembliesObjectively diff two ASSEMBLY documents against the RATIFIED verified criteria| Parameter | Type | Description |
|---|---|---|
| doc_a * | string | |
| doc_b * | string |
compare_partsObjectively diff two part documents — the round-trip verifier behind the artifact's| Parameter | Type | Description |
|---|---|---|
| detail | string | |
| doc_a * | string | |
| doc_b * | string |
confirm_actionExecute one pending high-risk action after the user explicitly approves its exact summary.| Parameter | Type | Description |
|---|---|---|
| action_id * | string | |
| action_summary * | string | |
| confirmation_token * | string | |
| job_id * | string | |
| job_token * | string | |
| user_confirmation * | string |
create_drawingOpen a new SolidWorks drawing document (A3 sheet, 1:1 scale).| Parameter | Type | Description |
|---|---|---|
| model_path | string |
create_helixCreate a 3D Helix/Spiral curve from a single-circle base sketch (constant or variable pitch).| Parameter | Type | Description |
|---|---|---|
| clockwise | boolean | |
| defined_by | string | |
| height | number | |
| mode | string | |
| pitch | number | |
| regions | string | |
| reverse | boolean | |
| revolutions | number | |
| sketch_name | string | |
| start_angle | number | |
| taper_angle | number | |
| taper_outward | boolean |
create_patternCreate a linear, circular, or mirror feature pattern.| Parameter | Type | Description |
|---|---|---|
| angle | number | Circular pattern angle in DEGREES |
| axis_name | string | |
| count | integer | Total instances incl. seed (>= 2) |
| count2 | integer | Second-direction instances (1 = off) |
| direction | string | |
| equal_spacing | boolean | |
| feature_name | string | |
| features_json | string | |
| flip | boolean | |
| geometry_pattern | boolean | |
| pattern_type * | string | |
| plane | string | |
| spacing | number | Linear pattern spacing in METERS |
| spacing2 | number | Second-direction spacing in METERS |
create_ribCreate a RIB from the ACTIVE sketch (consumes it, like extrude_feature). The rib profile| Parameter | Type | Description |
|---|---|---|
| is_norm_to_sketch | boolean | |
| reverse_material_dir | boolean | |
| reverse_thickness_dir | boolean | |
| thickness * | number | Rib thickness in METERS (e.g. 0.005 = 5mm) |
| two_sided | boolean |
create_shellHollow the existing solid body to a uniform wall thickness (the thin-wall-part / casting| Parameter | Type | Description |
|---|---|---|
| face_indices | string | |
| outward | boolean | |
| thickness * | number | Shell wall thickness in METERS (e.g. 0.002 = 2mm); must be smaller than the thinnest section of the body) |
create_sketchCreate a new sketch on a plane OR on an existing model face.| Parameter | Type | Description |
|---|---|---|
| face_index | integer | |
| face_x | number | |
| face_y | number | |
| face_z | number | |
| on_face | boolean | |
| plane | string |
drawing_workflowCreate a drawing and orchestrate production drawing operations.| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| job_token * | string | |
| workflow_json * | string |
edit_featureStructurally edit an existing feature by name (suppress / unsuppress / delete / rename).| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| feature_name * | string | |
| new_name | string |
edit_sketchReopen an existing sketch for editing. Counterpart to create_sketch.| Parameter | Type | Description |
|---|---|---|
| sketch_name * | string |
ensure_readyBring the SolidWorks environment up and confirm it is ready to use.export_documentExport the active SolidWorks document to a file. The document remains open after export.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| format * | string |
extrude_featureExtrude/feature the active sketch profile.| Parameter | Type | Description |
|---|---|---|
| angle | number | Revolve angle in DEGREES |
| axis_x1 | number | |
| axis_x2 | number | |
| axis_y1 | number | |
| axis_y2 | number | |
| circular_profile_diameter | number | |
| depth | number | Extrusion depth in METERS (required > 0 for boss/cut) |
| end_tangency | string | |
| end_tangent_length | number | |
| feature_type | string | |
| guide_curves | string | |
| guide_influence | string | |
| is_cut | boolean | |
| merge | boolean | |
| mid_plane | boolean | |
| path_sketch | string | |
| profiles | string | |
| reverse | boolean | |
| start_tangency | string | |
| start_tangent_length | number | |
| through | boolean | |
| up_to_face_index | integer |
finish_jobRun final objective verification and mark the authenticated CAD job completed.| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| job_token * | string | |
| keep_open | boolean | |
| view_review_json | string |
get_selectionReport what the USER currently has selected in the SolidWorks GUI — the inverse of index-based selection.insert_componentInsert a part file as a component of the ACTIVE assembly (open_new_assembly first).| Parameter | Type | Description |
|---|---|---|
| config | string | |
| file_path * | string | |
| fixed | boolean | |
| transform_json | string | |
| x | number | |
| y | number | |
| z | number |
inspect_stateRead readiness, locked document state, constrained CAD analysis, or approved references.| Parameter | Type | Description |
|---|---|---|
| component | string | |
| job_id | string | |
| job_token | string | |
| reference_limit | integer | |
| reference_offset | integer | |
| reference_topic | string | |
| scope | string |
modify_dimensionChange a named display dimension's value — the UNIVERSAL parametric edit (variant keystone).| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| value * | number |
open_documentOpen an EXISTING document from disk (counterpart to open_new_part, which makes a BLANK doc).| Parameter | Type | Description |
|---|---|---|
| as_assembly | boolean | |
| file_path * | string |
open_new_assemblyOpen a new blank SolidWorks ASSEMBLY document (the twin of open_new_part).| Parameter | Type | Description |
|---|---|---|
| template_path | string |
open_new_partOpen a new SolidWorks part document.| Parameter | Type | Description |
|---|---|---|
| template_path | string |
read_drawing_regionOptional crop/zoom aid after directly viewing the original drawing.| Parameter | Type | Description |
|---|---|---|
| image_path * | string | |
| page | integer | |
| region | string | |
| regions | array | |
| zoom | integer |
read_drawing_textOptional OCR aid after directly viewing the original drawing; not a required first step.| Parameter | Type | Description |
|---|---|---|
| image_path * | string | |
| page | integer |
rebuild_from_irRebuild a part from its analysis artifact's Feature Graph IR — the verification half of| Parameter | Type | Description |
|---|---|---|
| artifact_path * | string | |
| fresh_document | boolean |
request_confirmationIssue fresh one-time confirmation data for a pending high-risk action.| Parameter | Type | Description |
|---|---|---|
| action_id * | string | |
| job_id * | string | |
| job_token * | string |
save_analysisAnalyze a part FILE and persist its analysis ARTIFACT — the entry tool of the analysis| Parameter | Type | Description |
|---|---|---|
| file_path * | string |
save_body_as_partExtract ONE solid body of the ACTIVE multibody part into its own .SLDPRT file.| Parameter | Type | Description |
|---|---|---|
| body_index * | integer | |
| file_path * | string |
save_documentSave the active SolidWorks document to disk.| Parameter | Type | Description |
|---|---|---|
| file_path | string |
save_or_exportSave, export, batch-export, or close through the CAD safety policy.| Parameter | Type | Description |
|---|---|---|
| close_all | boolean | |
| file_path | string | |
| format | string | |
| formats_json | string | |
| job_id * | string | |
| job_token * | string | |
| operation * | string | |
| save_before_close | boolean |
set_part_materialAssign a material to the active part document. Applied to all configurations.| Parameter | Type | Description |
|---|---|---|
| library | string | |
| material_name * | string |
sheet_metal_featureCreate sheet metal features on the active part.| Parameter | Type | Description |
|---|---|---|
| angle | number | Bend angle in DEGREES (edge_flange and sketched_bend; default 90) |
| bend_position | string | |
| bend_radius | number | Bend radius in METERS |
| clear_profile | boolean | |
| edge_index | integer | |
| ex | number | |
| ey | number | |
| ez | number | |
| feature_type * | string | |
| fixed_face_index | integer | |
| fixed_x | number | |
| fixed_y | number | |
| fixed_z | number | |
| flange_length | number | Edge flange length in METERS; use >= 2*thickness+1mm (KNOWN-LIMITATIONS #11) |
| flip | boolean | |
| k_factor | number | Neutral-axis K-factor (0..1) |
| reverse_thickness | boolean | |
| symmetric_thickness | boolean | |
| thickness | number | Sheet thickness in METERS |
| use_default_radius | boolean |
start_jobStart an authenticated CAD job and optionally open an existing target.| Parameter | Type | Description |
|---|---|---|
| as_assembly | boolean | |
| drawing_path | string | |
| intent * | string | |
| target_document | string |
submit_feature_graphBuild a part (or assembly) from a Feature Graph IR in ONE call — the deterministic| Parameter | Type | Description |
|---|---|---|
| fresh_document | boolean | |
| graph * | string |
verify_stateRead and return the current CAD state without modifying it.Security checks
6 checks have not been run yet.