Atlas / MCP servers / quellant / OpenSCAD

OpenSCADSAFE

mcp/quellant/openscad-2

A Model Context Protocol (MCP) server for OpenSCAD 3D modeling and rendering

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
11 10r · 0w · 1d
Transport
—
License
MIT
Stars
149
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://pypi.org/project/openscad-mcp/) [](https://github.com/robertcoop/openscad-mcp/actions/workflows/ci.yml) [](https://pypi.org/project/openscad-mcp/) [](https://modelcontextprotocol.io) [](./LICENSE)

A Model Context Protocol (MCP) server that lets AI assistants design 3D-printable parts and assemblies in OpenSCAD: render with a stated scale, measure exact geometry, check assemblies for interference and clearance, extract holes and features, judge printability, and export. Built with FastMCP for Python; OpenSCAD 2021.01 is the supported floor and dev snapshots are used when present.

Prerequisites

  • [OpenSCAD](https://openscad.org/downloads.html) installed on your system
  • [uv](https://docs.astral.sh/uv/getting-started/installation/) (recommended) or Python 3.10+

Installation

The server is published on PyPI as openscad-mcp, so uv runs it with no clone and no virtualenv: uvx openscad-mcp. uv keeps a cached copy; uv tool upgrade openscad-mcp (or uvx openscad-mcp@latest) pulls a new release, and uvx [email protected] pins one.

Claude Code

Add the server with a single command:

claude mcp add openscad --transport stdio -- uvx openscad-mcp

Or, if OpenSCAD is not on your PATH:

claude mcp add openscad --transport stdio \
--env OPENSCAD_PATH=/path/to/openscad -- uvx openscad-mcp

Use the --scope flag to control where the configuration is saved:

Read from source at commit 440621bdd30aOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add openscad-mcp -- uvx openscad-mcp
claude-desktop
{
  "mcpServers": {
    "openscad-mcp": {
      "command": "uvx",
      "args": [
        "openscad-mcp"
      ]
    }
  }
}
03

Exposed tools (11)

10 read · 0 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
checkread
clear_cachedestructive
export_modelread
get_librariesread
get_project_filesread
measureread
modelread
referenceread
renderread
scad_evalread
validateread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (9 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (10)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
clear_cache
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
.coveragerc
.coveragerc
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_analysis.py:840
assert shadow.rewritten_refs  # ../../config/... made absolute
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_openscad_mcp.py:1044
render_scad_to_png(scad_file="/home/user/scad/../../etc/passwd")
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/openscad_mcp/server.py:1360
image_data = base64.b64decode(base64_data)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/openscad_mcp/server.py:1391
image_data = base64.b64decode(base64_data)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/openscad_mcp/server.py:2934
png = base64.b64decode(result.image_b64)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/openscad_mcp/server.py:2956
png = base64.b64decode(result.image_b64)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
tests/test_helpers.py:526
assert base64.b64decode(cached_b64) == image_bytes
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
CONTRIBUTING.md:65
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 440621bdd30afull audit observations/trust-audit/mcp-server/quellant__openscad-2.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07440621bdd30aSAFEB89first audit
06

Questions

What is the OpenSCAD MCP server?

A Model Context Protocol (MCP) server for OpenSCAD 3D modeling and rendering

What tools does OpenSCAD expose?

11 in total: 10 read-only, 0 that write, and 1 that can delete or overwrite (clear_cache). Every one is listed on this page with its risk.

Is OpenSCAD safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does OpenSCAD need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (440621bdd30a), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement