Connects Claude to Godot's built-in Language Server Protocol over TCP, exposing 15 semantic analysis tools for GDScript projects. You get compiler-accurate operations like go-to-definition, find-references, rename-symbol, and diagnostics instead of relying on grep or regex patterns that can't distinguish function calls from comments. The Godot editor must be running with your project open since it hosts the LSP server on port 6005. After Claude edits a .gd file, you'll need to call gdscript_sync_file to refresh the LSP state before querying diagnostics or navigation data. Useful when you want Claude to refactor GDScript code with full semantic awareness rather than text-based heuristics.
claude mcp add --transport stdio io.github.pzalutski-pixel-godotlens uvx godotlens