Funplay Cocos MCP exposes a local HTTP endpoint that lets Claude Code read and modify your Cocos Creator project in real time. You install the extension into Cocos Creator 3.8 or later, start the server, and point Claude Code at http://127.0.0.1:8765/.
What the Project Is
Funplay Cocos MCP is an editor extension that turns Cocos Creator into an MCP server. It ships with 4 built-in prompts — fix_script_errors, create_playable_prototype, scene_validation, and auto_wire_scene — plus 8 built-in MCP resources. Two tool profiles are available: Core with 19 tools and Full with 67 tools across 13 categories.
The extension belongs to a broader Funplay ecosystem. The Unity MCP offers 79 tools and requires Unity 2022.3 or later. The Godot MCP provides 105 tools and targets Godot 4.2 or later. Funplay Skills bundles 12 reusable skills across platforms. All of these repositories live under the FunplayAI GitHub organization.
Why It Matters
Without an MCP bridge, Claude Code cannot inspect your scene hierarchy, create nodes, or run JavaScript inside the editor. You would copy-paste script contents into a chat window, ask for edits, then paste the results back by hand. Funplay Cocos MCP removes that round-trip. Claude Code calls tools directly against the running editor over HTTP. It can capture the scene view, enter and exit preview mode, and execute arbitrary JavaScript in the engine context.
The Core profile centers on the execute_javascript tool plus a handful of essentials: get_scene_info, get_node_info, create_node, delete_node, find_nodes, list_prefabs, capture_scene_view, get_preview_state, enter_preview, and exit_preview. The Full profile adds narrow, typed tools across all 13 categories for developers who prefer explicit parameter schemas over free-form JavaScript execution.
Step 1: Install the Extension
Two installation paths exist.
Project-local install. Clone the repository into your project's extensions/ folder:
cd your-project/extensions
git clone https://github.com/FunplayAI/funplay-cocos-mcp.git funplay-cocos-mcp
Open Cocos Creator. Navigate to Extension → Extension Manager → Refresh. The extension appears in the list and loads immediately.
Global install. Place the same funplay-cocos-mcp/ folder under ~/.CocosCreator/extensions/. Every project on your machine gains access without per-project copying.
The extension requires Cocos Creator 3.8 or later. Older editor versions will not load it.
Step 2: Start the MCP Server
After installation, an MCP Server panel appears inside the Cocos Creator editor. Open that panel and click Start Server. The extension boots an HTTP endpoint on 127.0.0.1 port 8765.
Leave the editor running. The server stays active as long as the editor remains open. At this