Skip to main content
Glama
Better Godot MCP

Better Godot MCP

by n24q02m

Better Godot MCP

mcp-name: io.github.n24q02m/better-godot-mcp

Godot 엔진을 위한 복합 MCP 서버 -- AI 보조 게임 개발을 위한 17개의 메가 도구

CI codecov npm Docker License: MIT

TypeScript Node.js Godot Engine semantic-release Renovate

기능

  • 17개의 복합 메가 도구 -- 씬, 노드, 스크립트, 셰이더, 애니메이션, 타일맵, 물리, 오디오, 내비게이션, UI 등

  • 전체 씬 제어 -- Godot 실행 없이 .tscn 파일을 직접 생성, 파싱 및 수정

  • GDScript CRUD -- 단일 호출로 스크립트 생성, 읽기, 쓰기 및 연결

  • 계층적 토큰 최적화 -- 압축된 설명 + 온디맨드 help 도구

Related MCP server: Godot MCP Unified

설정

AI 에이전트 사용 시 -- 다음 내용을 복사하여 AI 에이전트에게 전송하세요:

Please set up @n24q02m/better-godot-mcp for me. Follow this guide: https://raw.githubusercontent.com/n24q02m/better-godot-mcp/main/docs/setup-with-agent.md

수동 설정 -- docs/setup-manual.md를 따르세요.

도구

도구

작업

설명

project

info, version, run, stop, settings_get, settings_set, export

프로젝트 메타데이터, 실행/중지 및 설정

scenes

create, list, info, delete, duplicate, set_main

씬 파일 관리

nodes

add, remove, rename, list, set_property, get_property

씬 트리 노드 조작

scripts

create, read, write, attach, list, delete

GDScript 파일 CRUD

editor

launch, status

Godot 에디터 실행 및 상태 확인

config

status, set, detect_godot, check

서버 구성 및 환경 감지

resources

list, info, delete, import_config

리소스 파일 관리

input_map

list, add_action, remove_action, add_event

입력 액션 및 이벤트 매핑

signals

list, connect, disconnect

신호 연결

animation

create_player, add_animation, add_track, add_keyframe, list

애니메이션 플레이어 및 트랙

tilemap

create_tileset, add_source, set_tile, paint, list

TileMap 및 TileSet 관리

shader

create, read, write, get_params, list

Godot 4 구문을 사용한 셰이더 파일 CRUD

physics

layers, collision_setup, body_config, set_layer_name

충돌 레이어 및 물리 바디

audio

list_buses, add_bus, add_effect, create_stream

오디오 버스 및 효과 관리

navigation

create_region, add_agent, add_obstacle

내비게이션 영역, 에이전트 및 장애물

ui

create_control, set_theme, layout, list_controls

UI 컨트롤 생성 및 테마 설정

help

-

모든 도구에 대한 전체 문서 가져오기

구성

Godot 바이너리는 일반적인 설치 위치와 PATH에서 자동으로 감지됩니다. 기본 사용을 위해 환경 변수는 필요하지 않습니다. 선택적으로 GODOT_PROJECT_PATH 및 GODOT_PATH를 설정하여 기본값을 재정의할 수 있습니다.

변수

필수

기본값

설명

GODOT_PROJECT_PATH

아니요

-

기본 프로젝트 경로 (도구는 project_path 매개변수도 허용)

GODOT_PATH

아니요

자동 감지

Godot 바이너리 경로

제한 사항

  • Godot 4.x 프로젝트 구조가 필요합니다.

  • 씬 파일(.tscn)은 Godot의 내부 API가 아닌 텍스트 조작을 통해 파싱/수정됩니다.

  • run/stop/export 작업을 수행하려면 Godot 바이너리가 설치되어 있어야 합니다.

  • Docker 모드는 파일 시스템 액세스가 제한됩니다 (프로젝트 디렉토리를 마운트하세요).

보안

  • 바이너리 감지 -- 다중 경로 Godot 감지 (환경 변수, PATH, 일반적인 위치)

  • 프로젝트 검증 -- 작업 전 project.godot 존재 여부 확인

  • 크로스 플랫폼 -- Windows, macOS, Linux 경로 처리

소스에서 빌드

git clone https://github.com/n24q02m/better-godot-mcp.git
cd better-godot-mcp
bun install
bun run dev

라이선스

MIT -- LICENSE를 참조하세요.

Available Tools

17 tools
animationC

Animation management. Actions: create_player|add_animation|add_track|add_keyframe|list. Use help tool for full docs.

Inputs: action (required), loop, name, parent, +7 more. Returns: object

audioC

Audio bus and stream management. Actions: list_buses|add_bus|add_effect|create_stream. Use help tool for full docs.

Inputs: action (required), bus, name, parent, +6 more. Returns: object

configA
Idempotent

Server configuration and environment.

Actions (required params -> optional):

  • status: current config

  • set (key, value): update setting

  • detect_godot: find Godot binary path

  • check: verify project and Godot availability

Inputs: action (required), key, value. Returns: object

editorA
Idempotent

Godot editor control.

Actions (required params -> optional):

  • launch (-> project_path): open editor

  • status (-> project_path): check if editor is running

For running the game, use project(action="run") instead.

Inputs: action (required), project_path. Returns: object

helpA
Read-onlyIdempotent

Full documentation. Omit topic for the overview; use a topic when compressed descriptions are insufficient.

Inputs: topic.

input_mapA
Destructive

Input action management.

Actions (required params -> optional):

  • list (-> project_path): all input actions

  • add_action (action_name -> deadzone=0.5, project_path)

  • remove_action (action_name -> project_path)

  • add_event (action_name, event_type, event_value -> project_path)

event_type: key | mouse | joypad. event_value: e.g., KEY_SPACE.

Inputs: action (required), deadzone, event_type, action_name, +2 more. Returns: object

nodesA
Destructive

Scene node operations.

Actions (required params -> optional):

  • add (scene_path, name -> type="Node", parent=".", project_path)

  • remove (scene_path, name -> project_path)

  • rename (scene_path, name, new_name -> project_path)

  • list (scene_path -> project_path)

  • set_property (scene_path, name, property, value -> project_path)

  • get_property (scene_path, name, property -> project_path)

Node paths: relative to scene root using "/" (e.g., "Player/Sprite2D"). Use "." for root.

Inputs: action (required), name, type, value, +5 more. Returns: object

physicsC

Physics config. Actions: layers|collision_setup|body_config|set_layer_name. Use help tool for full docs.

Inputs: action (required), mass, name, dimension, +6 more. Returns: object

projectA

Godot project operations.

Actions (required params -> optional):

  • info (-> project_path): project metadata

  • version: Godot engine version

  • run (-> scene_path, project_path): launch game

  • logs (-> pid): last captured stdout/stderr lines from a run (default: most recently started)

  • stop: stop running game

  • settings_get (key -> project_path): read project setting

  • settings_set (key, value -> project_path): write project setting

  • export (preset, output_path -> project_path): export game build

Inputs: action (required), key, pid, value, +4 more. Returns: object

resourcesB
Destructive

Resource file management.

Actions (required params -> optional):

  • list (-> type, project_path): browse resources (type: image|audio|font|shader|scene|resource)

  • info (resource_path -> project_path): resource metadata

  • delete (resource_path -> project_path)

  • import_config (resource_path -> project_path): view import settings

Inputs: action (required), type, project_path, resource_path. Returns: object

scenesA
Destructive

Scene file (.tscn) CRUD.

Actions (required params -> optional):

  • create (scene_path -> root_type="Node2D", root_name, project_path)

  • list (-> project_path)

  • info (scene_path -> project_path)

  • delete (scene_path -> project_path)

  • duplicate (scene_path, new_path -> project_path)

  • set_main (scene_path -> project_path)

scene_path: relative to project root (e.g., "scenes/main.tscn"), NOT res:// prefix. Use nodes tool to edit nodes within a scene.

Inputs: action (required), new_path, root_name, root_type, +2 more. Returns: object

scriptsA
Destructive

GDScript file CRUD.

Actions (required params -> optional):

  • create (script_path -> extends="Node", content, project_path): generate template

  • read (script_path -> project_path)

  • write (script_path, content -> project_path): replace entire file

  • attach (script_path, scene_path, node_name -> project_path): link to scene node

  • list (-> project_path)

  • delete (script_path -> project_path)

script_path: relative to project root (e.g., "scripts/player.gd").

Inputs: action (required), content, extends, node_name, +3 more. Returns: object

shaderC

Godot shader management. Actions: create|read|write|get_params|list. Use help tool for full docs.

Inputs: action (required), content, shader_path, shader_type, +1 more. Returns: object

signalsA
Destructive

Signal connection management.

Actions (required params -> optional):

  • list (scene_path -> project_path): all signal connections

  • connect (scene_path, signal, from, to, method -> flags, project_path)

  • disconnect (scene_path, signal, from, to, method -> project_path)

Inputs: action (required), to, from, flags, +4 more. Returns: object

tilemapC

TileSet and TileMap management. Actions: create_tileset|add_source|set_tile|paint|list. Use help tool for full docs.

Inputs: action (required), tile_size, scene_path, project_path, +2 more. Returns: object

uiC

UI Control nodes and themes. Actions: create_control|set_theme|layout|list_controls. Use help tool for full docs.

Inputs: action (required), name, type, parent, +5 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 17 tools

    Disambiguation4/5

    Each tool targets a distinct Godot subsystem, and explicit notes (e.g., editor launch vs project run) reduce confusion. Some overlap remains between project settings and config, and between scenes and generic resource management.

    Naming Consistency4/5

    Tool names follow a consistent single-noun domain pattern with verb-style actions underneath. Minor inconsistencies like plural scenes/nodes/scripts vs singular animation/shader and the underscore in input_map prevent a perfect score.

    Tool Count4/5

    At roughly 16-17 tools, the server sits at the upper edge of the ideal range, but each tool covers a separate Godot domain and earns its place. It is slightly heavy but not bloated.

    Completeness4/5

    The surface covers the core Godot development lifecycle: project, editor, scenes, scripts, resources, input, signals, rendering, physics, audio, navigation, and UI. Minor gaps exist, such as no generic resource creation and abbreviated documentation for several advanced domains.

    Maintenance

    ActivityStale
    ResponsivenessUsually handled

    Related MCP Connectors

    Related MCP Servers