Data as of
FreeCAD MCP for VS Code: Setup & Config
VS Code: Control FreeCAD from an assistant through an addon and Python MCP server.
What you can do with FreeCAD in VS Code
Choose direct FreeCAD modeling with library parts, Python access, screenshots, and existing-analysis FEM runs.
- Create and revise CAD documents and objects conversationally.
- Insert reusable components from the FreeCAD parts library.
Before you start: FreeCAD in VS Code
- FreeCAD
- The FreeCADMCP addon installed in the appropriate addon directory
- uvx
- Claude Desktop for the documented client setup
Restart FreeCAD after installing the addon, choose the MCP Addon workbench, and start its RPC server. --only-text-feedback disables visual feedback. Remote RPC access requires explicit enablement and allowed IPs.
FreeCAD VS Code configuration
Choose VS Code configuration scope
For FreeCAD MCP, open Workspace: .vscode/mcp.json. Merge into servers; preserve existing inputs.
Add FreeCAD MCP to VS Code
Use the freecad-mcp entry below in servers. Keep FreeCAD MCP's documented stdio connection fields and your other VS Code entries.
Check FreeCAD MCP in VS Code
FreeCAD MCP: Start in VS Code’s MCP controls; inspect output and trust prompts.
Config file · Workspace: .vscode/mcp.json
{
"servers": {
"freecad-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"freecad-mcp"
],
"env": {}
}
}
}FreeCAD tools available to VS Code
FreeCAD's stored tool list documents 11 tools; compare it with VS Code's connected tool list, because the stored list is not a live check.
- create_document
Look for create_document among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
- create_object
Look for create_object among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
Add a CAD object to a FreeCAD document.
- edit_object
Look for edit_object among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
Change an existing CAD object's properties.
- delete_object
Look for delete_object among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
Remove an object from a FreeCAD document.
- execute_code
Look for execute_code among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
- insert_part_from_library
Look for insert_part_from_library among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
- get_view
Look for get_view among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
Capture the current active FreeCAD view as an image.
- get_objects
Look for get_objects among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
List the objects belonging to a document.
- get_object
Look for get_object among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
Inspect one object within a document.
- get_parts_list
Look for get_parts_list among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
- run_fem_analysis
Look for run_fem_analysis among VS Code's agent-mode tools after starting FreeCAD through the MCP controls.
Troubleshooting FreeCAD in VS Code
- Make uvx freecad-mcp (from uv, for Python tools) available in the workspace, container, or remote environment hosting FreeCAD MCP. Start through VS Code's MCP controls; inspect output and trust prompts.
- FreeCAD MCP uses stdio here: VS Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
- Known limitation: Requires a FreeCAD addon plus a running RPC server.
- Known limitation: The Python execution tool can run arbitrary code inside FreeCAD.
- Known limitation: Remote access requires explicit IP allowlisting and RPC configuration.
- General VS Code troubleshooting lives in the /clients/vscode guide.
FreeCAD MCP — details. VS Code guide