What it does
Godot's own view of your GDScript project: code, scenes, and the running game
- Connects Runs on your computer
- Account or key No key needed · 1 setting to fill in (GODOT_BIN)
- Category Games, sports, food & learning
Why it ranks here
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 12/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 7/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 20/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Install
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install GodotLens. Follow https://mcp.popnx.com/i/pzalutski-pixel-godotlens.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
1 setting(s) to fill in (GODOT_BIN) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Let AI install it
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server GodotLens for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "godotlens": { "command": "npx", "args": [ "-y", "godotlens-mcp" ], "env": { "GODOT_BIN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For GODOT_BIN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the GodotLens tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
GODOT_BINGodot executable, required by scene_*, project_config and runtime_*
Descriptions are as written by the maker.
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "godotlens": { "command": "npx", "args": [ "-y", "godotlens-mcp" ], "env": { "GODOT_BIN": "your-value" } } } }Quit Claude and open it again
Try it
Use GodotLens and tell me what you can do for me, then show me one thing✓ If Claude says it is using GodotLens or shows a GodotLens tool in the answer, you are connected
10 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
GODOT_LSP_HOSTGodot language server host · default 127.0.0.1GODOT_LSP_PORTGodot language server port (the VS Code extension uses 6008) · default 6005GODOT_DAP_HOSTGodot debug adapter host · default 127.0.0.1GODOT_DAP_PORTGodot debug adapter port, used by the debug_* tools · default 6006GODOT_PROJECT_ROOTProject root; auto-detected by walking up for project.godotGODOT_LSP_TIMEOUTSeconds to wait for a single LSP response · default 15GODOT_DIAGNOSTICS_TIMEOUTSeconds to wait for diagnostics after a sync · default 8GODOT_VERSIONOverride Godot capability detectionGODOT_FIND_FILE_LIMITMax files gdscript_find inspects across the project · default 60GODOT_RUNTIME_MAX_SESSIONSMax games runtime_run keeps running at once · default 4
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect GodotLens yet
GodotLens runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect GodotLens
- 1 setting(s) to fill in (GODOT_BIN) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- 1 setting(s) to fill in (GODOT_BIN) · Install Node.js on your computer first (one time)
- 1 setting(s) to fill in (GODOT_BIN) · Install Node.js on your computer first (one time)
- 1 setting(s) to fill in (GODOT_BIN) · Install Node.js on your computer first (one time)
B · Others in Games, sports, food & learning that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- ShipSwift✓ ChatGPT
- LearnHouse✓ ChatGPT
- Anime Garden✓ ChatGPT
Works with Claude Code, with some setup first
1 setting(s) to fill in (GODOT_BIN) · Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server GodotLens for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user godotlens --env GODOT_BIN=your-value -- npx -y godotlens-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For GODOT_BIN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the GodotLens tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
GODOT_BINGodot executable, required by scene_*, project_config and runtime_*
Descriptions are as written by the maker.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user godotlens --env GODOT_BIN=your-value -- npx -y godotlens-mcpType /mcp in Claude Code
You should see GodotLens listed as connected
Try it
Use GodotLens and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using GodotLens or shows a GodotLens tool in the answer, you are connected
10 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
GODOT_LSP_HOSTGodot language server host · default 127.0.0.1GODOT_LSP_PORTGodot language server port (the VS Code extension uses 6008) · default 6005GODOT_DAP_HOSTGodot debug adapter host · default 127.0.0.1GODOT_DAP_PORTGodot debug adapter port, used by the debug_* tools · default 6006GODOT_PROJECT_ROOTProject root; auto-detected by walking up for project.godotGODOT_LSP_TIMEOUTSeconds to wait for a single LSP response · default 15GODOT_DIAGNOSTICS_TIMEOUTSeconds to wait for diagnostics after a sync · default 8GODOT_VERSIONOverride Godot capability detectionGODOT_FIND_FILE_LIMITMax files gdscript_find inspects across the project · default 60GODOT_RUNTIME_MAX_SESSIONSMax games runtime_run keeps running at once · default 4
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
1 setting(s) to fill in (GODOT_BIN) · Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server GodotLens for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "godotlens": { "command": "npx", "args": [ "-y", "godotlens-mcp" ], "env": { "GODOT_BIN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For GODOT_BIN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the GodotLens tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
GODOT_BINGodot executable, required by scene_*, project_config and runtime_*
Descriptions are as written by the maker.
Fill in your key
In the GodotLens settings, GODOT_BIN is empty; add your key and save
Open the AI chat in Cursor in Agent mode
Try it
Use GodotLens and tell me what you can do for me, then show me one thing✓ If Cursor says it is using GodotLens or shows a GodotLens tool in the answer, you are connected
10 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
GODOT_LSP_HOSTGodot language server host · default 127.0.0.1GODOT_LSP_PORTGodot language server port (the VS Code extension uses 6008) · default 6005GODOT_DAP_HOSTGodot debug adapter host · default 127.0.0.1GODOT_DAP_PORTGodot debug adapter port, used by the debug_* tools · default 6006GODOT_PROJECT_ROOTProject root; auto-detected by walking up for project.godotGODOT_LSP_TIMEOUTSeconds to wait for a single LSP response · default 15GODOT_DIAGNOSTICS_TIMEOUTSeconds to wait for diagnostics after a sync · default 8GODOT_VERSIONOverride Godot capability detectionGODOT_FIND_FILE_LIMITMax files gdscript_find inspects across the project · default 60GODOT_RUNTIME_MAX_SESSIONSMax games runtime_run keeps running at once · default 4
Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
1 setting(s) to fill in (GODOT_BIN) · Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server GodotLens for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "godotlens": { "type": "stdio", "command": "npx", "args": [ "-y", "godotlens-mcp" ], "env": { "GODOT_BIN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For GODOT_BIN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the GodotLens tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
GODOT_BINGodot executable, required by scene_*, project_config and runtime_*
Descriptions are as written by the maker.
Fill in your key
In the GodotLens settings, GODOT_BIN is empty; add your key and save
Open the AI chat in VS Code in Agent mode
Try it
Use GodotLens and tell me what you can do for me, then show me one thing✓ If VS Code says it is using GodotLens or shows a GodotLens tool in the answer, you are connected
10 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
GODOT_LSP_HOSTGodot language server host · default 127.0.0.1GODOT_LSP_PORTGodot language server port (the VS Code extension uses 6008) · default 6005GODOT_DAP_HOSTGodot debug adapter host · default 127.0.0.1GODOT_DAP_PORTGodot debug adapter port, used by the debug_* tools · default 6006GODOT_PROJECT_ROOTProject root; auto-detected by walking up for project.godotGODOT_LSP_TIMEOUTSeconds to wait for a single LSP response · default 15GODOT_DIAGNOSTICS_TIMEOUTSeconds to wait for diagnostics after a sync · default 8GODOT_VERSIONOverride Godot capability detectionGODOT_FIND_FILE_LIMITMax files gdscript_find inspects across the project · default 60GODOT_RUNTIME_MAX_SESSIONSMax games runtime_run keeps running at once · default 4
Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add --scope user godotlens --env GODOT_BIN=your-value -- npx -y godotlens-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"godotlens": {
"command": "npx",
"args": [
"-y",
"godotlens-mcp"
],
"env": {
"GODOT_BIN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"godotlens": {
"command": "npx",
"args": [
"-y",
"godotlens-mcp"
],
"env": {
"GODOT_BIN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"godotlens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"godotlens-mcp"
],
"env": {
"GODOT_BIN": "your-value"
}
}
}
}Values you fill in
GODOT_LSP_HOSTenvGodot language server hostGODOT_LSP_PORTenvGodot language server port (the VS Code extension uses 6008)GODOT_DAP_HOSTenvGodot debug adapter hostGODOT_DAP_PORTenvGodot debug adapter port, used by the debug_* toolsGODOT_BINrequired envGodot executable, required by scene_*, project_config and runtime_*GODOT_PROJECT_ROOTenvProject root; auto-detected by walking up for project.godotGODOT_LSP_TIMEOUTenvSeconds to wait for a single LSP responseGODOT_DIAGNOSTICS_TIMEOUTenvSeconds to wait for diagnostics after a syncGODOT_VERSIONenvOverride Godot capability detectionGODOT_FIND_FILE_LIMITenvMax files gdscript_find inspects across the projectGODOT_RUNTIME_MAX_SESSIONSenvMax games runtime_run keeps running at once
Descriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account pzalutski-pixel, which owns the repo
- ✓ Pass
Still maintained
Code last changed 33 days ago
- ✓ Pass
Has a licence
Uses Apache-2.0
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Published vulnerabilities (OSV.dev)
No entries on OSV.dev for godotlens-mcp@1.2.0
Checks only this package version, not every dependency · checked Nov 15, 2026
Makers: ask for a re-check or report wrong info
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/pzalutski-pixel-godotlens)Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Games, sports, food & learningi
- More stars than 96% of the other 1623 servers in this category
- Published to the registry more recently than 44% of the other 1623 servers in this category
- Basic checks equal to or better than 99% of the other 1623 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is GodotLens safe?
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed 33 days ago, and the latest version (1.2.0) reached the registry 33 days ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js, Python (uv) on your computer.
What can I use instead?
In the same category: Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch
Similar alternatives
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
WilmAI
Finland's Wilma school system for parents and students: schedule, homework, exams and messages.
Lumify Sports Intelligence
Schedules, scores, odds, splits & explainable AI bet confidence — 8+ sports, free instant key.
Savecraft
Savecraft serves real save game data and expert game knowledge to AI assistants.
GoodWatch
Find movies and TV shows, track watches, and get suggestions based on your taste.
| This one GodotLens | Anime Garden | WilmAI | Lumify Sports Intelligence | Savecraft | GoodWatch | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | No | No | No | Yes | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 4/4 | 3/3 | 4/4 | 3/4 | 4/4 |
| License | Apache-2.0 | AGPL-3.0 | MIT | MIT | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
GodotLens: Godot's own view of your GDScript project
An MCP server that lets an AI agent ask Godot itself about your project — where a symbol is used, what a method's real signature is, whether an edit compiles, how a scene is wired — and run the game, look at it and drive it, so the agent can check that the game does what it meant without a person playing it.
Why
An agent editing GDScript from text alone is guessing. It cannot tell a call from a comment, cannot know which methods exist on a CharacterBody2D in *your* Godot version, cannot see that a signal handler is wired by name inside a .tscn, and cannot see what happened at runtime.
GodotLens never answers those questions itself. It asks the engine and returns the engine's answer. Measured on Godot 4.7.1, in a project where take_damage is defined in player.gd, called twice from enemy.gd, once from player.gd, and named in a comment:
| Approach | Result |
|---|---|
grep take_damage | 5 matches, including the comment |
gdscript_references | exactly 4 real call sites; the comment is not among them |
That principle — *delegate every judgement to Godot* — is what makes the answers trustworthy, and it is why the tool names tell you where an answer came from. gdscript_* is the language server. scene_* and project_* run the engine on the project. debug_* is your editor's debugger. runtime_* is a game GodotLens launched and is connected to.
Requirements
| Needed for | |
|---|---|
| Godot 4.6+ editor open on your project | gdscript_* and debug_* — the language server and debug adapter live inside the editor |
A Godot binary via GODOT_BIN, a ./godot/ directory, or PATH | scene_*, project_* and runtime_*, which run the engine themselves and need no editor |
Python 3.10+, or Node.js 16+ for npx | running this server |
Godot 4.6 is the floor because the language server changed materially at 4.5 (URI encoding) and 4.6 (document ownership). Older versions are refused with a clear message rather than silently misread.
Install
npx (recommended). The package bundles the server; there are no runtime dependencies.
{
"mcpServers": { "godotlens": { "command": "npx", "args": ["-y", "godotlens-mcp"] } } }
pip
pip install godotlens-mcp
{
"mcpServers": { "godotlens": { "command": "godotlens-mcp" } } }
How to run
| Setup | What works | Do this |
|---|---|---|
| Your editor is open — normal development | Everything | Turn on Import Resources When Unfocused in Editor Settings (below). |
| No editor — CI, scripts | scene_*, project_*, runtime_* | For gdscript_* and debug_*, start a headless editor: godot --path --editor --headless --lsp-port 6005 --dap-port 6006 |
Games GodotLens launches (runtime_run) | runtime_*, beside either of the above | Nothing. Each game is its own process connected to GodotLens; no editor run slot is used. |
Import Resources When Unfocused. The editor notices new and changed files only when its window gains focus. An agent-driven editor never gains focus, so a new class_name script stays unknown — every script using it reports the name as undeclared and the game fails to parse — and new assets stay unimported. With this setting on, the editor rescans every half second. It is interface/editor/behavior/import_resources_when_unfocused in 4.7 and interface/editor/import_resources_when_unfocused in 4.6; to set it for one project only, put the 4.6 name under [editor_overrides] in project.godot (4.7 migrates it on load). When a synced file names a class the editor has not registered, gdscript_sync_file waits briefly, then says which class and points here.
Games GodotLens launches. runtime_run starts the game with --remote-debug pointing at GodotLens, so the game connects to GodotLens the way it would to the editor's debugger. Games are headless by default — no window, no sound, nothing takes focus. Pass windowed: true only for runtime_screenshot: the window opens at a far-off position with audio muted, and is then moved fully off-screen, so at most a small corner may show for a moment. Script errors are reported and never stop the game. A game started this way ends when it is stopped, when GodotLens exits, and on Windows even if GodotLens is killed outright. Its log, like that of every engine run GodotLens starts, goes to a temporary file of its own: Godot keeps only the newest five logs per project, and your own play and test logs stay among them.
The helper. runtime_eval and runtime_input need code inside the game. GodotLens passes its own helper.gd to the game with --script for that run only; nothing is written to your project. Godot still loads your project's settings, input map and autoloads, and the helper opens the scene. A project that sets its own main loop type runs without it, and runtime_run with helper: false runs the game exactly as it is.
Several agents. Subagents in one Claude Code session share one GodotLens process (gdscript_status and runtime_status report its server_pid). Calls run concurrently, so a long runtime_run or scene check does not hold up anyone else's query, and each agent can run its own game with runtime_run (GODOT_RUNTIME_MAX_SESSIONS, default 4). Two things are not coordinated: debug_run uses your editor's single run slot, so a second run stops the first; and two agents writing the same file overwrite each other — have one agent write at a time.
The loop
The tools are designed around one cycle. Read it once and the rest of this document is a reference.
flowchart LR
U[" Understand gdscript_find gdscript_references gdscript_hover"] W[" Write gdscript_engine_api gdscript_complete gdscript_validate"] S[" Sync gdscript_sync_file"] V[" Verify gdscript_diagnostics scene_validate project_validate"] R[" Run runtime_run"] O[" Observe & act runtime_tree · runtime_inspect runtime_output · runtime_eval runtime_input · runtime_screenshot"]
U --> W --> S --> V --> R --> O O -- "fix, then runtime_reload" --> W O -- "something is wrong" --> U
classDef step fill:#f5f7fa,stroke:#4a6785,stroke-width:1px,color:#1b2733; class U,W,S,V,R,O step;
- Understand.
gdscript_findlocates a symbol by name;gdscript_referencesandgdscript_hoverexplain how it is used and what type it is. - Write.
gdscript_engine_apigives real signatures instead of recalled ones,gdscript_completeoffers scene-aware candidates, andgdscript_validatechecks proposed content *before* it reaches disk. - Sync. Godot's language server does not watch the filesystem. After editing a
.gdfile, callgdscript_sync_fileor it keeps answering from the old text. - Verify.
gdscript_diagnosticsfor compile errors,scene_validatefor what the compiler cannot see in a scene,project_validateafter moving files. - Run.
runtime_runstarts the game and returns its first output and errors. - Observe and act. See the live tree and values, press inputs, evaluate expressions, take a screenshot; fix the code and
runtime_reloadit into the running game.
Two conventions apply throughout:
- All line and character parameters are 0-indexed, matching the LSP. Editor line 1 is line 0.
gdscript_findexists partly so you rarely have to compute one by hand. - Results carry a `verified` flag where it matters.
verified: falsewith an empty diagnostics list means Godot never reported back — that is *not* a clean bill of health.
Tools
Understanding code
| Tool | Description |
|---|---|
gdscript_find | Locate a declaration by name. Returns a position the tools below accept directly. |
gdscript_definition | Where a symbol is defined. |
gdscript_references | Every reference project-wide. On 4.6+ this reparses every .gd file, so it is not cheap. |
gdscript_references_in_file | Occurrences within one file. Much cheaper. Godot 4.7+. |
gdscript_hover | Type information and documentation for a symbol. |
gdscript_symbols | The symbol tree of a file. |
gdscript_signature_help | Parameter info at a call site. |
gdscript_symbols_batch, gdscript_definitions_batch, gdscript_references_batch | The same, across many files or positions in one call. |
Writing code
| Tool | Description |
|---|---|
gdscript_engine_api | Signatures and docs for an engine class or member, from the exact build in use, including members inherited from parent classes. Use instead of recalling Godot's API. |
gdscript_complete | Completions at a position. The only scene-aware query: includes real $NodePath entries and the signals actually on the owning node. |
gdscript_validate | Check proposed content for errors without writing it to disk. |
gdscript_rename | Rename a symbol. Refuses when Godot will not rename it, and warns when the name also appears in scene files it cannot update. |
Keeping Godot in step
| Tool | Description |
|---|---|
gdscript_sync_file | Sync one modified file and return its diagnostics. Waits briefly for a new class_name the editor has not registered yet. |
gdscript_sync_files | Sync several at once. |
gdscript_release_file | Release a file so the language server reads from disk again. |
gdscript_diagnostics | Errors and warnings for one or more files. |
gdscript_status | Connection check. Start here if anything behaves oddly. |
Project and scenes
These run the Godot binary, so scenes resolve exactly as the engine builds them, inherited and instanced scenes included. They do not parse .tscn as text, and need no editor.
| Tool | Description |
|---|---|
project_config | Autoload singletons, input action names, class_name globals, and the main scene, via ProjectSettings, with whether each file exists. |
project_validate | References that no longer resolve after files move: scene and resource dependencies, autoload scripts, the main scene. A reference whose UID still resolves is not broken. |
scene_state | Node tree, types, script attachments, unique_name_in_owner flags, exported values, and signal connections. |
scene_validate | What Godot gets silently wrong in a scene. Errors: dangling connections, missing signals, handlers taking the wrong number of arguments, unknown node types, scripts that do not fit their node, missing parents, duplicate names. Warnings: unknown properties, wrong value types, NodePaths to nodes not in the scene. |
Debugger in your editor
Godot serves a Debug Adapter Protocol server from the editor, no addon required. These use the editor's own run slot — one game at a time — and are the way to set breakpoints.
| Tool | Description |
|---|---|
debug_run | Run the project from the editor and return what it printed and every structured error. args: ["--headless"] runs it with no window. |
debug_output | Output from that game — print, stdout, stderr — and structured errors (push_error, push_warning, engine and script errors) with file, line and stack. Drained on each call. |
debug_set_breakpoints | Set breakpoints in a file. |
| debug_stack_trace | The call stack where