stlToSolid — Claude Code MCP server: what it does, how to install
The stlToSolid MCP server for Claude Code converts STL and OBJ meshes into editable STEP models and Fusion 360 scripts.
no license ★ 12 updated 2026-11-15
claude mcp add --env STLTOSOLID_OUT=<STLTOSOLID_OUT> --env STLTOSOLID_MCP_ALLOW_CODE=<STLTOSOLID_MCP_ALLOW_CODE> --transport stdio stltosolid -- uvx stltosolidWhat stlToSolid does
The server provides four tools to turn raw meshes with thousands of triangles into clean geometry with flat faces, cylinders, and smooth blends. Outputs are written to ~/stlToSolid/mcp-output with no risk of overwriting previous results.
Running the server requires uv. The initial start downloads a geometry kernel of about 2.8 GB, so a pre-check command in the terminal is recommended before connecting the client. Generated files open directly in Fusion 360 or any CAD suite supporting STEP.
What it helps with
- convert STL mesh into a STEP file with clean planes and cylinders
- slice 3D models into smooth lofts and outlines
- generate parametric Fusion 360 scripts from blueprints
- build CadQuery scripts from dimensioned drawings
Example prompts for the agent
- Convert
bracket.stlinto a STEP solid using stlToSolid - Run the mesh slicer tool on
housing.obj - Generate a CAD model from the blueprint image
drawing.png
How to install stlToSolid
Platform CLI
claude mcp add --env STLTOSOLID_OUT=<STLTOSOLID_OUT> --env STLTOSOLID_MCP_ALLOW_CODE=<STLTOSOLID_MCP_ALLOW_CODE> --transport stdio stltosolid -- uvx stltosolidReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from stltosolid <command>
Platform CLI
codex mcp add stltosolid --env STLTOSOLID_OUT=<STLTOSOLID_OUT> --env STLTOSOLID_MCP_ALLOW_CODE=<STLTOSOLID_MCP_ALLOW_CODE> -- uvx stltosolidReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from stltosolid <command>
Config file
{
"mcpServers": {
"stltosolid": {
"command": "uvx",
"args": [
"stltosolid"
],
"env": {
"STLTOSOLID_OUT": "<STLTOSOLID_OUT>",
"STLTOSOLID_MCP_ALLOW_CODE": "<STLTOSOLID_MCP_ALLOW_CODE>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from stltosolid <command>
Config file
{
"servers": {
"stltosolid": {
"type": "stdio",
"command": "uvx",
"args": [
"stltosolid"
],
"env": {
"STLTOSOLID_OUT": "<STLTOSOLID_OUT>",
"STLTOSOLID_MCP_ALLOW_CODE": "<STLTOSOLID_MCP_ALLOW_CODE>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from stltosolid <command>
Platform CLI
gemini mcp add -e STLTOSOLID_OUT=<STLTOSOLID_OUT> -e STLTOSOLID_MCP_ALLOW_CODE=<STLTOSOLID_MCP_ALLOW_CODE> stltosolid uvx stltosolidReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from stltosolid <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about stlToSolid
How to install stlToSolid in Claude Code?
Run claude mcp add stltosolid -- uvx stltosolid in your terminal.
What does stlToSolid do?
It turns raw triangle meshes into proper CAD solids with flat faces, real holes, and smooth curves instead of polygon facets.
What is required to run stlToSolid?
You need uv installed. The first start downloads a geometry kernel of approximately 2.8 GB.