dos2-gm-mcp
dos2-gm-mcp is an MCP server for the Divinity: Original Sin 2 Definitive Edition Game Master mode that lets AI assistants prepare and run GM campaigns. It has two layers: first, it directly reads and edits campaign files on disk, including NPC and item templates, story vignettes with custom art, map notes, journals, scene atmospheres, and add-on mods, automatically backing up before every write; second, it communicates with the running game through a bridge mod for the Norbyte Script Extender, allowing it to list characters in a level, spawn NPCs from templates, move, rename, level up, hide or show them, and execute arbitrary Lua on the game server. The project targets the Windows platform and requires uv, Python 3.11+, and the .NET 8 runtime; the live layer additionally requires Script Extender v58 or later. It is an unofficial fan tool and is not affiliated with Larian Studios.