Better Godot MCP

v1.18.0โ€ขDeveloper Toolsโ€ขstable

๐Ÿ“‡ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - 18 composite tools for structured Godot 4.x interaction: scenes, nodes, GDSc

ai-agentsai-codingclaudeclaude-codecursor
Share:
18
Stars
0
Downloads
0
Weekly
0/5

What is Better Godot MCP?

Better Godot MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐Ÿ“‡ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - 18 composite tools for structured godot 4.x interaction: scenes, nodes, gdsc

๐Ÿ“‡ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - 18 composite tools for structured Godot 4.x interaction: scenes, nodes, GDSc

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP protocol support

Use Cases

Godot 4.x game development automation
Scene, node, and GDScript management
n24q02m

Maintainer

LicenseMIT
Languagetypescript
Versionv1.18.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @n24q02m/better-godot-mcp

Manual Installation

npx -y @n24q02m/better-godot-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Better Godot MCP

Better Godot MCP is a TypeScript MCP server that exposes 17 composite tools for structured, AI-driven interaction with Godot 4.x game projects. Instead of raw file edits, it provides purpose-built tools for every layer of a Godot project: scenes, nodes, GDScript files, animations, tilemaps, shaders, physics, audio, navigation, and UI theming. It auto-detects Godot installations from common paths and PATH, supports both stdio and HTTP transport modes, and runs on macOS, Windows, Linux, and Docker โ€” making it practical for any Godot development workflow guided by Claude or Cursor.

Prerequisites

  • Godot 4.x installed (auto-detected from common install locations or PATH)
  • Node.js 18 or higher
  • Claude Code, Cursor, or another MCP-compatible AI client
  • A Godot 4.x project to work with
1

Install the npm package

Install Better Godot MCP globally or use it directly via npx. The package is published as @n24q02m/better-godot-mcp.

npm install -g @n24q02m/better-godot-mcp
# Or use without installing:
npx -y @n24q02m/better-godot-mcp
2

Add to your MCP client configuration

Register the server in your Claude Desktop or Claude Code configuration file. Optionally specify the Godot project path and binary location via environment variables.

{
  "mcpServers": {
    "better-godot-mcp": {
      "command": "npx",
      "args": ["-y", "@n24q02m/better-godot-mcp"],
      "env": {
        "GODOT_PROJECT_PATH": "/path/to/your/godot/project",
        "GODOT_PATH": "/path/to/godot4"
      }
    }
  }
}
3

Verify Godot detection

Use the config tool to confirm Better Godot MCP has found your Godot installation and project. If GODOT_PATH is not set, the server searches common install locations automatically.

# In Claude, ask:
# "Use the better-godot-mcp config tool to show the detected Godot version and project path"
4

Launch Godot editor through the MCP server

Use the editor tool to start the Godot editor for your project, then check its status.

# In Claude, ask:
# "Launch the Godot editor for my project using the better-godot-mcp editor tool"

Better Godot MCP Examples

Client configuration

Claude Desktop configuration for Better Godot MCP with explicit project and binary paths.

{
  "mcpServers": {
    "better-godot-mcp": {
      "command": "npx",
      "args": ["-y", "@n24q02m/better-godot-mcp"],
      "env": {
        "GODOT_PROJECT_PATH": "/Users/me/projects/my-game",
        "GODOT_PATH": "/Applications/Godot_v4.app/Contents/MacOS/Godot"
      }
    }
  }
}

Prompts to try

Use these prompts in Claude after Better Godot MCP is connected to automate common Godot 4.x development tasks.

- "Create a new scene called 'Player.tscn' with a CharacterBody2D root node"
- "Add a CollisionShape2D node to the Player scene and set its shape to a capsule"
- "Create a GDScript called 'player_controller.gd' with a basic movement handler and attach it to the Player node"
- "Connect the 'area_entered' signal on the HitBox node to the player controller script"
- "List all scenes in the project and show me which ones have AnimationPlayer nodes"
- "Set up a TileMap with a 16x16 tile size for the Level1 scene"

Troubleshooting Better Godot MCP

Godot binary not found even though it is installed

Set the GODOT_PATH environment variable to the exact path of your Godot 4 executable, for example '/Applications/Godot_v4.app/Contents/MacOS/Godot' on macOS or 'C:\Program Files\Godot\Godot_v4.exe' on Windows. Add it to the env block in your MCP config.

Scene or node tools fail with 'project not found' errors

Set GODOT_PROJECT_PATH to the directory containing your project.godot file. If this env var is unset, the server may be looking in the wrong working directory.

npx -y @n24q02m/better-godot-mcp hangs on first run

The first run downloads the package from npm. If your network is slow or npm is rate-limiting, try installing globally first with `npm install -g @n24q02m/better-godot-mcp` and then changing the command in your config to `better-godot-mcp` without npx.

Frequently Asked Questions about Better Godot MCP

What is Better Godot MCP?

Better Godot MCP is a Model Context Protocol (MCP) server that ๐Ÿ“‡ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - 18 composite tools for structured godot 4.x interaction: scenes, nodes, gdsc It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Better Godot MCP?

Install via npm with the command: npx -y @n24q02m/better-godot-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Better Godot MCP?

Better Godot MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Better Godot MCP free to use?

Yes, Better Godot MCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "better-godot-mcp": { "command": "npx", "args": ["-y", "@n24q02m/better-godot-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

Ready to use Better Godot MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides