tomyud1/godot-mcp

MCP Server and Godot Plugin for AI-assisted game development

What it solves

This project provides a bridge between AI assistants (like Claude or Cursor) and the Godot game engine editor. It eliminates the need for manual copy-pasting of code and context switching by allowing an AI to directly interact with the editor's scenes, scripts, and project settings.

How it works

It uses the Model Context Protocol (MCP) to connect an AI client to a Node.js server, which then communicates with a Godot editor plugin via WebSockets. This architecture allows the AI to execute a wide range of tools for manipulating the game project.

Who it’s for

Game developers using Godot 4.x who want to use AI agents to automate repetitive tasks, write scripts, and manage project structure directly within the editor.

Highlights

  • Extensive Toolset: Includes 42 tools across categories like file operations, scene manipulation, script editing, and project management.
  • Interactive Visualizer: A browser-based tool that provides a force-directed graph of scripts and their relationships, allowing for real-time code editing and scene graph exploration.
  • Direct Editor Integration: AI can read and write files, create scenes, add/remove nodes, and assign textures, and supports undo/redo functionality via a dedicated tool.
  • Wide Client Support: Compatible with any MCP-compatible AI client, including Claude Desktop, Cursor, and Claude Code.

Related

  • Project
  • Project
  • Project
  • Project