TG

tmhsdigital/godot-correctness-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

0 stars 8 forks 품질 71 트렌드 20NOASSERTION

Godot 4.x GDScript 프로젝트에 대한 오프라인 정적 정정 MCP 서버

개요

Godot 4.x GDScript 프로젝트의 정정을 확인하는 모델 Context Protocol 서버 (및 gdcorrect CLI). 그것은 실행 - 편집기를 실행하지 않고 Godot 인스턴스를 실행할 필요가 없으며, 실행 시간에 네트워크를 결코 만지지 않습니다. 1. - 헌신적 인 트리 서스트 문법 (WASM)을 통해 반대로 단락 검출. delta-misuse, get-node-in-process, missing-onready, untyped-declaration, wait-misuse, stringly-nodepath, connect-without-disconnect, float-grid-equality, and the remove-api-usage check against Godot version your project 선언. docs/lint.md를 참조하십시오. 2. — Query class/methods/properties/signals 및 Godot 사이 API를 디퓨트하고, 를 사용하여 오프라인 기호 데이터베이스. docs/symbol-db.md를 참조하십시오. 3. — .tscn, .tres 및 data-driven .tres 레지스트리 (Dangling-path check)의 깊은 검증을 포함하여 project.godot를 검증합니다. docs/scenes.md를 참조하십시오. - 실행 편집기 또는 게임에 연결하지 않습니다. - Godot 내부에 설치할 수 없습니다. - GDScript 전용.

개요(AI 번역)

** Godot 4.x GDScript 프로젝트의 정적 정확성 MCP 서버 **


A Model Context Protocol Server (및 gdcorrect CLI)는 기본적으로 체크 Godot 4.x GDScript 프로젝트의 정확성. 실행 헤드리스, 오프라인, 그리고 CI — 편집기를 실행하지 않고 Godot 인스턴스를 실행할 필요가 없습니다. 런타임에 네트워크에 결코 맞지 않습니다.

3개의 기둥

  1. GDScript linting ** - 전용 트리 시터를 통해 안티-패턴 검출 문법 (WASM). delta-misuse와 같은 규칙, get-node-in-process, missing-onready, untyped-declaration], await-misuse, stringly-nodepath], connect-without-disconnect, float-grid-equality, 플러스 removed-api-usage 프로젝트 선언 Godot 버전에 대한 확인. docs/lint.md를 참조하십시오. 2.Cross-version API lookup & diff — 쿼리 클래스/메들/프로퍼티/신호 Godot4.4**과 4.5 사이에 API를 디퓨팅하여, 기호 데이터베이스. docs/symbol-db.md를 참조하십시오.
  2. **Scene / 자원 / 레지스트리 분석 ** - .tscn], .tres, 및 project.godot], data-driven .tres]의 깊은 검증을 포함하여 (Dangling-path 체크). docs/scenes.md를 참조하십시오.

비 목표

  • **라이브 브리지 없음.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

godot-correctness-mcp

Offline static correctness MCP server for Godot 4.x GDScript projects


A Model Context Protocol server (and gdcorrect CLI) that statically checks the correctness of Godot 4.x GDScript projects. It runs headless, offline, and in CI — it never launches the editor, never needs a running Godot instance, and never touches the network at runtime.

Three pillars

  1. GDScript linting — anti-pattern detection via a committed tree-sitter grammar (WASM). Rules like delta-misuse, get-node-in-process, missing-onready, untyped-declaration, await-misuse, stringly-nodepath, connect-without-disconnect, float-grid-equality, plus the removed-api-usage check against the Godot version your project declares. See docs/lint.md.
  2. Cross-version API lookup & diff — query classes/methods/properties/signals and diff the API between Godot 4.4 and 4.5, from committed offline symbol databases. See docs/symbol-db.md.
  3. Scene / resource / registry analysis — validate .tscn, .tres, and project.godot, including deep validation of data-driven .tres registries (the dangling-path check). See docs/scenes.md.

Non-goals

  • No live bridge. It does not connect to a running editor or game.
  • No editor plugin. Nothing to install inside Godot.
  • No C#. GDScript only.
  • Nothing older than Godot 4.4. Symbol data is pinned to 4.4 and 4.5.

This is deliberately the complement to the live-session Godot MCP tools: it is the one you run in CI and headless pipelines.

Installation

As an MCP server (Claude Desktop / Cursor mcpServers config):

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

As a CLI:

npx -y -p @tmhs/godot-correctness-mcp@^0.2 gdcorrect lint . --format json

MCP surface

Tools: server_info; api_symbol_lookup, api_class_summary, api_diff; lint_file, lint_project, list_rules; validate_scenes, validate_project_config, validate_registries, project_report. The lint, validate, and report tools take an optional baseline file (the one gdcorrect --write-baseline writes) to return only new findings; list_rules (and gdcorrect rules) lists every rule id with its default and per-project severity.

Resources: curated GDScript skill snippets under skill:// (data-driven resources, signal hygiene, typed GDScript, preload vs load).

CLI and CI

gdcorrect [options], where `` is lint, validate-scenes, validate-project, validate-registries, or report (gdcorrect --help lists them all).

Option Meaning
GitHub에서 전체 README 보기

설치

npx -y @tmhs/godot-correctness-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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