get_diagnostics
Check a single GDScript file for errors.
How to use it
get_diagnostics is exposed by the Minimal Godot MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_diagnostics tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Minimal Godot MCP
$
npx -y @ryanmazzolini/minimal-godot-mcp