mcp-server

funplay-cocos-mcp

The Most Advanced MCP Server for Cocos Creator Editor with `execute_javascript`, prompts/resources, screenshots, asset dependency validation, tool profiles, one-click client configuration, and editor automation.
355 stars+11★ this week43 forksJavaScriptUpdated 10/20/2026100% free · open source
What it does

Runs a local MCP server that lets you control the Cocos Creator editor programmatically (run JS, capture screenshots, validate assets, etc.)

When to use it
  • •You need to automate repetitive Cocos Creator tasks (e.g., batch‑import assets or generate screenshots) from CI/CD.
  • •Your game build pipeline must validate asset dependencies before packaging.
  • •You want to trigger editor actions (like opening a scene) from a script or web UI.
Ready-to-paste prompt
curl -X POST http://localhost:3000/execute_javascript -H "Content-Type: application/json" -d '{"code":"const screenshot = await Editor.Message.send("scene:screenshot", {path: "./tmp/main.png"}); console.log("Saved to", screenshot.path);"}'
Heads up: The MCP server only works with Cocos Creator 3.6 or newer; older versions will silently reject requests, so verify the editor version before starting the server.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/funplay-cocos-mcp && curl -fsSL https://workflowstacks.com/api/skills/funplay-cocos-mcp/claude-skill -o ~/.claude/skills/funplay-cocos-mcp/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How funplay-cocos-mcp works
Codeflow
Free to inspect

Funplay-cocos-mcp is a large JavaScript project (~18k lines across 54 code files, plus 39 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, MIT license, has a test suite.

Size
Large codebase
~18k lines · 54 code files · ~3 h to skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Node.js
No API keys detected
JavaScript 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    bin/funplay-cocos-mcp.js
    Where the program starts running
  3. 3
    package.json
    Dependencies and the commands it exposes
  4. 4
    lib/activity-preview.js
    Inside lib/ — the main logic begins here
What's in each folder
lib/Core code — the actual logic41 files
bin/Command-line entry points1 files
docs/Documentation6 files
panel/Folder6 files
i18n/Translations2 files
scripts/Helper scripts2 files
test/Tests — proof it works40 files
.github/CI / automation (GitHub Actions)4 files
READMEHas testsDocumentedCI checksMIT licenseUpdated this month
Quick Actions
Details
Creator
FunplayAI
Language
JavaScript
Category
mcp-server
Published
4/14/2026

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/funplay-cocos-mcp.svg)](https://workflowstacks.com/skills/funplay-cocos-mcp?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.