MCPVault

gm_gml_duplicate_find

MCP tool from Gamemaker MCP by yearningss

Scan project GML files to detect identical contiguous code blocks across assets

How to use it

gm_gml_duplicate_find is exposed by the Gamemaker MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the gm_gml_duplicate_find 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 all
FULL GAMEMAKER MCP LISTING

Other tools in Gamemaker MCP (39)

gm_asset_find_references

Scan project code files (.gml) and asset metadata (.yy/.yyp) for references to a given asset name

gm_asset_list

Filtered and paginated asset index

gm_asset_read

Asset metadata plus related GML/shader sources and hashes

gm_code_search

Literal or regex GML/GLSL search

gm_dependency_graph

Asset dependencies, evidence, isolated nodes, and cycles

gm_doc_export

Generate structured Markdown documentation for all project assets

gm_draw_state_audit

Audit Draw events for GPU state leaks (blendmodes, alpha, shader state)

gm_file_list

Filtered project file list with size/time and bounded hashing

gm_file_read

Allowed text content plus SHA-256

gm_gml_analyze

Functions, symbols, calls, complexity, delimiter errors, and risky patterns

gm_gml_dead_code_detect

Scan GML scripts and objects to detect declared functions that are never called anywhere in the project

gm_gml_docgen

Generate Feather-compliant JSDoc headers (/// @function, /// @param, /// @returns)

gm_gml_globalvars_list

Scan GML scripts and objects for global.variable usages, returning reads/writes breakdown

gm_gml_patch

Exact guarded replacement with expected match count

gm_gml_patch_preview

Exact replacement count and changed-line preview without writing

gm_gml_profile_check

Scan Step/Draw events & loops for CPU/memory anti-patterns

gm_gml_validate_snippet

Preflight GML code for syntax delimiter balance and deprecated builtins

gm_gml_write

Atomic guarded GML write

gm_i18n_extract_strings

Scan project GML files for hardcoded string literals and generate datafiles/localization.json dictionary

gm_i18n_scan

Scan GML code for hardcoded string literals and suggest localization keys

gm_ide_cache_clear

Safely remove project .gmcache directory to fix stale asset compilation issues

gm_ide_feather_config

Create or update .featherconfig in project root to configure strict type checking and warnings

gm_ide_hotkeys_inspect

Read keybindings.json configuration from GameMaker Studio user directory to display IDE hotkeys

gm_ide_preferences_inspect

Read user preferences file (preferences.json) from GameMaker Studio user directory

gm_ide_recent_projects

Read recentprojects.json from GameMaker Studio user directory to list recently opened projects

gm_macros_list

Scan all scripts and objects to extract and list GML #macro definitions

gm_object_hierarchy

Build object parent-child inheritance tree with inherited events

gm_physics_audit

Scan objects to inspect enabled physics mode, shape, density, friction, and restitution parameters

gm_project_architecture_audit

Comprehensive architecture audit reporting modularity score (0-100), grade (A+ to F), and design recommendations

gm_project_autofix

Scan and automatically repair missing YYP references, missing shader files, and corrupted metadata

gm_project_health_score

Calculate 0-100% health score, grade (A+ to F), and recommendations

gm_project_info

Project identity, IDE/resource versions, asset counts, and room order

gm_project_statistics

Resource, file, line, complexity, shader, and dependency statistics

gm_project_validate

Structural YYP/YY/resource/event/shader validation

gm_runtime_detect

Installed runtimes and selected Igor toolchain

gm_shader_analyze

Entry points, declarations, varying compatibility, and portability diagnostics

gm_state_machine_visualize

Parse GML code to extract states and transitions, returning a Mermaid stateDiagram-v2 string

gm_symbol_references

Declarations, calls, writes, reads, and optional metadata references

gm_unused_assets

Scan project for unreferenced sprites, sounds, scripts, fonts, paths, and objects