Skip to main content
Glama
OhaoTech

niua-godot-mcp

by OhaoTech

NIUA Godot MCP

v0.1.12

Your AI builds real Godot games on your machine.

Install once. Chat. Godot opens, scenes appear, the game runs. All local.


60-second install

Option A — paste this to your AI (easiest)

Copy into Claude Code, Cursor, Codex, or any agent with shell access:

Install NIUA Godot MCP for me.
Follow: https://raw.githubusercontent.com/OhaoTech/niua-godot-mcp/main/docs/godot-mcp/INSTALL-BY-AGENT.md
Ask before writing any config. Then call get_godot_version.

Restart the AI client when it says so. Done.

Option B — do it yourself

Need: Node 20+ · Godot 4.7 · Claude / Cursor / Codex / etc.

git clone https://github.com/OhaoTech/niua-godot-mcp.git
cd niua-godot-mcp
mkdir -p ~/Godot/NIUAProjects

Claude Code:

claude mcp add niua-godot -s user \
  --env GODOT_MCP_ALLOWED_PROJECT_ROOTS="$HOME/Godot/NIUAProjects" \
  -- node "$(pwd)/src/godot-mcp/cli.js"

Codex / Claude Desktop / Cursor:

# preview
node src/godot-mcp/cli.js setup --client codex --project-root "$HOME/Godot/NIUAProjects"
# write (use --client claude or --client generic for others)
node src/godot-mcp/cli.js setup --client codex --project-root "$HOME/Godot/NIUAProjects" --write

Restart your AI tool.


Related MCP server: Gear

First game

Ask your AI:

Create a Godot project at ~/Godot/NIUAProjects/first-game.
Build a 3D scene with a ground, a cube, a camera, and a light.
Save it, set it as main, then call run_playtest_evidence and tell me the evidence claims.

You should see Godot open and a real game window. The agent gets one compact evidence pack (run + observe + screenshot contract) instead of a hand-rolled tool loop.


If something breaks

Problem

Fix

Unable to run Godot

Install Godot 4.7, or set GODOT_BIN=/path/to/godot in the MCP config

outside allowed project roots

Put projects under ~/Godot/NIUAProjects (or the folder you chose)

bridge is not reachable

Ask the AI: “open the project with open_project”

Tools missing

Restart the AI client after install

Godot stuck on a dialog

Press Esc in Godot; ask the AI to save the scene before run

Health check:

cd niua-godot-mcp && node src/godot-mcp/doctor.js

More help: troubleshooting


Optional

# Claude Code
mkdir -p ~/.claude/skills && cp -r skills/niua-godot ~/.claude/skills/

# Codex / agents
mkdir -p ~/.agents/skills && cp -r skills/niua-godot ~/.agents/skills/

After the AI has opened a project once:

node examples/sdk-quickstart.mjs ~/Godot/NIUAProjects/first-game
import { connect } from "niua-godot-mcp/sdk";
const godot = connect({ expectedProjectRoot: "/path/to/project" });
// no tokens to configure

Default is core (~52 tools) — enough for real games.

  • full — every stable tool

  • compact — full surface behind 13 routers

node src/godot-mcp/cli.js setup --client codex --project-root "$HOME/Godot/NIUAProjects" --profile full --write

Experimental tools (multiplayer, nav, export, …) stay hidden unless you set NIUA_MCP_EXPERIMENTAL=on. Catalog: tools.md

npm test
npm run godot:mcp:docs

License

PolyForm Small Business 1.0.0 — free for individuals and orgs under ~100 people / ~$1M revenue. Larger orgs: team@ohao.tech

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that gives AI assistants direct control over Godot 4 game development projects. It enables launching the editor, running projects, creating and editing scenes, writing GDScript, and inspecting assets through natural language commands.
    44
    13 npm
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables AI assistants to directly run, inspect, modify, and debug Godot game development projects through 110+ tools covering scenes, scripts, resources, runtime debugging, and asset management.
    33
    21 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    A security-first MCP server and Godot editor addon enabling AI agents to observe and control Godot games through bounded, permission-gated tools for debugging, input automation, and project editing.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that lets AI coding agents work on Godot 4 projects, including reading and editing scenes, writing and validating GDScript, running the game, and capturing screenshots.
    25
    12 npm
    MIT