Cocos Creator
一款全面的、便捷的cocos creator AI MCP服务插件,适用于3.8.0以上cocos版本,一键安装,一键启动。A comprehensive and convenient cocos creator AI MCP service plug-in, suitable for cocos versions above 3.8.0, one-click installation and one-click start.
What is Cocos Creator?
Cocos Creator is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 一款全面的、便捷的cocos creator ai mcp服务插件,适用于3.8.0以上cocos版本,一键安装,一键启动。a comprehensive and convenient cocos creator ai mcp service plug-in, suitable for cocos versions above 3.8.0, one-click installation and o...
一款全面的、便捷的cocos creator AI MCP服务插件,适用于3.8.0以上cocos版本,一键安装,一键启动。A comprehensive and convenient cocos creator AI MCP service plug-in, suitable for cocos versions above 3.8.0, one-click installation and one-click start.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- 一款全面的、便捷的cocos creator AI MCP服务插件,适用于3.8.0以上cocos版本,一键安装,一键启
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx cocos-creator-mcp-server-pluginConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Cocos Creator
The Cocos Creator MCP Server Plugin embeds a full MCP server directly inside the Cocos Creator editor, exposing 50 unified tools that let AI assistants create nodes, manage scenes, handle assets, control prefabs, run builds, and inspect the debug console through natural language. It targets Cocos Creator 3.8.0 and above, installs as a standard editor extension, and connects over HTTP so any MCP-compatible client including Claude Desktop and Claude Code CLI can control the editor in real time. Game developers use it to scaffold scenes, batch-modify components, and automate asset operations without leaving their AI assistant.
Prerequisites
- Cocos Creator 3.8.6 or later installed
- Node.js 16+ available on the system PATH (used to build the extension)
- An MCP-compatible client such as Claude Desktop or Claude Code CLI
- The cocos-mcp-server repository cloned into the Cocos Creator extensions directory
Clone the repository into your extensions folder
Place the plugin inside the extensions directory of your Cocos Creator project or the global extensions directory so the editor can discover it.
git clone https://github.com/DaxianLee/cocos-mcp-server.git extensions/cocos-mcp-serverBuild the extension
Install Node.js dependencies and compile the TypeScript source.
cd extensions/cocos-mcp-server
npm install
npm run buildEnable the plugin in Cocos Creator
Restart Cocos Creator or go to Extensions > Extension Manager and click Refresh. Find the Cocos MCP Server extension and enable it. An MCP Server panel will appear under the Extensions menu.
Start the MCP server
Open Extensions > Cocos MCP Server. The server defaults to port 3000. Click Start, or enable Auto-start so it launches on every editor startup.
Connect Claude Desktop via HTTP
Add the server to claude_desktop_config.json using the HTTP transport pointing to the local server.
{
"mcpServers": {
"cocos-creator": {
"type": "http",
"url": "http://127.0.0.1:3000/mcp"
}
}
}Connect via Claude Code CLI (alternative)
Register the HTTP endpoint with the Claude Code CLI.
claude mcp add --transport http cocos-creator http://127.0.0.1:3000/mcpCocos Creator Examples
Client configuration
Claude Desktop config block using HTTP transport to connect to the local Cocos Creator MCP server.
{
"mcpServers": {
"cocos-creator": {
"type": "http",
"url": "http://127.0.0.1:3000/mcp"
}
}
}Prompts to try
Example prompts for controlling Cocos Creator scenes and assets through Claude.
- "Create a new 2D node called 'Player' under the Canvas node"
- "List all nodes in the current scene hierarchy"
- "Add a Sprite component to the Player node and set its spriteFrame to 'player_idle'"
- "Build the project for the Web Mobile platform"
- "Show me all prefabs in the resources/prefabs folder"Troubleshooting Cocos Creator
Extension does not appear in the Extensions menu after installation
Confirm the plugin was placed in a directory named extensions/cocos-mcp-server inside your project (not nested deeper). Run npm install and npm run build before restarting the editor. Check the Cocos Creator console for extension load errors.
Claude cannot connect — 'connection refused' on port 3000
Open the Cocos MCP Server panel and confirm the server status shows 'Running'. If port 3000 is in use by another process, change the port in the panel settings and update the URL in your MCP client config accordingly.
Tools fail with 'editor not ready' errors
The MCP server must be started after a project is fully loaded in Cocos Creator. Avoid sending commands during scene loading transitions. Enable debug logs in the panel settings to see detailed error messages.
Frequently Asked Questions about Cocos Creator
What is Cocos Creator?
Cocos Creator is a Model Context Protocol (MCP) server that 一款全面的、便捷的cocos creator ai mcp服务插件,适用于3.8.0以上cocos版本,一键安装,一键启动。a comprehensive and convenient cocos creator ai mcp service plug-in, suitable for cocos versions above 3.8.0, one-click installation and one-click start. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Cocos Creator?
Follow the installation instructions on the Cocos Creator GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Cocos Creator?
Cocos Creator works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Cocos Creator free to use?
Yes, Cocos Creator is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Cocos Creator Alternatives — Similar Developer Tools Servers
Looking for alternatives to Cocos Creator? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Cocos Creator in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Cocos Creator?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.