niua-godot-mcp
A local MCP server plus a bundled Godot editor addon that lets an AI agent create, inspect, run, debug, and export real Godot 4.6 games through tools.
README
NIUA Godot MCP
A local MCP server plus a bundled Godot editor addon that lets an AI agent create, inspect, run, debug, and export real Godot 4.6 games through tools — instead of hand-clicking the editor. Pairs with the optional niua-godot-forge agent skill, which teaches the safe build workflow.
Local-first by design: it drives a local editor, local game files, local ports, and user-owned project roots.
Requirements
- Node.js 20 or newer
- Godot 4.6.x on
PATHasgodot, orGODOT_BIN=/path/to/godot - Linux, macOS, or Windows
Quick start
Wire the MCP into an agent client (Codex shown; --client claude for Claude Desktop). Dry-run by default; add --write to update the client config:
npx niua-godot-mcp setup --client codex --project-root /path/to/GodotProjects --write
Then restart the client and ask the agent to call get_godot_version.
Run the server directly over stdio:
npx niua-godot-mcp
Doctor
Verify Node, Godot, tool profile, bundled addon, and optional bridge reachability before wiring it in:
npx niua-godot-mcp-doctor
npx niua-godot-mcp-doctor --project /path/to/project
npx niua-godot-mcp-doctor --profile full --godot-bin "$GODOT_BIN"
Tool profiles
v1(default) — compact, run-proven core (project, scene, node, script, run, export, inspector, filesystem). Best for day-to-day agent sessions and context budget.full— adds curated subsystems: animation, UI, particles, navigation, audio, localization, multiplayer, deeper 2D/3D, resources, debugger, viewport.
NIUA_MCP_PROFILE=full npx niua-godot-mcp
Same code either way — full only widens the advertised tool menu. The generated catalog lives at docs/godot-mcp/tools.md.
The agent skill (recommended)
skills/niua-godot-forge is a portable Agent Skill that teaches the safe build loop (save → set main scene → run), profile guidance, and error recovery, plus one on-demand reference doc per subsystem. Install it into your agent platform's skills directory:
# Claude Code
cp -r skills/niua-godot-forge ~/.claude/skills/
# Codex
cp -r skills/niua-godot-forge ~/.agents/skills/
See skills/niua-godot-forge/README.md for all platforms.
Recommended environment
NIUA_MCP_PROFILE=v1
GODOT_BIN=godot
GODOT_MCP_ALLOWED_PROJECT_ROOTS=/absolute/path/to/GodotProjects
The MCP refuses filesystem operations outside the allowlisted project roots. See SECURITY.md for the full trust model.
Manual addon install
Agents normally call create_project / open_project, which install the bundled addon automatically. For a manual install into an existing project:
npx niua-godot-mcp -- godot:addon:install /path/to/project # or: node scripts/install-niua-godot-addon.js /path/to/project
godot --path /path/to/project --editor
Development
npm ci --ignore-scripts
npm test # unit suite
npm run godot:mcp:docs # regenerate tool catalog + skill reference
Security
Per-session localhost bridge token, localhost-only binding, res:// write constraints, and refusal of path traversal / .godot writes / addon self-overwrite / symlink escapes / oversized payloads. Report issues per SECURITY.md.
License
PolyForm Small Business License 1.0.0 — free for individuals and small businesses (fewer than 100 people and under ~$1M USD annual revenue). Larger organizations need a commercial license: contact OhaoTech at team@ohao.tech.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.