gm_file_list
Filtered project file list with size/time and bounded hashing
How to use it
gm_file_list is exposed by the Gamemaker MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the gm_file_list tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Gamemaker MCP
npx gamemaker-mcp@latest connect allOther tools in Gamemaker MCP (39)
Scan project code files (.gml) and asset metadata (.yy/.yyp) for references to a given asset name
Filtered and paginated asset index
Asset metadata plus related GML/shader sources and hashes
Literal or regex GML/GLSL search
Asset dependencies, evidence, isolated nodes, and cycles
Generate structured Markdown documentation for all project assets
Audit Draw events for GPU state leaks (blendmodes, alpha, shader state)
Allowed text content plus SHA-256
Functions, symbols, calls, complexity, delimiter errors, and risky patterns
Scan GML scripts and objects to detect declared functions that are never called anywhere in the project
Generate Feather-compliant JSDoc headers (/// @function, /// @param, /// @returns)
Scan project GML files to detect identical contiguous code blocks across assets
Scan GML scripts and objects for global.variable usages, returning reads/writes breakdown
Exact guarded replacement with expected match count
Exact replacement count and changed-line preview without writing
Scan Step/Draw events & loops for CPU/memory anti-patterns
Preflight GML code for syntax delimiter balance and deprecated builtins
Atomic guarded GML write
Scan project GML files for hardcoded string literals and generate datafiles/localization.json dictionary
Scan GML code for hardcoded string literals and suggest localization keys
Safely remove project .gmcache directory to fix stale asset compilation issues
Create or update .featherconfig in project root to configure strict type checking and warnings
Read keybindings.json configuration from GameMaker Studio user directory to display IDE hotkeys
Read user preferences file (preferences.json) from GameMaker Studio user directory
Read recentprojects.json from GameMaker Studio user directory to list recently opened projects
Scan all scripts and objects to extract and list GML #macro definitions
Build object parent-child inheritance tree with inherited events
Scan objects to inspect enabled physics mode, shape, density, friction, and restitution parameters
Comprehensive architecture audit reporting modularity score (0-100), grade (A+ to F), and design recommendations
Scan and automatically repair missing YYP references, missing shader files, and corrupted metadata
Calculate 0-100% health score, grade (A+ to F), and recommendations
Project identity, IDE/resource versions, asset counts, and room order
Resource, file, line, complexity, shader, and dependency statistics
Structural YYP/YY/resource/event/shader validation
Installed runtimes and selected Igor toolchain
Entry points, declarations, varying compatibility, and portability diagnostics
Parse GML code to extract states and transitions, returning a Mermaid stateDiagram-v2 string
Declarations, calls, writes, reads, and optional metadata references
Scan project for unreferenced sprites, sounds, scripts, fonts, paths, and objects