Smalldy/godot-bridge ↗★ 31

godot-bridge

通过 TCP 服务启动并控制 Godot 游戏 适合需要让 AI 智能体直接驱动和调试 Godot 4.x 游戏项目的开发者。

包名
godot-bridge
兼容性
待验证
Harness 依赖范围
>=0.1.6-0
版本
0.2.0
许可证
MIT
最近更新
2026年10月1日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Smalldy/godot-bridge

Usage

godot_run_project            # start the game (default: current workspace)
godot_ping                   # confirm 9090 answers
godot_command get_scene_tree # inspect the scene graph
godot_command get_ui_elements
godot_command eval {code: "return get_tree().current_scene.name"}
godot_command click {x: 576, y: 300}
godot_screenshot             # view the game
godot_get_debug_output       # read the boot log
godot_stop_project           # done

Godot executable resolution: per-tool godot_path argument → the godotPath plugin setting (the tool-godot-bridge row's config: the Godot engine path field on the godot-bridge card's page on DSH 0.2.x, the godot_set_engine_path tool, or the plugin settings section on 0.1.x) → the godot command on PATH. Nothing to configure when godot is on PATH; otherwise set the engine path and point at the real exe, never a shim.