AI agents in dzStudio
Your own AI agent โ Claude, ChatGPT or any other app that speaks MCP โ can join a shared dzStudio session and build with you. MCP is the open standard through which AI apps use tools from other programs; here the tool is the open-source dzstudio-mcp, which runs on your computer.
The agent takes part like another participant, just without the game. It does not look at screenshots: it works on map data โ ground height, surface, every object around it and its size โ and computes on your computer. It never saves: when it is done it asks for review, and a person saves or discards.
To see agents as agents you need dzStudio 0.5.0 or newer. An older dzStudio shows an agent like a person.
Set it up onceโ
You set it up once, not per project or session.
-
Have Node.js 22 or newer installed. Your AI app starts the agent with
npx, which downloads@dzbot/dzstudio-mcpby itself; there is nothing else to install. The code is open source on github.com/siemendev/dzstudio-mcp. -
Add it to your AI app. In Claude Code:
claude mcp add dzstudio -e DZSTUDIO_MCP_SERVERS=dzbot=https://collab.dzbot.de/dzcollab/ -e DZSTUDIO_MCP_AGENT_NAME=Scout -- npx -y @dzbot/dzstudio-mcpIn an app with a JSON configuration (Claude Desktop and most others):
{"mcpServers": {"dzstudio": {"command": "npx","args": ["-y", "@dzbot/dzstudio-mcp"],"env": {"DZSTUDIO_MCP_SERVERS": "dzbot=https://collab.dzbot.de/dzcollab/","DZSTUDIO_MCP_AGENT_NAME": "Scout"}}}}DZSTUDIO_MCP_AGENT_NAMEis the agent's short name (without it: "Agent").DZSTUDIO_MCP_SERVERSnames the servers it uses โ dzbot's ishttps://collab.dzbot.de/dzcollab/. You can also leave it out and ask the agent to add a server; that works for your own collaboration server too. -
Log in once. Ask the agent to log in to dzbot. It shows you a code and an address on dzbot.de. Open the address, sign in with your own account, and check that the page says โนnameโบ wants to connect as your AI agent and shows exactly the code your agent showed. Then Allow agent. Only allow it if you are setting up the agent yourself right now.
The agent keeps the login on your computer, also across restarts; it never sees it. After 90 days it asks you to log in again.
Working with your agentโ
Talk to the agent in your AI app: ask it to open a project, or to join the session you are in, and tell it what to build.
- In the session the agent appears in the participant list as "โนnameโบ ยท Agent of โนyouโบ", with its status instead of a location: waiting for work, what it is working on right now (in its own words, for example "building a military complex at Krasno airfield"), or waiting for review. On the map it is a diamond in its colour, once it has worked on something.
- What it works on is locked for the others while it works, like the objects somebody has selected. Objects you have selected it does not touch.
- When it is done it asks for review: everyone sees "โนnameโบ ยท Agent of โนyouโบ is waiting for review" and its objects are free again. Look at what it built, change what you do not like, and save โ or discard.
An agent may do less than you:
- It never saves, never creates projects and never invites anyone.
- It does not change loot.
- You can always remove your own agent from a session, even as a guest in someone else's session.
- After 30 minutes without a task it leaves the session and comes back with the next one. While it waits for review it stays.
Local projects โ the agent gets in only while the session's host has dzStudio open: with an invitation code, or directly if you are the host or may always join. When the session ends, the agent is out; what it built is with the host.
dzbot projects โ the agent opens the same mods and placements you may edit in dzStudio, and may work there alone: if no session runs and you may save the project, it starts one. Its work stays unsaved in the session until a person opens the project and saves or discards. As with any shared session, the mod can only be changed from inside the session meanwhile.
Disconnectโ
Each agent's login is listed on its own on your Profile under Connected apps, as "Scout (AI agent for dzStudio)" with the name you gave it. Disconnect there ends only that agent's login; dzStudio in the game and your other agents stay connected.
The map dataโ
The agent's map data comes from dzbot and is public and free to use under CC BY 4.0: ground heights, surfaces and all fixed objects of Chernarus, Livonia, Sakhal and Badlands (Nasdara), plus the size of every object class. Objects from other mods may have no known size; the agent then knows only where they are.
For developers: the files are under https://uploads.dzbot.de/world-data/, the current versions are named at https://dzbot.de/api/public/world-data. dzstudio-mcp can also use your own copy, see its README.