Skip to main content
Glama

Curvex: hybrid surface + solid modeling MCP for SOLIDWORKS 2026

Curvex lets Claude model in SOLIDWORKS with both surface and solid features in the same part. Freeform shapes are built with surfaces (boundary, loft, sweep, fill, trim, knit). Simple shapes are built with solid features (extrude, revolve, shell, fillet). The result is one finished solid that is measured, verified, colored and exported. This is how professional product design is done. Curvex brings that workflow to an AI agent.

Developed by BORVEC Elektronik Yazılım Mühendislik ve Ticaret A.Ş. (Tokat Teknopark, Türkiye) · Lead developer: Hüseyin Alp

Demo: a turbocharger compressor from a single prompt. The blades are surface-modeled, the housing is solid-modeled, and colors are applied at the end. Real time 16 min (the video is sped up). (video link will be added with the release)

Türkçe rehber: README_TR.md · Architecture: ARCHITECTURE.md · License notice: NOTICE.md · Test evidence: docs/TEST_REPORT.md

Curvex is a modified version of SolidPilot (© 2025–2026 Çağatay Bakan, AGPL-3.0). It runs as its own MCP server (curvex, port 5001). It never modifies the original, and it does not need the original to work.


What makes it different

  1. Understands first; never just runs commands. Every new product starts with a short, product-specific brief: proportions, character, key details, what matters most. The agent states its defaults, offers 2–3 design directions and models the one you pick. You also learn which inputs change the result.

  2. Asks for a reference, then checks against it. A reference image is optional but powerful. analyze_surface(mode='silhouette') compares the model outline with the image and reports deviations in mm. The agent fixes exactly those places and measures again.

  3. Few calls, no wasted tokens. A whole design phase is sent as one Feature Graph (submit_feature_graph): sketch → surfaces → solid → fillet → shell → verify → save → STEP. In the test, one call built a product shell that took about 15 single-tool round trips before.

  4. Every operation has a second route. Tools for fill, trim, untrim and others try documented alternatives in order. Results are accepted only when the geometry actually changed as expected. A failed write is rolled back automatically.

  5. Quality is measured, not guessed. G0–G3 continuity, curvature, deviation, draft and watertightness are computed numerically. SOLIDWORKS has no API for its zebra or curvature displays.


Related MCP server: SolidWorks MCP Server

Capabilities

Area

Tools / features

Surface modeling

create_surface (extruded, revolved, planar, offset, ruled, mid-surface), sweep_surface, loft_surface, boundary_surface, fill_surface (contact / tangent / curvature G2), trim_surface, extend_surface, untrim_surface, knit_surface, thicken_surface, fillet_surface, split_surface, edit_face

Curves

create_curve (3D spline, equation spline, XYZ points, helix, projected, composite, intersection), modify_spline

Solid modeling

solid_feature (extrude / cut incl. up to surface, revolve, sweep, loft), solid_modify (shell, draft, chamfer, fillet incl. curvature-continuous G2)

Hybrid glue

surface_to_solid (cut with surface, knit to solid, fill volume, intersect), body_ops (combine, split, mirror, move/copy and circular copies, hide, delete)

Analysis (read-only)

analyze_surface: bodies / faces / edges, health, 6-property validation, continuity G0–G3, curvature, deviation, draft, edge curvature, silhouette vs reference image

Appearance

set_appearance: color + finish presets (cast aluminum, titanium, chrome, gold, ceramic, glass …) on bodies, faces, features or the part

Feature Graph IR

submit_feature_graph: surface and solid nodes, rename, appearance, verify, save, export in one call

Basics

sketches (2D/3D), dimensions, constraints, reference planes, open / save / export STEP-IGES-STL, get_recipe (built-in modeling guides)

44 tools. Not included: drawings, assemblies, sheet metal, SubD/xShape (not in the desktop API).


Requirements

  • Windows 10/11 with SOLIDWORKS 2026 (tested on SP4.1; other versions are not supported)

  • Python 3.10+ (python.org; tick Add python.exe to PATH)

  • Visual Studio 2022 Build Tools with the .NET desktop build tools workload

  • .NET Framework 4.8 runtime + 4.8 targeting pack (a Build Tools component)

  • Claude Desktop (installed and opened at least once) or Claude Code

  • Internet access for the first build (NuGet packages)


  1. Download the release ZIP and extract it to a normal folder, e.g. C:\Curvex. Do not extract it inside another MCP's folder.

  2. Double-click INSTALL.bat. It will:

    • create a private Python environment (.venv) and install the adapter packages,

    • check .NET 4.8, find your SOLIDWORKS 2026 install and its API DLLs,

    • build CurvexExecution.exe and check the enum values against your real swconst.dll,

    • write its config (port 5001),

    • back up claude_desktop_config.json and add the curvex server to it. A log is written to config\install.log. If anything fails, the window stays open and tells you.

  3. Fully quit Claude Desktop (tray icon → Quit, not just the window) and open it again.

  4. In a new chat, open the connectors menu: curvex should be listed and enabled.

  5. Open SOLIDWORKS and type: "Run Curvex ensure_ready." The answer should be READY.

Claude Code instead: run .\install.ps1 in PowerShell (it asks before registering), or register manually:

claude mcp add --scope user curvex -- "C:\Curvex\.venv\Scripts\python.exe" "C:\Curvex\adapters\claude\server.py"

Optional check: .\verify-installation.ps1 -RuntimeSmoke, run with SOLIDWORKS open, builds and closes a small test part without saving.


How to prompt (so it actually works)

Curvex works best when you give it what a designer would need. A good prompt has:

  1. Tool choice: "Use only the curvex tools."

  2. The brief: what the product is, size, character (sporty, antique, minimal), the details that matter, the finish. Curvex asks for anything missing. If you want it to start right away, answer those questions in the prompt.

  3. Coordinates and units: e.g. "Y up, the part stands on the Top Plane." The tools use meters.

  4. Phases: split the design into 3–5 phases. Ask for one submit_feature_graph per phase. This is the biggest speed and token saver.

  5. Quality targets as numbers: "G2 between body and handle", "1.5 mm wall", "verify solid".

  6. Delivery: file path for the .SLDPRT and the STEP, and colors at the end.

Example:

Use only the curvex tools. Model a turbocharger compressor (SOLIDWORKS, Y up, units in mm):
- Compressor wheel: 6 main + 6 splitter blades, twisted ~40°. Build each blade as a surface
  (boundary or loft between hub and tip curves), thicken 1.2 mm, copy around the axis, combine with the hub.
- Volute housing: a snail-shaped channel growing from Ø8 to Ø36 over 360°, tangent outlet pipe, flange.
- Inlet bell mouth as a revolved surface. Housing wall 3 mm.
Build each phase with ONE submit_feature_graph call. Verify solid. Colors: housing cast_aluminum,
wheel titanium. Save to C:\Work\turbo.SLDPRT and export STEP. If a node fails twice, stop and
report the node, tool and error.

More examples: examples/.

Tips

  • Keep SOLIDWORKS open, and don't edit the same part yourself while Claude is writing to it.

  • Turn off other CAD connectors in that chat so Claude doesn't mix servers.

  • A reference image (side view, plain background) gives the biggest jump in fidelity.

  • Long builds are normal (10–20 min for a full product). Record the screen and speed it up for a demo.


Status (honest)

Verified on SOLIDWORKS 2026 SP4.1 with real parts. Details and numbers are in docs/TEST_REPORT.md. No runtime result is made up.

Status

Items

✅ Verified

all surface tools above except those listed below; solid_feature, solid_modify (incl. G2 fillet), surface_to_solid, body_ops; analysis incl. silhouette; Feature Graph with hybrid nodes (13/13 product build in one call); untrim (native and kernel route); fill tangent 0.34° / curvature G2

🎬 Used in the turbo demo

multi-phase hybrid build, blade copies, set_appearance

⚠️ Known issues

create_surface ruled (new geometric route not yet runtime-tested), create_curve intersection (kernel route not yet runtime-tested), edit_face move on island faces (SOLIDWORKS limit)

⬜ Not yet tested

reference_image, projected / composite curves, trim mutual


Running next to SolidPilot

Both can be connected at the same time (solidpilot on port 5000, curvex on 5001). Curvex detects when someone else changed the document between two of its steps. It then returns CONTENDED and blocks writes until the state is re-read. Do not let two servers write to the same part at the same time.


Troubleshooting

Symptom

Fix

curvex not in the connectors list

Fully quit Claude from the tray and reopen; check config\install.log

MSBuild not found / targeting pack missing

Install VS 2022 Build Tools with .NET desktop build tools and the 4.8 targeting pack

COM_ATTACH_FAILED

Open SOLIDWORKS, then call ensure_ready

CONTENDED / VERIFICATION_REQUIRED

Call verify_state, then continue

A long graph times out in the chat

Split the phase into two smaller graphs; the part keeps what was built

Port 5001 busy

.\install.ps1 -Port 5002 -SkipBuild

Anything else

Send config\install.log, adapters\claude\adapter.log and execution\solidworks\CurvexExecution\bin\Release\execution.log


License

AGPL-3.0-only. Curvex modifications and additions: Copyright (c) 2026 BORVEC Elektronik Yazılım Mühendislik ve Ticaret A.Ş., developed by Hüseyin Alp. Curvex is a modified version of SolidPilot by Çağatay Bakan; see LICENSE and NOTICE.md. If you share or host a modified version, you must offer its source under the same license (AGPL §13). Not legal advice.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude to create and manipulate SolidWorks CAD models through natural language commands, automating part creation, sketching, and extrusion.
      11
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to control SolidWorks through natural language, supporting part and assembly creation, sketches, advanced features, dimension editing, selection inspection, screenshots, and rebuilds.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to drive SolidWorks in natural language, creating parts and assemblies, sketching and modeling features, editing dimensions, setting materials, and exporting CAD files. It also exposes selection, mass-property, and viewport-capture tools so 3D designs can be built and verified conversationally.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude AI to control SolidWorks through natural language for creating and editing parts, sketches, features, assemblies, drawings, and exports.
      MIT