# Cocos Creator 2.x MCP

Start CocosCreator2.x MCP Server, confirm Running, use One-Click Configuration for a mainstream coding tool, then keep Cocos Creator 2.4.x and the MCP server open while the tool talks to the project.

## 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](/docs/mcp/cocos-creator-3x-mcp/) instead. Download from [Cocos Creator 2.x MCP](https://vberai.com/game-engines/cocos2x). How the channel works: [How MCP Connects AI Coding Tools to Game Engines](/docs/mcp/what-is-mcp/).

## 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](/images/mcp/cocoscreator2x_mcp_.webp)

**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](https://vberai.com/game-engines/cocos2x).
