with one click
cocos-mcp-setup
Cocos 프로젝트에 MCP 서버 설치
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Cocos 프로젝트에 MCP 서버 설치
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Use when analyzing an existing repository to reconstruct missing or outdated agent-facing prompt specs from code, tests, docs, and configuration, especially before planning, onboarding, repo handoff, or coding-agent execution.
提供 Cocos Creator 2.4 游戏引擎的全面开发指导,包括组件系统(cc.Class、cc._decorator)、生命周期回调、事件系统、Asset Manager 资源管理、缓动/动作系统、对象池、UI 系统、物理碰撞以及可试玩广告优化。在用户编写或重构 Cocos Creator 2.x TypeScript/JavaScript 代码、实现游戏功能、处理资源加载与释放、优化性能/包体大小、审查代码变更、搭建可试玩广告项目架构时触发。也适用于用户提到 cc.Class、cc.Component、cc.Node、cc.resources、cc.assetManager、cc.tween 等 2.x API 时使用。
提供 Cocos Creator 3.8 游戏引擎的全面开发指导,包括组件系统(_decorator、Component)、生命周期回调、事件系统(EventTarget、input)、resources 资源管理、tween 缓动系统、对象池、UI 系统、物理碰撞以及可试玩广告优化。在用户编写或重构 Cocos Creator 3.x TypeScript 代码、实现游戏功能、处理资源加载与释放、优化性能/包体大小、审查代码变更、搭建可试玩广告项目架构时触发。也适用于用户提到 import from 'cc'、Component、Node、resources、tween、director 等 3.x API 时使用。
Sync planning and execution outcomes from superpowers into Plane, and create an end-to-end closed loop through status updates: Requirements/Planning -> Plane Work Items -> Implement -> Verify -> Accept -> Close. Supports the full project lifecycle: initialization, new features, bug fixes, technical debt, hotfixes, and related scenarios.
Validates architecture documentation completeness by checking for technology stack, API specifications, database schema, security architecture, and alignment with feature specification. Ensures plan.md is complete before implementation.
Guide for using code execution capabilities to perform parallel batch processing, conditional filtering, and data aggregation. This skill should be used when agents need to analyze multiple files efficiently, validate large result sets, aggregate data from multiple sources, or reduce token consumption through execution-based filtering. Provides reusable templates for quota-aware workflows, error handling patterns, and token-efficient data processing.
| name | cocos-mcp-setup |
| description | Cocos 프로젝트에 MCP 서버 설치 |
| allowed-tools | Bash(ls:*), Bash(git:*), Bash(npm install:*) |
Cocos Creator 프로젝트에 cocos-mcp-server 플러그인을 설치합니다.
https://github.com/TinycellCorp/cocos-mcp-server.gitextensions/cocos-mcp-server현재 디렉토리에 assets/ 폴더가 있는지 확인합니다.
ls assets/
extensions/cocos-mcp-server/package.json 존재 여부에 따라 분기합니다.
ls extensions/cocos-mcp-server/package.json
"기존 설치가 감지되었습니다. 업데이트합니다." 안내 후 pull합니다.
git -C extensions/cocos-mcp-server pull
git clone https://github.com/TinycellCorp/cocos-mcp-server.git extensions/cocos-mcp-server
--prefix 옵션으로 대상 디렉토리를 지정합니다. (cd 사용 금지 - allowed-tools 매칭 보장)
npm install --production --prefix extensions/cocos-mcp-server
모든 단계가 완료되면 다음을 출력합니다:
## 설치 완료
플러그인: extensions/cocos-mcp-server/
### 다음 단계
1. Cocos Creator 에디터에서 프로젝트를 열고 Extension 패널에서 MCP 서버를 시작하세요.
2. 에디터에서 설정한 포트 번호를 확인한 뒤 아래 명령어로 MCP 서버를 등록하세요.
MCP 헬스체크:
curl http://127.0.0.1:{포트}/mcp
MCP 등록:
claude mcp add --transport http --scope local cocos-creator http://127.0.0.1:{포트}/mcp