construct2-mcp: free, open-source AI agent control for Construct 2 (MCP server)

Not favoritedFavorited Favorited 0 favourites
  • 1 posts
From the Asset Store
Create your own wss server and ws server with ssl and without ssl.
  • Hi all,

    I've released construct2-mcp, a free, MIT-licensed MCP server that lets an AI assistant (Claude Code, Claude Desktop or any MCP client) work on Construct 2 projects and drive the Construct 2 editor.

    What it can do

    • Edit folder projects (.caproj): layouts, layers, instances, objects, animations, behaviors, instance variables, families, sounds, settings
    • Read and write event sheets: events, sub-events, groups, variables, comments, includes, OR blocks, Else. Every condition and action is checked against the plugins and behaviors you have installed (it reads each addon's edittime.js, so third-party addons work too)
    • Drive the running editor via Windows UI Automation: open, reload, save, preview, the whole Export wizard (HTML5, NW.js, Cordova...), dialogs and screenshots, without taking over your mouse or keyboard

    Safety

    Files are written in the editor's own format (untouched files stay byte-identical). It refuses to edit a project that has unsaved changes in the editor, and backs up each file before its first change.

    Tested

    On Construct 2 r279 with 9 released games: 822 project files round-trip byte-identical and 20,000+ conditions/actions resolve. A small game built entirely through it opens in the editor, exports to HTML5 through the automated wizard and plays in the browser.

    Limitations

    Windows only. System actions are known by id from real projects (107 so far, the common ones; more can be learned from any project that uses them). Renaming objects isn't supported yet.

    Install (needs Python and uv):

    claude mcp add construct2 -- uvx --from git+https://github.com/wjrosa/construct2-mcp construct2-mcp

    Source, docs and issues: github.com/wjrosa/construct2-mcp

    Not affiliated with Scirra. Feedback and bug reports welcome!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)