Skip to content
Back to skills

Godot Mcp

ASecurity

Drive the Godot engine from the agent through the godot-mcp server (Coding-Solo, MIT): run a project and read its debug output and errors, launch the editor, create scenes, add nodes with properties, load textures into Sprite2D nodes, save scene variants, export MeshLibrary for GridMap, and fix UIDs. Use when verifying a Godot change by running it, importing generated sprites into scenes, reading runtime errors, or when the user mentions godot-mcp or the mcp__godot__ tools.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 22, 2026
ai-agentsgoshellbashnodetestinggitapi

Works with

  • claude code
  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add jasonmello/pixelstrata --skill godot-mcp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Godot Mcp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Godot Mcp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jasonmello-godot-mcp/badge)](https://www.skillsdirectory.com/skills/jasonmello-godot-mcp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: godot-mcp
description: >
  Drive the Godot engine from the agent through the godot-mcp server (Coding-Solo, MIT): run a
  project and read its debug output and errors, launch the editor, create scenes, add nodes with
  properties, load textures into Sprite2D nodes, save scene variants, export MeshLibrary for
  GridMap, and fix UIDs. Use when verifying a Godot change by running it, importing generated
  sprites into scenes, reading runtime errors, or when the user mentions godot-mcp or the
  mcp__godot__ tools.
---

# godot-mcp

[godot-mcp](https://github.com/Coding-Solo/godot-mcp) (MIT, npm `@coding-solo/godot-mcp`) is an
MCP server that lets the agent run and inspect a real Godot install. It closes the loop:
write code or import assets, **run the game, read the errors**, fix, repeat. In Claude Code its
tools appear as `mcp__godot__<name>`.

## Setup

```bash
claude mcp add godot -e GODOT_PATH=/path/to/godot -- npx @coding-solo/godot-mcp
```

Needs Node.js 18+ and Godot installed. `GODOT_PATH` is optional (auto-detected otherwise).
`DEBUG=true` logs more. PixelStrata does not register this server for you
(`install.sh` adds it when missing; otherwise run the command above). Restart the client after adding it.

## Tools

| Tool | Required args | Use |
|------|---------------|-----|
| `get_godot_version` | — | confirm the engine version before choosing APIs |
| `list_projects` | directory | find `project.godot` folders |
| `get_project_info` | projectPath | project structure overview |
| `launch_editor` | projectPath | open the editor for the user |
| `run_project` | projectPath (scene optional) | run in debug mode |
| `get_debug_output` | — | console output and errors of the running game |
| `stop_project` | — | stop it |
| `create_scene` | projectPath, scenePath (rootNodeType optional) | new `.tscn` |
| `add_node` | projectPath, scenePath, nodeType, nodeName (parentNodePath, properties optional) | add a node with properties |
| `load_sprite` | projectPath, scenePath, nodePath, texturePath | put a texture on a Sprite2D |
| `save_scene` | projectPath, scenePath (newPath optional) | save, or save as a variant |
| `export_mesh_library` | projectPath, scenePath, outputPath | build a MeshLibrary for GridMap |
| `get_uid`, `update_project_uids` | projectPath (+ filePath) | Godot 4.4+ UID fixes |

Paths for scenes and textures are relative to the project (`res://` without the prefix), and
`projectPath` is the absolute folder that contains `project.godot`.

## Workflows

**Verify a change (do this after every gameplay edit):** `run_project` → wait briefly →
`get_debug_output` → `stop_project`. Read errors and warnings, fix, run again. Report what ran
and what didn't. Don't call a change done from code inspection alone.

**Import a generated sprite (PixelStrata):**
1. Download PixelLab output into `assets/sprites/...` (path from `assets.json`).
2. `create_scene` (`rootNodeType: "CharacterBody2D"`) or open the existing scene.
3. `add_node` → `Sprite2D` or `AnimatedSprite2D`; `load_sprite` for a single texture. Build
   `SpriteFrames` for animations in a `.tres` with the engine skill (`godot-animation`).
4. `add_node` → `CollisionShape2D` sized from the idle frame.
5. `run_project` + `get_debug_output` to confirm it loads.

**3D tiles for GridMap:** model scene → `export_mesh_library` → assign the `.res` to a GridMap.

## Pitfalls (symptom → cause → remedy)

- **Tools missing** → server not added or client not restarted → `claude mcp list`, restart.
- **"Godot not found"** → no auto-detected binary → set `GODOT_PATH`.
- **Empty debug output** → read too early, or the project crashed at load → run again, check
  `project.godot` main scene.
- **Only the engine banner, never your `print`/`push_error` lines** → the windowed run started
  from the MCP server can stall after the renderer line (seen on macOS) → run it from the shell
  instead: `godot --headless --path <project> --quit-after 300` prints the game's output and
  errors and exits (frames, not seconds).
- **Scene edits lost** → the editor had the scene open and saved over it → close the scene in the
  editor, or edit there instead.
- **Broken `uid://` references after moving files** → `update_project_uids`.

## References

- https://github.com/Coding-Solo/godot-mcp
- Related: `godot-nodes-scenes`, `godot-animation`, `godot-gdscript-headless-testing`,
  `pixelstrata` (import step).

Files in this skill

  • SKILL.md4.4 KB
  • agents/openai.yaml183 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.