Gaming & Gamification · Developer Tools

Cocos MCP Server

daxianlee/cocos-mcp-server

A comprehensive MCP (Model Context Protocol) server plugin for Cocos Creator 3.8+ that lets AI assistants interact with the Cocos Creator editor through a standardized protocol. One-click installation and use — no tedious environment setup or configuration required.

Install

See repository

Setup steps are in the repository README.

Open README
Category
Gaming & Gamification, Developer Tools
Updated
Oct 6, 2026

About Cocos MCP Server

Tested with the Claude desktop client, Claude CLI, and Cursor; other editors should theoretically work perfectly as well.

Now offering 50 powerful, consolidated tools for 99% editor control!

Features

  • Smart Path Resolution — All node parameters accept a UUID, a path (e.g. Canvas/Panel/Button), or a name, and are resolved automatically

  • Automatic UI Detection — Automatically adds cc.UITransform when creating a node under a UI parent node

  • Viewport Context — Returns the design resolution and visible range when creating/modifying nodes, with automatic warnings when out of bounds

  • Built-in Knowledge Base — AI can query component property tables, coordinate system rules, layout patterns, and other knowledge

  • Scene Builder — Describe a complete UI hierarchy in JSON and build it in a single call, with automatic handling of Canvas/Camera/component configuration

  • Reference Image System — Overlay UI design mockups on the scene view so AI can build interfaces while looking at the design

  • Node Tree Caching — A 2-second TTL cache avoids redundant queries and is automatically invalidated after change operations

  • Atomic Operations — builder/composite use a snapshot mechanism that automatically rolls back on failure

Tools (19)

  • scene_management

    Scene management - get the current scene, open/save/create/close scenes, supports scene list queries

  • scene_hierarchy

    Scene hierarchy - get the complete scene structure, with optional inclusion of component information

  • scene_execution_control

    Execution control - execute component methods, scene scripts, and prefab syncing

  • node_query

    Node query - find nodes by name/pattern, get node information, detect 2D/3D type

  • node_lifecycle

    Node lifecycle - create/delete nodes, with support for pre-installed components and prefab instantiation

  • node_transform

    Node transform - modify node name, position, rotation, scale, visibility, and other properties

  • node_hierarchy

    Node hierarchy - move, duplicate, and paste nodes, with support for hierarchy structure operations

  • node_clipboard

    Node clipboard - copy/paste/cut node operations

  • node_property_management

    Property management - reset node properties, component properties, and transform properties

  • component_manage

    Component management - add/remove engine components (cc.Sprite, cc.Button, etc.)

  • component_script

    Script components - attach/remove custom script components

  • component_query

    Component query - get component lists, detailed information, and available component types

  • set_component_property

    Property setting - set one or multiple component property values

  • prefab_browse

    Prefab browsing - list prefabs, view information, validate files

  • prefab_lifecycle

    Prefab lifecycle - create prefabs from nodes, delete prefabs

  • prefab_instance

    Prefab instances - instantiate into the scene, unlink, apply changes, revert to original

  • prefab_edit

    Prefab editing - enter/exit edit mode, save prefabs, test changes

  • validation_scene

    Scene validation - validate scene integrity, check for missing assets

  • validation_asset

    Asset validation - validate asset references, check asset integrity

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cline logo

Cline

Desktop · Free · MIT

An AI coding assistant integrated into the IDE. Supports MCP servers for enhanced functionality.

WindowsMacOSLinux
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
Windsurf logo

Windsurf

Desktop · Freemium · Proprietary

The first agentic IDE. The Windsurf editor truly merges how developers and AI work together.

WindowsMacOSLinux

Related MCP servers

More servers
HAN JIE logo

HAN JIE

hedge-dev/XenonRecomp

6k

XenonRecomp is a tool that converts Xbox 360 executables into C++ code, which can then be recompiled for any platform.

Gaming & Gamification
Unity MCP logo

Unity MCP

justinpbarnett/unity-mcp

1.8k

Create your Unity apps with LLMs. MCP for Unity bridges AI assistants — Claude, Codex, VS Code, local LLMs, and more — with your Unity Editor via Model Context Protocol. Give your LLM the tools to manage assets, control scenes, edit scripts, run tests, and automate your game dev workflows.

Gaming & Gamification
Unreal MCP logo

Unreal MCP

chongdashu/unreal-mcp

542

This project enables AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).

Gaming & Gamification
MCP Unity logo

MCP Unity

codergamester/mcp-unity

435

MCP Unity is an implementation of the Model Context Protocol for Unity Editor, allowing AI assistants to interact with your Unity projects.

Gaming & Gamification
Unity logo

Unity

arodoid/unitymcp

422

UnityMCP is a powerful Unity Editor plugin that implements the Model Context Protocol (MCP), enabling seamless integration between Unity and AI assistants. It provides real-time editor state monitoring, remote command execution, and comprehensive logging capabilities.

Gaming & Gamification
Godot logo

Godot

coding-solo/godot-mcp

329

Godot MCP enables AI agents to launch the Godot editor, run projects, capture debug output, and control project execution. This direct feedback loop helps agents understand what works and what doesn't in real Godot projects, leading to better code generation and debugging assistance.

Gaming & Gamification