GDScript language intelligence via Godot's built-in LSP server. Provides hover, go-to-definition, find-references, document symbols, and real-time diagnostics for .gd files.
npx claudepluginhub smitner-studio/godot-lsp-pluginExplores and maps GDScript codebases using Godot's LSP. Lists symbols, traces definitions, finds references, and builds understanding of code structure. Use when navigating unfamiliar Godot projects.
Validates GDScript files using Godot's LSP. Reads .gd files to trigger diagnostics, reports errors and warnings, and optionally fixes issues. Use after editing GDScript code or to check project health.
A Claude Code plugin that connects Claude to Godot's built-in GDScript Language Server, giving Claude type-aware intelligence when working with .gd files.
# 1. Clone the plugin
git clone https://github.com/Smitner-Studio/godot-lsp-plugin.git
# 2. Open your Godot project in the editor, then:
cd /path/to/your-godot-project
claude --plugin-dir /path/to/godot-lsp-plugin
That's it — Claude now has full GDScript language intelligence.
To make it permanent, add --plugin-dir /path/to/godot-lsp-plugin to your workflow each time, or symlink the plugin into your project.
.gd files are read or writtenClaude Code <──stdio──> bridge.js <──TCP:6005──> Godot LSP Server
Godot 4.x ships with a built-in LSP server, but it speaks TCP. Claude Code's LSP support uses stdio. bridge.js bridges the two protocols, including a workaround for Godot's quirk of not always sending an initialize response.
Clone this repo:
git clone https://github.com/Smitner-Studio/godot-lsp-plugin.git
Launch Claude Code with the plugin:
claude --plugin-dir /path/to/godot-lsp-plugin
Open your Godot project in the editor (so the LSP server starts), then use Claude Code as normal. LSP features activate automatically for .gd files.
Override the default connection with environment variables:
| Variable | Default | Description |
|---|---|---|
GODOT_LSP_HOST | localhost | Godot LSP server host |
GODOT_LSP_PORT | 6005 | Godot LSP server port |
The plugin ships with two specialized agents:
.gd files for errors via LSP diagnostics, reports issues, and can auto-fix common problems| Symptom | Cause | Fix |
|---|---|---|
| Connection error | Godot editor not running | Open your project in Godot |
| Hover returns empty | Cursor not on a symbol, or file has parse errors | Fix parse errors first |
| No references found | Symbol unused or workspace not indexed | Wait a moment, or re-save the file in Godot |
| Diagnostics show "Unexpected <" | Stale LSP cache | Save the file in the Godot editor |
MIT
Agentic skills framework for Godot 4.x game development — 44 domain-specific skills for GDScript and C#
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Comprehensive Godot Engine integration — 17 tools for game development
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Develop, test, build, and deploy Godot 4.x games. Includes GdUnit4 testing, PlayGodot automation, web/desktop exports, CI/CD pipelines, and deployment.
Go language server
Comprehensive plugin collection covering ecosystem support, documentation, and development guidance for Claude Code workflows.