Godot Lens MCP Server

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 what the game actually printed when it ran. Its 27 documented tools cover gdscript, debug, file, references. It runs locally over stdio via the published package.

People connecting gaming tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-07-27 · ★ 5 · #22 OF 35 MAINTAINED GAMING · VERIFIED 2026-08-25

Apache-2.0 · Python servers · how we verify → /methodology

01 · Install Godot Lens

before you install - you'll need

GODOT_BIN

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

claude mcp add pzalutski-pixel-godotlens-mcp -- npx -y godotlens-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "pzalutski-pixel-godotlens-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "godotlens-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license Apache-2.0 - declared in the repository

npm package godotlens-mcp - unscoped; check the name against the project README before installing

registry namespace io.github.pzalutski-pixel is GitHub-verified and matches the repo owner

03 · What Godot Lens can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can check proposed content for errors without writing it to disk, rename a symbol. Refuses when Godot will not rename it, and warns when the name also appears in scene files it cannot update, sync one modified file and return its diagnostics, and sync several at once.

Capability map

Tools grouped from the project's README - what Godot Lens lets an agent do.

Gdscript

16 tools - e.g. Locate a declaration by name. Returns a position the tools below accept directly.; Where a symbol is defined.; Every reference project-wide. On 4.6+ this reparses every .gd file, so it is not cheap.

gdscript_find · gdscript_definition · gdscript_references · gdscript_references_in_file · gdscript_hover · gdscript_symbols…

Debug

8 tools - e.g. Run the project and return what it printed.; Console output from a running game - print, stdout, stderr, and runtime errors with their source location. Drained on each call.; Set breakpoints in a file.

debug_run · debug_output · debug_set_breakpoints · debug_stack_trace · debug_inspect · debug_evaluate…

Scene

2 tools - e.g. Node tree, types, script attachments, unique_name_in_owner flags, exported values, and signal connections.; Checks every connection points at a method that exists.

scene_state · scene_validate

Project

1 tool - e.g. Autoload singletons, input action names, class_name globals, and the main scene, via ProjectSettings.

project_config

Latest releases

v1.1.1 · 2026-07-27

v1.1.0 · 2026-07-27

v1.0.5 · 2026-04-15

04 · Who maintains Godot Lens

GodotLens is maintained by pzalutski-pixel. We track 4 MCP servers from pzalutski-pixel - 4 actively maintained, 74 combined GitHub stars, oldest repo from Dec 2025. Full record: all servers from pzalutski-pixel.

  1. SharpLens 67 semantic C#/.NET analysis tools via Roslyn: navigation, refactoring, codegen, audit. ★ 32
  2. JavaLens 63 semantic Java analysis tools via Eclipse JDT: navigation, refactoring, code intelligence. ★ 37

05 · Facts

category
gaming - ranked #22 of 35 actively-maintained gaming servers as of 2026-08-25.
release cadence
2 releases in the last 90 days (latest 2026-07-27)
registry
io.github.pzalutski-pixel/godotlens (active, first published 2026-04-08 · 5 versions)
packages
npm:godotlens-mcp · pypi:godotlens-mcp

06 · Godot Lens FAQ

Is Godot Lens still maintained?

Yes - as of 2026-08-25, its last commit was 2026-07-27 and it shipped 2 releases in the last 90 days. We re-verify nightly.

What can Godot Lens do?

With this server connected, an agent can check proposed content for errors without writing it to disk, rename a symbol. Refuses when Godot will not rename it, and warns when the name also appears in scene files it cannot update, sync one modified file and return its diagnostics, and sync several at once.

How do I install Godot Lens?

Run `npx -y godotlens-mcp`. The README documents one environment variable (GODOT_BIN) to set first. You can also paste the ready-made client config above.

Does Godot Lens run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Godot Lens