chore: vendor blender-mcp as a git submodule alongside godot-mcp

Both mcp/godot-mcp and mcp/blender-mcp were already cloned locally and
registered in .gitmodules/.mcp.json/CLAUDE.md, but neither submodule's
gitlink had actually been committed, so a fresh clone wouldn't pull
either down. Stages the two gitlinks so `git submodule update --init
--recursive` works as documented.
This commit is contained in:
Josh Creek
2026-08-03 16:56:48 +01:00
parent 4507b6dc1b
commit 1af3e0410d
5 changed files with 23 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
[submodule "mcp/godot-mcp"]
path = mcp/godot-mcp
url = https://github.com/tugcantopaloglu/godot-mcp.git
[submodule "mcp/blender-mcp"]
path = mcp/blender-mcp
url = https://github.com/ahujasid/blender-mcp.git
+4
View File
@@ -6,6 +6,10 @@
"env": {
"GODOT_PATH": ""
}
},
"blender": {
"command": "uv",
"args": ["run", "--project", "mcp/blender-mcp", "blender-mcp"]
}
}
}
+14
View File
@@ -25,6 +25,20 @@ npm run build
`GODOT_PATH` (env var in `.mcp.json`) is left blank to auto-detect the Godot executable; set it explicitly if auto-detection fails on your machine.
## Blender MCP server
This repo vendors [blender-mcp](https://github.com/ahujasid/blender-mcp) as a git submodule at `mcp/blender-mcp` and registers it in `.mcp.json`. **Prefer the blender-mcp tools over manual scripting** when the task involves creating or editing 3D models, materials, or scenes in Blender (e.g. ship/arena assets) — it drives a live Blender instance directly rather than hand-writing `.blend`/Python scene-manipulation code.
Setup after cloning (same submodule caveat as godot-mcp above):
```bash
git submodule add https://github.com/ahujasid/blender-mcp.git mcp/blender-mcp
cd mcp/blender-mcp
uv sync
```
One-time manual step (GUI, can't be scripted): install the Blender addon — Blender → Edit → Preferences → Add-ons → Install → select `mcp/blender-mcp/addon.py` → enable "Interface: Blender MCP". Blender must be running with the addon's socket server started (default `localhost:9876`) for the MCP tools to connect; override with the `BLENDER_HOST` / `BLENDER_PORT` env vars in `.mcp.json` if needed.
## Commands
There is no build step, linter, or automated test suite for the GDScript project itself — Godot projects run directly from source.
+1
Submodule mcp/blender-mcp added at 3ab892510c
Submodule
+1
Submodule mcp/godot-mcp added at fcbc29e032