← Back to Skills Marketplace
mars720816

FreeCAD MCP

by mars720816 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
329
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-freecad-mcp
Description
Control FreeCAD via MCP to create and modify 3D models, automate CAD tasks, solve constraints, and integrate part libraries programmatically.
Usage Guidance
This skill appears to implement a legitimate FreeCAD MCP server, but review the following before installing: - Arbitrary-code execution: The RPC API includes execute_code which will run Python inside your FreeCAD process. Only use this on a trusted machine, restrict network access to localhost, and avoid exposing the RPC port to untrusted networks. - Documentation mismatch: SKILL.md shows the MCP endpoint at port 9876 but client code uses 9875. Verify the actual port and configuration before connecting agents. - Examples reference external tools/keys (uv/uvx, GROQ_API_KEY, LLM models) that are not required by the addon itself — don’t provide unrelated API keys unless you understand why an example needs them. - Installation writes into your FreeCAD Mod directory; inspect the addon files locally before copying them and consider running inside an isolated environment or VM if you want to be cautious. If you plan to use this skill, audit/limit which agents can connect to the RPC server, and avoid running it on machines with sensitive data or exposed network services.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-freecad-mcp Version: 1.0.0 The skill bundle provides a bridge to control FreeCAD via MCP but includes a highly dangerous `execute_code` tool in `src/freecad_mcp/server.py` and `addon/FreeCADMCP/rpc_server/rpc_server.py` that allows for arbitrary Python execution using `exec()`. While documented as a feature for complex CAD operations, this capability presents a significant Remote Code Execution (RCE) risk if the AI agent is targeted by prompt injection. Additionally, the XML-RPC server used for communication between the MCP bridge and FreeCAD lacks authentication, relying solely on its binding to localhost.
Capability Assessment
Purpose & Capability
Name/description match the included files: this package implements an MCP RPC server, FreeCAD addon, and client bindings for agents. However documentation and examples reference additional tooling (uv / uvx, uvx/clawhub steps, and LLM integrations) that are not declared as requirements, and SKILL.md instructs the agent to point to port 9876 while the client code uses port 9875 — a documentation/port mismatch that can cause confusion.
Instruction Scope
The RPC API intentionally exposes execute_code which runs exec(code, globals()) inside the FreeCAD process; README and RPC code advertise this feature. While this is coherent with 'programmatic control' of FreeCAD, it is a powerful operation that lets any client that can connect to the RPC server execute arbitrary Python on the host (file I/O, network, launching processes). SKILL.md does not prominently warn about this risk. The addon code also reads/writes files in the user's FreeCAD Mod / appdata paths and writes temporary screenshot files.
Install Mechanism
No automated download/install spec in the registry entry; installation is manual (copy addon to FreeCAD Mod directory) or via clawhub/npn instructions in SKILL.md. No external archive downloads or obscure URLs appear in the package. This is a lower install risk, though manual file writes to the FreeCAD Mod path are required.
Credentials
The skill declares no required environment variables or credentials (consistent). Example client code references unrelated keys (e.g., GROQ_API_KEY) and external LLM models, but those are examples for the agent environment and are not required by the FreeCAD addon itself. This may confuse non-technical users; the skill does not justify third-party API keys in its top-level requirements.
Persistence & Privilege
always:false and no special platform privileges requested. The skill runs an RPC server inside FreeCAD and relies on the agent connecting to it; this is expected. Note that autonomous agent invocation is allowed by default — combined with the execute_code capability, that increases the potential blast radius if an agent is configured to call this tool without oversight.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-freecad-mcp
  3. After installation, invoke the skill by name or use /openclaw-freecad-mcp
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of FreeCAD MCP Skill. - Enables AI agents to control FreeCAD using the Model Context Protocol (MCP) - Supports automated creation of 3D models, part generation from descriptions, and constraint solving - Integrates with LangChain and Google ADK agents - Includes instructions for installing the FreeCAD addon and starting the RPC server - Provides example prompts and agent configurations for rapid setup
Metadata
Slug openclaw-freecad-mcp
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is FreeCAD MCP?

Control FreeCAD via MCP to create and modify 3D models, automate CAD tasks, solve constraints, and integrate part libraries programmatically. It is an AI Agent Skill for Claude Code / OpenClaw, with 329 downloads so far.

How do I install FreeCAD MCP?

Run "/install openclaw-freecad-mcp" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is FreeCAD MCP free?

Yes, FreeCAD MCP is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does FreeCAD MCP support?

FreeCAD MCP is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created FreeCAD MCP?

It is built and maintained by mars720816 (@mars720816); the current version is v1.0.0.

💬 Comments