Shapr3D MCP Server logo

Shapr3D MCP Server

Community
Alfredoalv13

MCP server for Shapr3D — AI-driven CAD modeling with build123d (OpenCascade) and STEP file exchange

PublisherAlfredoalv13
Repositoryshapr3d-mcp
LanguagePython
Forks
9
Stars
45
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Shapr3D MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    45 stars and 9 forks from the linked repository.

Shapr3D MCP Server

An MCP server that lets AI assistants (Claude, etc.) model real CAD parts and work with Shapr3D.

How it works

Shapr3D has no public API or scripting interface (it's a long-standing community request). So this server takes the only robust route:

  1. Real CAD kernel inside the server. Models are built programmatically with build123d on the OpenCascade B-rep kernel — the same class of geometry Shapr3D uses (Parasolid-like solids, not meshes).
  2. STEP file exchange. Generated models export as STEP, which Shapr3D imports as fully editable solid bodies. Files you export from Shapr3D (STEP/IGES/STL) can be inspected, modified, and converted.
  3. macOS app bridge. Tools to launch Shapr3D, open files in it, check its state, and screenshot its window for visual feedback.
AI assistant ──MCP──▶ this server ──build123d/OCCT──▶ model.step ──▶ Shapr3D
                          ▲                                            │
                          └────────── STEP/STL export from app ◀───────┘

Tools

ToolPurpose
create_modelBuild a model from a build123d script (optionally fed by a shared params_file), export STEP/STL/3MF/glTF/GLB/BREP
modify_modelImport an existing file (e.g. Shapr3D STEP export), edit it in code, re-export
detect_clashPairwise interference check between solids (assembly/keep-out verification)
inspect_modelSolids, bounding box, volume, face/edge counts of a STEP/IGES/STL/BREP/3MF file
convert_modelRead STEP / IGES / STL / BREP / 3MF, write STEP / STL / 3MF / glTF / GLB / BREP
render_previewShaded isometric PNG preview without opening any app
list_modelsList files in the models workspace
open_in_shapr3dOpen a file in Shapr3D (STEP imports as editable bodies)
activate_shapr3d / shapr3d_statusLaunch / check the app
screenshot_shapr3dCapture the Shapr3D window
build123d_guideModeling syntax cheat sheet for the AI

Setup

Requires macOS, uv, and Shapr3D installed.

sh
uv sync

Claude Code

A project-scoped .mcp.json is included — opening this folder in Claude Code picks it up automatically. To register it globally:

sh
claude mcp add shapr3d -s user -- uv run --directory "<path-to-this-folder>" shapr3d-mcp

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{
  "mcpServers": {
    "shapr3d": {
      "command": "uv",
      "args": ["run", "--directory", "<path-to-this-folder>", "shapr3d-mcp"]
    }
  }
}

Typical workflow

  1. Ask the AI to model something ("design a wall bracket for a 2-inch pipe, 4 mounting holes for M5 bolts").
  2. It writes a build123d script via create_model, checks it with render_preview, and opens the STEP in Shapr3D via open_in_shapr3d.
  3. You confirm the Import Preferences dialog in Shapr3D (Quality is fine; STEP carries mm units) and edit freely — the bodies are native, editable solids.
  4. To AI-edit an existing design: export STEP from Shapr3D, then ask the AI to inspect_model / modify_model it.

Generated files live in models/ (override with SHAPR3D_MCP_WORKDIR).

Development

sh
uv run pytest

The suite exercises the modeling tools directly (no MCP transport, no Shapr3D app needed) in a throwaway workspace.

Limitations

  • .shapr files are a proprietary, undocumented format — they can't be read or written directly. STEP is the interchange format.
  • Parametric history doesn't survive the round-trip (a STEP file is the final solid, not the feature tree). Shapr3D's direct-modeling tools work on imported solids regardless.
  • In-app actions (sketching, export) happen via the user or OS-level computer-use automation; there is no app API to drive.

License

MIT

Installation

TypingMind
{
  "mcpServers": {
    "shapr3d-mcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "<path-to-this-folder>",
        "shapr3d-mcp"
      ]
    }
  }
}

Use Shapr3D MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Shapr3D MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Shapr3D MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Shapr3D MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "shapr3d-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Shapr3D MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Shapr3D MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Shapr3D MCP Server to help me with this task?
Shapr3D MCP Server
Sure. I read it.
Here is what I found using Shapr3D MCP Server.

Frequently asked questions

What is the Shapr3D MCP Server MCP server used for?

Shapr3D MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Shapr3D MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Shapr3D MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Shapr3D MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Shapr3D MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Shapr3D MCP Server MCP to TypingMind?

Shapr3D MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Shapr3D MCP Server MCP provide in TypingMind?

Shapr3D MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Shapr3D MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Shapr3D MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇