
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
funplayai/funplay-cocos-mcpは、https://github.com/funplayai/funplay-cocos-mcp.からインポートされたMCPサーバー候補です。
概要
funplayai/funplay-cocos-mcpは、https://github.com/funplayai/funplay-cocos-mcp.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
ココス用Funplay MCP
Cocosクリエイターエディター用の組み込みMCPサーバー
中文 |英語
もしこのプロジェクトがCocosのワークフローに役立つなら、ぜひ星をつけることを検討してください。より多くの開発者がプロジェクトを発見し、継続的な開発を支援します。
Funplay MCP for Cocosは、MITライセンスを取得したCocos Creator拡張機能で、エディタ内にHTTP MCPサーバーを直接埋め込んでいます。Claude Code、Cursor、Codex、VS Code Copilot、Trae、Kiro、Qoder、Kimi Code、OpenCode、CodeBuddyなどのAIアシスタントが、あなたの実行中のCocosプロジェクトを点検・操作できます。
このパッケージはFunplay MCPのUnity版と同じ製品方向性を踏襲しています。デフォルトのツールサーフェスを焦点にし、ワンクリックのクライアント設定ウィンドウを提供し、高柔軟性の実行ツールを主要なワークフローにします。
ココスの場合、主要なツールはexecute_javascriptです:
context: "scene"はアクティブなCocosシーン/ランタイムコンテキストでJavaScriptを実行しますcontext: "editor"はCocosエディタ/ブラウザのコンテキストでJavaScriptを実行します
「アカウント/パスワード欄とメインのログインボタンを備えたログインページUIを作成する」
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Funplay MCP for Cocos
An Embedded MCP Server for Cocos Creator Editor
中文 | English
If this project helps your Cocos workflow, please consider giving it a Star. It helps more developers discover the project and supports ongoing development.
Funplay MCP for Cocos is an MIT-licensed Cocos Creator extension that embeds an HTTP MCP server directly inside the editor. It lets AI assistants such as Claude Code, Cursor, Codex, VS Code Copilot, Trae, Kiro, Qoder, Kimi Code, OpenCode, CodeBuddy, and DeepSeek Harness (DSH) inspect and operate your running Cocos project.
The package follows the same product direction as Funplay MCP for Unity: keep the default tool surface focused, provide a one-click client configuration window, and make one high-flexibility execution tool the primary workflow.
For Cocos, the primary tool is execute_javascript:
context: "scene"runs JavaScript in the active Cocos scene/runtime contextcontext: "editor"runs JavaScript in the Cocos editor/browser context
“Create a login page UI with account/password fields and a main login button.”
Your AI assistant can call
execute_javascript, build the UI hierarchy under the active Canvas, attach Cocos components, inspect the result, and capture a screenshot for validation.
Quick Start
If you just want to connect quickly, do these three things:
- Install this repository as a Cocos Creator extension
- Open
Funplay > MCP Server - Use the built-in one-click MCP client configuration
1. Install as a Cocos Creator Extension
Recommended install: use the official Cocos Store page and install the extension into your target Cocos Creator project.
For local development or unreleased builds, clone or copy this repository into your Cocos project extension directory:
cd /path/to/your-cocos-project
mkdir -p extensions
git clone https://github.com/FunplayAI/funplay-cocos-mcp.git extensions/funplay-cocos-mcp
Then restart Cocos Creator or reload extensions from the editor.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"funplay_cocos": {
"type": "http",
"url": "http://127.0.0.1:8765/"
}
}
}