tugcantopaloglu/godot-mcp

MCP server for full Godot 4.x engine control: 157 tools for AI-driven game development (GDScript and C#/.NET). Tested with Godot 4.7.

What it solves

AI assistants often lack the capability to directly interact with, test, and build games inside the Godot game engine. This project bridges that gap by providing a Model Context Protocol (MCP) server that grants AI complete control over Godot projects.

How it works

It runs as a TypeScript-based MCP server communicating via headless GDScript operations and a TCP-based runtime interaction server. It exposes 159 specialized tools covering everything from project creation, file I/O, and GDScript diagnostics to runtime node inspection, signal management, and physics adjustments.

Who it’s for

Developers and AI users looking to automate Godot game development, run headless script validations, test gameplay via simulated inputs, and manipulate scene trees programmatically.

Highlights

  • Offers 159 tools spanning rendering, physics, networking, UI controls, audio, and file management
  • Supports both GDScript and .NET/C# project scaffolding and validation
  • Allows runtime code execution and node inspection while the game is running
  • Includes headless scene operations to parse and modify .tscn files without launching the editor

Related

  • Project
  • Project
  • Project
  • Project
  • Project