SolidWorks MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ADAPTER_TYPE | No | Adapter type for COM interop (currently only winax-enhanced is supported) | winax-enhanced |
| SOLIDWORKS_PATH | Yes | Path to the SolidWorks installation directory |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| open_modelB | Open a SolidWorks part, assembly, or drawing file |
| create_partB | Create a new SolidWorks part document |
| close_modelC | Close the current model with option to save |
| create_extrusionD | Create an extrusion feature |
| get_dimensionB | Get the value of a dimension |
| set_dimensionB | Set the value of a dimension |
| rebuild_modelC | Rebuild the current model |
| create_drawing_from_modelC | Create a new drawing from the current 3D model |
| add_drawing_viewC | Add a view to the current drawing |
| add_section_viewC | Add a section view to the drawing |
| add_dimensionsB | Add dimensions to a drawing view |
| update_sheet_formatC | Update drawing sheet format and properties |
| create_sketchB | Create a new sketch on a specified plane or face |
| edit_sketchB | Enter sketch edit mode for an existing sketch |
| exit_sketchC | Exit sketch edit mode and rebuild |
| sketch_lineC | Draw a line in the active sketch |
| sketch_centerlineC | Draw a centerline in the active sketch |
| sketch_circleB | Draw a circle in the active sketch |
| sketch_arcC | Draw an arc in the active sketch |
| sketch_rectangleB | Draw a rectangle in the active sketch |
| sketch_polygonB | Draw a regular polygon in the active sketch |
| sketch_splineB | Draw a spline through points in the active sketch |
| sketch_ellipseB | Draw an ellipse in the active sketch |
| add_sketch_constraintC | Add constraints between sketch entities |
| add_sketch_dimensionC | Add dimensions to sketch entities |
| sketch_linear_patternC | Create a linear pattern of sketch entities |
| sketch_circular_patternB | Create a circular pattern of sketch entities |
| sketch_mirrorA | Mirror sketch entities about a line |
| sketch_offsetC | Create offset curves from sketch entities |
| export_fileB | Export the current model to various formats |
| batch_exportC | Export multiple configurations or files to a format |
| export_with_optionsC | Export with specific format options |
| capture_screenshotB | Capture a screenshot of the current model view |
| generate_vba_scriptC | Generate a VBA script from a template with parameters |
| create_feature_vbaC | Generate VBA code to create a specific feature |
| create_batch_vbaC | Generate VBA for batch processing multiple files |
| run_vba_macroC | Execute a VBA macro in SolidWorks |
| create_drawing_vbaC | Generate VBA to create drawings from 3D models |
| vba_create_reference_geometryC | Generate VBA for creating reference geometry (planes, axes, points) |
| vba_advanced_featuresC | Generate VBA for advanced features (sweep, loft, boundary) |
| vba_pattern_featuresC | Generate VBA for pattern features |
| vba_sheet_metalC | Generate VBA for sheet metal operations |
| vba_surface_modelingC | Generate VBA for surface modeling operations |
| vba_assembly_matesC | Generate VBA for creating assembly mates |
| vba_assembly_componentsC | Generate VBA for inserting and managing components |
| vba_assembly_analysisC | Generate VBA for assembly analysis |
| vba_assembly_configurationsC | Generate VBA for managing assembly configurations |
| vba_create_drawing_viewsC | Generate VBA for creating drawing views |
| vba_drawing_dimensionsC | Generate VBA for adding dimensions to drawings |
| vba_drawing_annotationsC | Generate VBA for adding annotations to drawings |
| vba_drawing_tablesC | Generate VBA for creating tables in drawings |
| vba_drawing_sheet_formatC | Generate VBA for managing drawing sheets and formats |
| vba_batch_operationsC | Generate VBA for batch file operations |
| vba_custom_propertiesC | Generate VBA for managing custom properties |
| vba_pdm_operationsC | Generate VBA for PDM vault operations |
| vba_design_tableC | Generate VBA for creating and managing design tables |
| vba_configurationsC | Generate VBA for managing configurations |
| vba_equationsC | Generate VBA for managing equations and global variables |
| vba_simulation_setupC | Generate VBA for setting up simulation studies |
| vba_api_automationC | Generate VBA for advanced API automation and event handling |
| vba_error_handlingC | Generate VBA with comprehensive error handling and logging |
| get_mass_propertiesB | Get mass properties of the current model |
| check_interferenceC | Check for interference between components in an assembly |
| measure_distanceC | Measure distance between two selected entities |
| analyze_draftB | Analyze draft angles for molding |
| check_geometryC | Check model geometry for errors |
| get_bounding_boxB | Get the bounding box dimensions of the model |
| extract_drawing_templateB | Extract complete template settings from a parent drawing file |
| apply_drawing_templateC | Apply template settings to a target drawing file |
| batch_apply_templateB | Apply template to multiple child drawing files |
| compare_drawing_templatesB | Compare template settings between two drawings |
| save_template_to_libraryC | Save a drawing template to a reusable library |
| list_template_libraryC | List all templates in the library |
| start_native_macro_recordingB | Start recording a macro using SolidWorks native VBA recorder |
| stop_native_macro_recordingB | Stop the current native macro recording and save |
| pause_resume_macro_recordingB | Pause or resume the current macro recording |
| run_macroC | Run a SolidWorks macro file |
| edit_macroB | Open a macro in the SolidWorks VBA editor |
| create_initialized_macroC | Create a new macro with proper SolidWorks VBA initialization |
| convert_text_to_native_macroB | Convert plain text VBA code to a properly initialized SolidWorks macro |
| batch_run_macrosB | Run multiple macros in sequence |
| macro_start_recordingC | Start recording a new macro |
| macro_stop_recordingB | Stop the current macro recording |
| macro_export_vbaC | Export a recorded macro to VBA code |
| design_table_createB | Create a new design table with optional SQL data source |
| design_table_refreshC | Refresh design table data from SQL source |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vespo92/SolidworksMCP-TS'
If you have feedback or need assistance with the MCP directory API, please join our Discord server