About Gdharness
Gdharness is an MCP server published by Aureliolo in the Gaming category: a harness for driving a Godot 4 project from an agent: editor addons, a runtime bridge into the running game, and an MCP server in front of them. Conduid read 18 tools from its source: debug_breakpoint, debug_objects, debug_state, editor_classes, editor_launch, editor_output and 12 more. It is published to npm as gdharness and starts with npx.
The repository has 107 stars and 17 forks, and its last commit was on 2 Dec 2026. The latest release is v1.2.31 (15 Oct 2026). It follows v1.2.30 (15 Oct 2026), and the 5 most recent releases go back to v1.2.27 (14 Oct 2026). Its topics include gamedev, gdscript, godot, godot-engine and godot4.
Install
claude mcp add gdharness -- npx -y gdharnessnpx -y gdharnessgit clone https://github.com/Aureliolo/gdharnessTools (18)
debug_breakpointA breakpoint set before editor_run is in place from the game's first frame. The set is kept in the project until removed. The addon turns on network/debug_adapter/sync_breakpoints. A game this server started does not stop on a script error.debug_objectsCounts the objects the running game holds by class, and compares two snapshots to show what an action kept alive. Only for a game this server started, whose editor_run start answered through gdharness. Needs an engine with debug features.debug_stateWhere the debugged game is stopped. The errors and warnings a game reported are in editor_output. evaluate runs what the expression calls, so a call that changes something changes the game.editor_classesThe engine's classes and those the project's scripts declare. info reads engine classes only, and script_info structure reads a project class. ${CLASSES_REBUILT}editor_launchopen and close save project.godot, which drops a key set on purpose to its default value. close and restart save the open scenes. A restart of an editor this server opened is a quit and then a launch. Ending this server between them, as a reconnect does, leaves no editor. close stops the process of an editor this server opened that has not connected yet. A game a visible editor plays opens a window.editor_outputWhat a game or the editor has printed, each entry with a severity. Op run also answers counts, and clean, true when no error was reported. clean is absent when the console was lost, or when a game the editor played left no runtime report (errorsUnread true). A run that has quit still answers until the next one starts.editor_runA scene that prints an answer and quits is start, then wait. A start says under runtime whether runtime_* can reach the game. A start ends the run of its project and user:// folder, and goes beside any other. start and check first import what changed on disk since its import.project_exportA secret option is never answered. set_preset writes one to .godot/export_credentials.cfg, and remove_preset takes the preset's out of it. Removing the runnable preset makes the next of its platform runnable.project_importreimport and set_options import every file that is behind, not only resourcePath. An open editor scans the project first.project_settingsproject.godot and the audio bus layout. A write with an editor open on the project goes through the editor.resource_editResource files. create makes a .tres of any engine resource class, a Material class for a material. read answers in the form modify takes. A Theme item is a property named like `Button/colors/font_color`. move and read need no editor. A modify drops the lines read lists under notLoaded. move with no editor writes .uid and .import files, and leaves paths in .scn and .res files (leftAlone). ${PATHS_LEFT} ${CLASSES_REBUILT}| Parameter | Type | Description |
|---|---|---|
| description | any | |
| ops | any |
runtime_captureA picture of the game: the whole screen, one region or node of it at full resolution, or one viewport. The screen is the game's window with its dialogs and popups over it. Needs a running game with a window. A capture before its first frame waits for it.runtime_invokeSets a property or calls a method on a node, or on an engine singleton nodePath names, in the running game. A call that takes longer than timeoutMs is not cancelled: the answer is pending with a requestId, and op result collects it.| Parameter | Type | Description |
|---|---|---|
| description | any | |
| items | string | |
| ops | any | |
| type | any |
runtime_waitWaits on the running game. Arm a watch, then send the call that sets a change off. A watch records a change over before your next call. A call sent beside a wait can run during it, noted in ranAlongside. A game held by its debugger answers nothing until it resumes.scene_animationAnimations in an AnimationPlayer and states in an AnimationTree state machine. scene_node add puts the player or tree in the scene first, and autoplay is scene_node set. ${CLASSES_REBUILT}scene_createScene files. create makes any missing folder of the path. ${CLASSES_REBUILT}scene_signalSignal connections in a scene file. A connect to a method the target lacks, or one that cannot take what the signal passes, is written, with methodFound or argumentsFit false. A missing method is refused with binds or unbinds. A write puts back each connection the engine dropped on load, under unmadeConnections. ${CLASSES_REBUILT}script_infoWhat a script contains. It reads .gd files only. For where a class, member or signal is used, project_search.Security checks
6 checks have not been run yet.