About Bonsai MCP
Bonsai MCP is an MCP server published by JotaDeRodriguez in the Developer Tools category: a Model Context Protocol server bridging Claude, Cursor, or other MCP clients to a live Blender + Bonsai (BlenderBIM) session. Conduid read 17 tools from its source: execute_blender_code, export_bc3_budget, export_drawing_png, export_ifc_data, generate_ids, georeference_ifc_model and 11 more. No package is published for it, so it installs from a source checkout.
The repository has 70 stars and 26 forks, is licensed MIT, and its last commit was on 6 Sep 2026. Conduid has no tagged release on record for it. It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, No dynamic code execution and Scoped permissions. Its topics include bim, blender and ifcopenshell.
Install
git clone https://github.com/JotaDeRodriguez/Bonsai_mcpTools (17)
execute_blender_codeExecute arbitrary Python code in Blender.| Parameter | Type | Description |
|---|---|---|
| code * | string |
export_bc3_budgetExport a BC3 budget file (FIEBDC-3/2016) based on the IFC model loaded in Blender.| Parameter | Type | Description |
|---|---|---|
| language | string | Language for the budget file ('es' for Spanish, 'en' for English). Default is 'es'. |
export_drawing_pngExport drawings as PNG images with custom resolution.| Parameter | Type | Description |
|---|---|---|
| height_offset | number | Height in meters above the storey level for the camera position (default 0.5m) |
| output_path | string | Optional file path to save the PNG (if None, returns as base64 image) |
| resolution_x | integer | Horizontal resolution in pixels (default 1920, max recommended 4096) |
| resolution_y | integer | Vertical resolution in pixels (default 1080, max recommended 4096) |
| storey_name | string | Specific storey name to add to the file name (if None, prints default in the file name) |
| view_type | string | Type of view - "top" for plan view, "front", "right" and "left" for elevation views, and "isometric" for 3D view |
export_ifc_dataExport IFC data to a file in JSON or CSV format.| Parameter | Type | Description |
|---|---|---|
| entity_type | string | Type of IFC entity to export (e.g., "IfcWall") - leave empty for all entities |
| level_name | string | Name of the building level to filter by (e.g., "Level 1") - leave empty for all levels |
| output_format | string | "json" or "csv" format for the output file |
generate_idsCreates an .ids file in Blender/Bonsai by calling the add-on handler 'generate_ids'.| Parameter | Type | Description |
|---|---|---|
| author | string | |
| date_iso | string | |
| ids_version | any | |
| milestone | string | |
| output_path | string | |
| specs * | any | |
| title * | string |
georeference_ifc_modelGeoreferences the IFC currently opened in Bonsai/BlenderBIM by creating or| Parameter | Type | Description |
|---|---|---|
| context_filter | string | |
| context_index | integer | |
| crs_mode * | string | |
| crs_name | string | |
| dry_run | boolean | |
| eastings | number | |
| epsg | integer | |
| geodetic_datum | string | |
| map_projection | string | |
| map_zone | string | |
| northings | number | |
| orthogonal_height | number | |
| scale | number | |
| site_ref_latitude | array | |
| site_ref_latitude_dd | number | |
| true_north_azimuth_deg | number | |
| write_path | string | |
| x_axis_abscissa | number | |
| x_axis_ordinate | number |
get_ifc_georeferencing_infoChecks whether the IFC currently opened in Bonsai/BlenderBIM is georeferenced| Parameter | Type | Description |
|---|---|---|
| include_contexts | boolean |
get_ifc_project_infoGet basic information about the IFC project, including name, description,get_ifc_propertiesGet properties of IFC entities. Can be used to get properties of a specific entity by GlobalId,| Parameter | Type | Description |
|---|---|---|
| global_id | string | GlobalId of a specific IFC entity (optional if selected_only is True) |
| selected_only | boolean | If True, return properties for all selected objects instead of a specific entity |
get_ifc_quantitiesExtract and get basic qtos about the IFC project.get_ifc_relationshipsGet all relationships for a specific IFC entity.| Parameter | Type | Description |
|---|---|---|
| global_id * | string | GlobalId of the IFC entity |
get_ifc_spatial_structureGet the spatial structure of the IFC model (site, building, storey, space hierarchy).get_ifc_total_structureGet the complete IFC structure including spatial hierarchy and all building elements.get_selected_ifc_entitiesGet IFC entities corresponding to the currently selected objects in Blender.get_user_viewCapture and return the current Blender viewport as an image.list_ifc_entitiesList IFC entities of a specific type. Can be filtered to only include objects| Parameter | Type | Description |
|---|---|---|
| entity_type | string | Type of IFC entity to list (e.g., "IfcWall") |
| limit | integer | Maximum number of entities to return |
| selected_only | boolean | If True, only return information about selected objects |
place_ifc_objectPlace an IFC object at a specified location with optional rotation.| Parameter | Type | Description |
|---|---|---|
| rotation | number | Rotation angle in degrees around the Z axis (default: 0) |
| type_name * | string | Name of the IFC element type to place (must exist in the model) |
| x * | number | X-coordinate in model space |
| y * | number | Y-coordinate in model space |
| z * | number | Z-coordinate in model space |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.0K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- !No dynamic code executionScanned 5 source files and found 1 call to eval or shell execution, in addon.py:262. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiotools.py:1249
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 7 callsaddon.py:851, addon.py:1020, addon.py:1355
- Lockfile
- uv.lock
Pattern matches on the source text of 5 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 2.0K words, fetched a month ago. The original in the repository is authoritative.
Read full README