Funplay Cocos MCP
io.github.FunplayAI · Updated
stdio bridge for the local Cocos Creator Editor MCP server from FunplayAI/funplay-cocos-mcp.
At a glance
Funplay Cocos MCP is an MCP server in the Dev Tools & Git category. It runs locally over stdio via `npx -y funplay-cocos-mcp`, and declares no required credentials. It exposes 3 tools, including browser, gameView and simulator. It scores A (96/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install Funplay Cocos MCP in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install Funplay Cocos MCP in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add funplay-cocos-mcp -- npx -y funplay-cocos-mcpVerify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes (e.g. browser, gameView, simulator). It discovers them automatically.
How to install Funplay Cocos MCP in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "funplay-cocos-mcp": { "command": "npx", "args": [ "-y", "funplay-cocos-mcp" ] } } }Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install Funplay Cocos MCP in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "funplay-cocos-mcp": { "command": "npx", "args": [ "-y", "funplay-cocos-mcp" ] } } }Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install Funplay Cocos MCP in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.funplay-cocos-mcp] command = "npx" args = ["-y", "funplay-cocos-mcp"]Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install Funplay Cocos MCP in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "funplay-cocos-mcp": { "command": "npx", "args": [ "-y", "funplay-cocos-mcp" ] } } }Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install Funplay Cocos MCP in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "funplay-cocos-mcp": { "command": "npx", "args": [ "-y", "funplay-cocos-mcp" ] } } }
How to install Funplay Cocos MCP in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "funplay-cocos-mcp": { "type": "stdio", "command": "npx", "args": [ "-y", "funplay-cocos-mcp" ] } } }Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What does Funplay Cocos MCP need from you?
Configuration only — Declares config values but no credentials.
FUNPLAY_COCOS_MCP_URLoptionalEnvironment variableOptional local Cocos MCP HTTP endpoint. Defaults to http://127.0.0.1:8765/.
FUNPLAY_COCOS_MCP_TIMEOUT_SECONDSoptionalEnvironment variableOptional HTTP timeout per request in seconds. Defaults to 120.
Pass secrets through your shell environment rather than committing them into a config file.
What tools does Funplay Cocos MCP expose? (3)
Taken from the project's README — the server itself was not queried, so check its docs for the exact schemas.
What the code can do
Read from the published package source — never executed. Parsed 54 of 54 source files.
This server can run other programs on your machine, read and write files and make network requests.
How it was published
- Published by a verified CI identity (github trusted publishing) rather than a personal token.
- Has a provenance attestation tying this artifact to the commit it was built from.
- 1 npm maintainer — a single point of compromise · last published by GitHub Actions.
Maintainer of this package and think something here is wrong? Tell us and we'll correct it.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
- Downloads at launch — The package is fetched from its registry each run unless you pin a version.
- Last commit today — Actively maintained.
- 371 GitHub stars — Community adoption signal.
Client compatibility
Health score
A · 96Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%100%
Last commit 0 days ago.
- Adoption20%78%
371 stars.
- Transparency20%100%
4/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✓ discoverable tool list.
- Provenance15%100%
Package and registry entry point at the same repository.
- Packaging15%100%
Publishes a pinned version (0.7.0).
Documentation
Full READMEFunplay MCP for Cocos
<strong>An Embedded MCP Server for Cocos Creator Editor</strong>
中文 | 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
Excerpt — the full document is on GitHub.
Alternatives to Funplay Cocos MCP
- KatanA Markdown LinterB · 71Markdown linter, workspace-scoped stdio MCP server, and self-hosted text-only remote MCP server.
- Gmail-MCP-ServerA · 87Lean Gmail MCP server with auto authentication support
- gdharnessA · 84A harness for driving a Godot 4 project from an agent: addons, runtime bridge, MCP server, CLI.
- DataSentryB · 74Local-first MCP server for data-quality discovery, evidence, drift, and controlled repair.
Maintain Funplay Cocos MCP? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/io-github-funplayai-funplay-cocos-mcp)Catalog data refreshed . Something wrong? Report it.