Docs · Extensions · Unity

AI ProBuilder

Procedural mesh modeling — create shapes, extrude / bevel / bridge faces, set face materials, and merge meshes.

Last updated: 2026-10-17 View as Markdown

At a glance

Capabilities
4 capabilities
Version
2.0.0
Package id
com.ivanmurzak.unity.mcp.probuilder
Engine
Unity · Unity 2022.3+
Wraps
com.unity.probuilder
Repository

What the agent can do with it

Adds no MCP tools: it contributes an RQL module with the probuilder source, the probuilder.facing, probuilder.edges, probuilder.openEdges, probuilder.vertices functions and adapters for ProBuilderMesh. That powers 4 capabilities the agent reaches through rql-query / rql-mutate. How RQL works →

  • Create ProBuilder shapes

    Create editable shapes (cube, cylinder …) and extruded polygon shapes, or merge several meshes into one.

    probuilder | call CreateShape("Cube", "Crate", "(2, 1, 2)", "(0, 0.5, 0)")
  • Inspect meshes

    Read face, vertex and edge counts, bounds and materials, list faces with their direction, and pick faces by direction (up, down, left …).

    probuilder | get meshes | where gameObject.name == "Crate" | select faceCount vertexCount edgeCount bounds materials
  • Edit meshes

    Extrude faces; bevel, bridge, connect and subdivide edges; delete faces, flip normals and move the pivot. Every edit is validated and undoable.

    probuilder | get meshes | where gameObject.name == "Crate" | call Extrude(probuilder.facing($, "Up"), 0.5)
  • Face materials

    Assign a material to chosen faces of a ProBuilder mesh.

    probuilder | get meshes | where gameObject.name == "Crate" | call SetFaceMaterial(probuilder.facing($, "Up"), "Assets/Materials/Grass.mat")

See it in the Unity catalog →

Install

Requires the base plugin com.ivanmurzak.unity.mcp. After installing, the RQL module loads with the package — the agent sees it in rql-schema.

OpenUPMopenupm add com.ivanmurzak.unity.mcp.probuilder

When to ask the AI for it

Ask for blockout / greybox geometry and in-editor mesh editing without leaving Unity.

Not sure if it's installed? Ask the agent to run rql-schema — the probuilder source only exists when the package is present.

Example prompts

Copy-pasteable first requests. Start with one, verify it in the editor, then build up.

  1. Create a ProBuilder cube 4×3×4 at the origin and name it `Room`.
  2. Extrude the top face of `Room` up by 2 units, then assign the `Concrete` material to it.

Keep going