mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
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:
@@ -1,3 +1,6 @@
|
|||||||
[submodule "mcp/godot-mcp"]
|
[submodule "mcp/godot-mcp"]
|
||||||
path = mcp/godot-mcp
|
path = mcp/godot-mcp
|
||||||
url = https://github.com/tugcantopaloglu/godot-mcp.git
|
url = https://github.com/tugcantopaloglu/godot-mcp.git
|
||||||
|
[submodule "mcp/blender-mcp"]
|
||||||
|
path = mcp/blender-mcp
|
||||||
|
url = https://github.com/ahujasid/blender-mcp.git
|
||||||
|
|||||||
@@ -6,6 +6,10 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"GODOT_PATH": ""
|
"GODOT_PATH": ""
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"blender": {
|
||||||
|
"command": "uv",
|
||||||
|
"args": ["run", "--project", "mcp/blender-mcp", "blender-mcp"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.
|
`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
|
## Commands
|
||||||
|
|
||||||
There is no build step, linter, or automated test suite for the GDScript project itself — Godot projects run directly from source.
|
There is no build step, linter, or automated test suite for the GDScript project itself — Godot projects run directly from source.
|
||||||
|
|||||||
Submodule
+1
Submodule mcp/blender-mcp added at 3ab892510c
Submodule
+1
Submodule mcp/godot-mcp added at fcbc29e032
Reference in New Issue
Block a user