TL;DR: 3 steps

Cocos Creator 2.x MCP fits a Cocos Creator 2.4.x project that an AI coding tool should see and operate. A 3.8.6+ project uses Cocos Creator 3.x MCP instead. Download from Cocos Creator 2.x MCP. How the channel works: How MCP Connects AI Coding Tools to Game Engines.

Step 1: Open CocosCreator2.x MCP Server

Install from the official page, then open CocosCreator2.x MCP Server. Sign in if the window asks. Keep Cocos Creator 2.x open on the same project.

Step 2: Confirm Running and use One-Click Configuration

On the Server tab, Status should read Running. Default port in this window is 4000. MCP URL is http://127.0.0.1:4000/mcp. Use One-Click Configuration for a mainstream coding tool.

Cocos Creator 2.x MCP Server: Running, port 4000, One-Click Configuration

Tool Management and Quick Config are the other two tabs. Transport is Streamable HTTP (MCP 2025-03-26).

Step 3: Attach the AI coding tool

Finish One-Click Configuration. Keep Cocos Creator and the MCP server running while the coding tool talks to the editor through MCP.

Versions, tools, and licenses: vberai.com/game-engines/cocos2x.