Skip to content

Unified CLI for Godot 4.x Editor control via WebSocket - scenes, nodes, scripts, physics, and game execution in one command. Replaces 70+ MCP tools with a single godot-bridge binary.

License

Notifications You must be signed in to change notification settings

agentic-dev-io/godot-bridge-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot Bridge CLI

Unified CLI tool for Godot Editor control via WebSocket.

Installation

uv tool install /path/to/godot-bridge-cli

Configuration

Set environment variables:

  • GODOT_WS_URL - WebSocket URL (default: ws://127.0.0.1:49631)
  • GODOT_TOKEN - Authentication token
  • GODOT_TOKEN_FILE - Path to token file

Usage

# Check connection
godot-bridge status

# Scene operations
godot-bridge scene create Node3D res://scenes/level.tscn
godot-bridge scene open res://scenes/main.tscn
godot-bridge scene tree

# Node operations
godot-bridge node add Player CharacterBody3D Player
godot-bridge node set Player '{"position": {"x": 0, "y": 1, "z": 0}}'
godot-bridge node list

# Script operations
godot-bridge script write res://scripts/player.gd --file ./player.gd
godot-bridge script assign Player res://scripts/player.gd

# Run game
godot-bridge play run
godot-bridge play stop

# Raw RPC (advanced)
godot-bridge rpc auth.ping

JSON Output

Use --json flag for machine-readable output:

godot-bridge scene tree --json

About

Unified CLI for Godot 4.x Editor control via WebSocket - scenes, nodes, scripts, physics, and game execution in one command. Replaces 70+ MCP tools with a single godot-bridge binary.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages