Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- **Drawing sheets** (queue item 37, first part): `list_sheets` lists a
drawing's sheets with each one's paper size, scale and projection and
which is active; `add_sheet` adds one with a format (`a3 - iso`), paper
size, scale and projection, and makes it active; `activate_sheet`
chooses the active sheet, so views and notes can go on a second sheet.
A name in use or a missing sheet is refused with the sheets listed. 176
tools in all. Beta until the live demo; the live test passes on
SolidWorks 2026.
- **Modelled threads** (queue item 43): `list_thread_sizes` lists the
sizes SolidWorks's own thread profiles hold, metric or inch (M1.2 to
M64, #0 to 4 in), each with coarse or fine pitch, the ISO 68-1 basic depth
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![SolidWorks](https://img.shields.io/badge/tested%20on-SolidWorks%202026-red)](https://www.solidworks.com/)
[![Coverage](https://codecov.io/gh/andrewbartels1/SolidworksMCP-python/branch/main/graph/badge.svg)](https://codecov.io/gh/andrewbartels1/SolidworksMCP-python)

Python MCP server for SolidWorks automation with 173 tools, plus an optional agent/prompt-testing layer for AI-assisted workflows.
Python MCP server for SolidWorks automation with 176 tools, plus an optional agent/prompt-testing layer for AI-assisted workflows.

[![115 MCP tools by support level (the 8 deprecated ones not counted), and how much of the core SolidWorks COM API they reach](docs/assets/progress/progress.svg)](https://andrewbartels1.com/SolidworksMCP-python/progress/)

Expand Down Expand Up @@ -368,7 +368,7 @@ It works only with the circuit-breaker adapter wrapper (the default for real Sol

### A shorter tool list

All 173 tools cost about 73,000 tokens a turn. `SOLIDWORKS_MCP_TOOL_MODE=search` lists four instead (about 900 tokens); `SOLIDWORKS_MCP_TOOLSETS=core,drawing` lists only those groups. See [Choose which tools a client sees](https://andrewbartels1.com/SolidworksMCP-python/getting-started/installation/#4-choose-which-tools-a-client-sees).
All 176 tools cost about 74,000 tokens a turn. `SOLIDWORKS_MCP_TOOL_MODE=search` lists four instead (about 900 tokens); `SOLIDWORKS_MCP_TOOLSETS=core,drawing` lists only those groups. See [Choose which tools a client sees](https://andrewbartels1.com/SolidworksMCP-python/getting-started/installation/#4-choose-which-tools-a-client-sees).

## Teach your agent the workflow

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 30 additions & 5 deletions docs/assets/progress/progress.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"tools": {
"total": 173,
"total": 176,
"by_level": {
"stable": 149,
"beta": 16,
"beta": 19,
"experimental": 0,
"planned": 0,
"deprecated": 8
Expand All @@ -23,6 +23,13 @@
"reason": "",
"summary": "Make an already-open document the active one, so the next tools act on it."
},
{
"name": "activate_sheet",
"family": "drawing_sheets",
"level": "beta",
"reason": "new: checked on SolidWorks by a scratch run, not yet by a live demo.",
"summary": "Make a sheet of the active drawing the active one, so new views and notes go on it."
},
{
"name": "add_arc",
"family": "sketching",
Expand Down Expand Up @@ -156,6 +163,13 @@
"reason": "",
"summary": "Draw a closed, axis-aligned rectangle in the open sketch from two opposite corners, in mm."
},
{
"name": "add_sheet",
"family": "drawing_sheets",
"level": "beta",
"reason": "new: checked on SolidWorks by a scratch run, not yet by a live demo.",
"summary": "Add a sheet to the active drawing, with a format, paper size and scale, and make it the active sheet."
},
{
"name": "add_sketch_chamfer",
"family": "sketching",
Expand Down Expand Up @@ -842,6 +856,13 @@
"reason": "",
"summary": "List every document open in SolidWorks and say which one is active."
},
{
"name": "list_sheets",
"family": "drawing_sheets",
"level": "beta",
"reason": "new: checked on SolidWorks by a scratch run, not yet by a live demo.",
"summary": "List the active drawing's sheets with each one's paper size, scale and projection, and which is active."
},
{
"name": "list_thread_sizes",
"family": "threads",
Expand Down Expand Up @@ -1225,11 +1246,11 @@
"com": {
"type_library": "83A33D31-27C5-11CE-BFD4-00400513BB57x0x34x0",
"core": {
"covered": 314,
"covered": 318,
"total": 2838
},
"api": {
"covered": 354,
"covered": 358,
"total": 5985
},
"interfaces": [
Expand Down Expand Up @@ -1437,6 +1458,7 @@
{
"name": "IDrawingDoc",
"covered": [
"ActivateSheet",
"ActivateView",
"AutoBalloon5",
"AutoDimension",
Expand All @@ -1452,9 +1474,12 @@
"FeatureByName",
"GetCurrentSheet",
"GetFirstView",
"GetSheetNames",
"GetViews",
"InsertModelAnnotations3",
"SetupSheet5"
"NewSheet4",
"SetupSheet5",
"Sheet"
],
"total": 272
},
Expand Down
18 changes: 9 additions & 9 deletions docs/assets/progress/progress.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading