Cairo 3D

Connect your AI agent to Daz Studio

Why

Our characters are built on Daz's Genesis figures, so we want our AI agents working in Daz Studio too: loading figures, setting up cameras, checking the result. A connector lets your agent drive your open Daz Studio and look at what it did.

How it works

There are three pieces: your AI app, an MCP server, and a plugin inside Daz Studio. The plugin, DazScriptServer, runs a small web server inside Daz Studio that takes DazScript (Daz Studio's scripting language) and sends back the result. The MCP server, daz-mcp-server, turns that into tools your AI can use. Both are open source, from the same GitHub account, bluemoonfoundry. Neither is made by Daz.

The version we installed has 153 tools: scene inspection, morphs, poses, cameras, lights, keyframes and renders. When it doesn't have what you need, your agent can send its own DazScript straight to the plugin.

Setting it up

We put both on the computer where Daz Studio runs. Our agent runs on a separate server and starts the MCP server over SSH, through Tailscale, the same way we connect it to Blender.

How our agent sees Daz Studio

Our agent checks its work with a screenshot of the viewport. It sends a short DazScript: get the active 3D viewport, call captureImage() and save the image. To test the connection, it swapped in Genesis 9, framed it with the MCP's camera tools, and took this shot.

Daz Studio viewport showing the Genesis 9 base figure, framed head to toe
Genesis 9 in our open Daz Studio, framed and captured by our agent.

Next

With the connection working, our agent can build in Daz Studio. The first thing it builds is the character: Create a character on Genesis 9.