All MCP Servers
Dev Tools & GitMCP Registrynpm3 toolsA · 96

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.

Source 371GitHub stars

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

  1. Add the server

    bash
    claude mcp add funplay-cocos-mcp -- npx -y funplay-cocos-mcp
  2. Verify it's connected

    bash
    claude mcp list
  3. Sharing 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).

  4. Use it in a session

    Ask Claude to use the tools this server exposes (e.g. browser, gameView, simulator). It discovers them automatically.

What does Funplay Cocos MCP need from you?

Configuration only — Declares config values but no credentials.

  • FUNPLAY_COCOS_MCP_URLoptionalEnvironment variable

    Optional local Cocos MCP HTTP endpoint. Defaults to http://127.0.0.1:8765/.

  • FUNPLAY_COCOS_MCP_TIMEOUT_SECONDSoptionalEnvironment variable

    Optional 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.

  • browserOpens the scene in the system browser; `get_preview_mode` and `run_project_preview` return same-host and network preview URLs when available.
  • gameViewStarts the scene inside Cocos Creator's Game View.
  • simulatorStarts the scene in the native simulator.

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

Claude Code: NativeClaude Desktop: NativeCursor: NativeCodex CLI: NativeWindsurf: NativeCline: NativeVS Code: Native

Health score

A · 96

Maintenance, 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 README

Funplay 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 context
  • context: "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.

Maintain Funplay Cocos MCP? Add a badge to your README

Shows its health grade, and links readers to install steps for every client.

markdown
[![Funplay Cocos MCP on MCP Skills Hub](https://mcp-skills-hub.vercel.app/badge/io-github-funplayai-funplay-cocos-mcp)](https://mcp-skills-hub.vercel.app/mcps/io-github-funplayai-funplay-cocos-mcp)

Catalog data refreshed . Something wrong? Report it.