# openswx

> openswx is an open-source MCP server for 3d modeling. Open-source parametric CAD where AI agents can model parts through MCP tool calls. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Windows, macOS, Linux, Web, API, CLI, Self-hosted
- **Repository:** https://github.com/dukeofcheese/openswx
- **MCP Registry name:** io.github.DukeOfCheese/openswx
- **Categories:** [3d modeling](https://ai-powered.com/categories/3d-modeling)
- **Listing updated:** 2026-11-27

## About

Parametric solid modelling software with a layout modelled on mainstream mechanical CAD, so engineers can work in a familiar command bar, design tree and property panel. Parts, assemblies, drawings and simulation studies are built from typed commands, and every command is also exposed as an MCP tool, letting an AI client such as Claude Code or Claude Desktop model geometry while the change appears live in the open window.

The program is built on OpenCASCADE through build123d and can read SOLIDWORKS part, assembly and drawing files without that software installed, though those files are read-only and history support is partial. Output goes to STEP, IGES, STL, 3MF, glTF, PDF and DXF, and headless commands such as convert, massprops and check can run in scripts or CI.

A self-hosted companion server enables several people to edit one part at once, with feature locks and version history. It suits engineers who want an open, scriptable CAD tool, and developers who want agents to drive a real modeller. The project is in alpha and the builds are not yet code-signed.

## Features

- **Parametric part modelling:** Constrained sketches with extrude, revolve, sweep, loft, fillets, patterns and a full rebuild history.
- **Agent control over MCP:** Every command is exposed as an MCP tool over stdio or HTTP, with toolsets and atomic batch calls.
- **Assemblies and drawings:** Mates with degrees-of-freedom status, exploded views, interference checks, and drawing sheets exported to PDF, DXF and SVG.
- **Live multi-user editing:** Several people can edit the same part through a self-hosted collaboration server, with history and named versions.
- **SOLIDWORKS file import:** Opens recent SOLIDWORKS part, assembly and drawing files read-only, without SOLIDWORKS installed.
- **Headless command-line tools:** Convert, render, mass properties, requirement checks and diffs can run without a window, for example in CI.

## Good for

- Letting an AI agent draft a bracket or mounting plate from dimensions in a prompt
- Versioning CAD models as readable JSON in Git and diffing changes
- Running mass property and requirement checks automatically in a build pipeline
- Sharing a part with a remote team for simultaneous editing on a self-hosted server
- Exporting parts to STEP, STL or 3MF for manufacturing and printing

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add openswx -- uvx openswx
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "openswx": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add openswx -- uvx openswx
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.openswx]
command = "uvx"
args = ["openswx"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user openswx uvx -- openswx

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "openswx": {
      "command": "uvx",
      "args": [
        "openswx"
      ]
    }
  }
}
```

## FAQ

### Does openswx need SOLIDWORKS installed?

No. It reads SOLIDWORKS part, assembly and drawing files for 2015 and later without SOLIDWORKS, but those files are read-only and you save to openswx formats or exchange through STEP, Parasolid or IGES.

### How does an AI agent connect to openswx?

Through MCP over HTTP at the local /mcp address while the app or server runs, or through the openswx-cli mcp command configured in Claude Desktop. Access uses a per-user token.

### Which operating systems are supported?

Desktop installers are provided for Windows and macOS, and the project can run from source on any platform with a browser UI.

### Is openswx free?

It is licensed under Apache-2.0 and distributed as open source.

### How do I add openswx to Claude Code?

Run this command in your terminal: claude mcp add openswx -- uvx openswx

### What are the best alternatives to openswx?

The closest alternatives to openswx are Rebel CAD, OpenSCAD Online, Print3D, legit2compute 3D studio and Infinite Option.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Rebel CAD](https://ai-powered.com/mcp/rebel-cad): Rebel CAD is a free MCP server for 3d printing.
- [OpenSCAD Online](https://ai-powered.com/mcp/openscad-online): OpenSCAD Online is an MCP server for 3d modeling.
- [Print3D](https://ai-powered.com/mcp/print3d): Print3D is an open-source MCP server for 3d printing.
- [legit2compute 3D studio](https://ai-powered.com/mcp/legit2compute-3d-studio): legit2compute 3D studio is a freemium MCP server for design and media.
- [Infinite Option](https://ai-powered.com/mcp/infinite-option): Infinite Option is an MCP server for 3d modeling.

---
Source: https://ai-powered.com/mcp/openswx
