Funplay Unity

Developer tools

Stdio bridge for the local Unity Editor MCP server from FunplayAI/funplay-unity-mcp.

Your AI app calls the Funplay Unity MCP server, which does the developer tools work and sends the result back to the chat.

About Funplay Unity

Funplay Unity is a community MCP server from FunplayAI, filed in our directory under developer tools. Stdio bridge for the local Unity Editor MCP server from FunplayAI/funplay-unity-mcp.

Funplay Unity runs on your own machine: your AI app starts it with the command dnx funplay.unity.mcp --yes and talks to it over standard input and output.

Funplay Unity is listed in the official MCP registry as io.github.FunplayAI/funplay-unity-mcp, version 0.7.9.

At a glance

Publisher
FunplayAI (community)
Runs
Locally on your machine
Install from
.NET package on NuGet: funplay.unity.mcp
Written in
C#
License
MIT
GitHub stars
340
Official MCP registry
io.github.FunplayAI/funplay-unity-mcp

How to set up Funplay Unity

  1. Follow the install steps in the Funplay Unity README; it is written in C#, so have that toolchain ready.
  2. Check the Funplay Unity README for keys or settings; the registry lists none that Funplay Unity requires.
  3. Add Funplay Unity to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Funplay Unity tools to confirm the connection.
  5. Run one read-only task with Funplay Unity first, and keep your app asking before each tool call until the results look right.

Funplay Unity compared with similar servers

  • Hypothesi by hypothesi has fewer GitHub stars than Funplay Unity (340 against 340); both are community servers, and both run locally.
  • Cheap Ag by muaaz9329 has more GitHub stars than Funplay Unity (344 against 340); both are community servers, and both run locally.
  • Affine by DAWNCR0W has fewer GitHub stars than Funplay Unity (339 against 340); both are community servers, and both run locally.

Before you connect Funplay Unity

  • Give Funplay Unity its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Funplay Unity tool call until you trust what it does with them.
  • Treat text that Funplay Unity fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Funplay Unity on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Funplay Unity

How marketing and sales teams put Funplay Unity to work, by company size. Pick the size closest to yours and start Funplay Unity on one use case.

Small business

  • A small business with a developer can use Funplay Unity to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Funplay Unity to explain and fix a marketing site issue without context switching between tools.
  • Funplay Unity runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Funplay Unity to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Funplay Unity to keep scripts and automations documented and versioned as they change.
  • Start Funplay Unity on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Funplay Unity with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Funplay Unity so web and marketing engineering share one reviewed way of working with AI.
  • Funplay Unity is a community server, so have security review the code and pin a version before Funplay Unity touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Funplay Unity README

From FunplayAI/funplay-unity-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Funplay MCP for Unity

The Most Advanced MCP Server for Unity Editor

中文 | English

💖 If you find this project useful, please consider giving it a Star. It helps more Unity developers discover it and supports ongoing development.

Funplay MCP for Unity is an MIT-licensed Unity Editor MCP server that lets AI assistants like Claude Code, Cursor, Kimi Code, LM Studio, Windsurf, Codex, and VS Code Copilot operate directly inside your running Unity project.

Describe your game in one sentence, your AI assistant builds it in Unity through Funplay MCP for Unity's built-in tools for scene creation, script generation, runtime validation, input simulation, performance analysis, and editor automation.

"Build a snake game with a 10x10 grid, food spawning, score UI, and game-over screen"

Your AI assistant handles it through Funplay MCP for Unity: creates the scene, generates all scripts, sets up the UI, and configures the game logic, all from a single prompt.

16-second demo, AI generates a 3D model and integrates it into the scene end-to-end. Watch HD MP4.

Quick Start

If you just want to get connected fast, do these three things:

  • Install the Unity package from the Git URL
  • Start Funplay > MCP Server
  • Use the built-in one-click client configuration
1. Install via UPM (Git URL)

In Unity, go to Window → Package Manager → + → Add package from git URL:

https://github.com/FunplayAI/funplay-unity-mcp.git

💡 Before you clone or install, a quick ⭐ on GitHub would be greatly appreciated.

Optional: Install via OpenUPM

If you want Unity Package Manager to show registry-backed package version history and allow version selection, install from OpenUPM instead of Git.

Using the OpenUPM CLI:

openupm add com.gamebooom.unity.mcp

Or add the scoped registry manually in Packages/manifest.json:

{
  "scopedRegistries": [
    {
      "name": "OpenUPM",
      "url": "https://package.openupm.com",
      "scopes": [
        "com.gamebooom"
      ]
    }
  ],
  "dependencies": {
    "com.gamebooom.unity.mcp": "0.7.9"
  }
}

If you installed from a Git URL before, remove the Git dependency first, then install from OpenUPM. Git-installed packages only show the resolved Git version in Unity and do not get the registry-backed Version History list.

2. Start the MCP Server

Menu: Funplay → MCP Server to start the server.

A new project gets its own port, derived from the project path, so two editors opened on different projects never fight over one port. The MCP Server window shows the exact URL (http://127.0.0.1:<port>/mcp/project/<project-id>/); the one-click configuration writes that URL for you. Type a port in Server Port to pin a fixed one (CI, a firewall rule) and Use Per-Project Port to derive one instead.

Upgrading preserves the existing pinned port, but v0.7.1 binds generated URLs to the project. Old root URLs remain readable; writes require a verified expected_context. Re-run Reconfigure MCP + Skills in the existing blue Skills notice card and reconnect your client, or explicitly pass the guard from an independently verified intended Editor. Click Use Per-Project Port when you want that project to run beside another editor. See Running Several Unity Projects at Once for the full setup guide.

If the window reports a fallback port, do not use a client entry that still targets the occupied stable port; it could reach the process that owns that port. One-click configuration stays blocked until you click Use Per-Project Port or Pin Current Port and the server finishes restarting.

Direct in-process HTTP is the default transport. If you need stronger connection continuity across Unity script recompiles or Play Mode domain reloads, enable Experimental Broker Mode in the MCP Server window. It runs a tiny local broker with Unity's bundled Mono, keeps the same 127.0.0.1 port for MCP clients, and requires no client config change.

Open Funplay → Tool Exposure if you want to edit the exact tools exposed by core or full.

Open Funplay → MCP Settings if you need to adjust execute_code safety defaults or plugin debug logging.

3. Configure Your AI Client

Use the built-in One-Click MCP Configuration in the Funplay > MCP Server window first.

Select your target client, click Configure, and the package writes the recommended MCP config entry for you.

For Claude Code, Cursor, Kimi Code, VS Code / Copilot, Trae, Kiro, Codex, OpenCode, DeepSeek Harness, Antigravity and Pi, click Configure + Skills to also install both built-in project skills. Pi and Antigravity share their workspace's .agents/skills; disabling only one does not remove the other's managed copies. Other clients retain their existing Skills locations.

VS Code and OpenCode JSONC updates retain comments, trailing commas and unrelated source text. Strict JSON clients reject comments/trailing commas; both formats reject duplicate keys, malformed roots and non-object server containers. Remote-entry updates preserve custom options; disabled, command-based or manually repointed entries require review. JSON writes use a temporary file and best-effort unchanged-content checks before atomic replacement, not a cross-process transaction. Read-only and symlinked config files are left for manual review. Viewing the panel does not change real client configuration.

If you want project-specific AI guidance for the current Unity project, open Funplay → Project Skills to choose supported platforms and install the built-in unity-mcp-workflow and unity-ui-composition skills. The UI skill covers responsive portrait and landscape uGUI work. Additional client Skills locations are .github/skills (VS Code / Copilot), .trae/skills, .kiro/skills and .kimi-code/skills.

Version 0.7.0 keeps these two built-in skills and adds four task-specific references, informed by the official Unity plugin 0.1.8-beta: UI framework selection, safe Sprite importer edits, TMP/localization verification, and package readiness. Agents read only the references relevant to their task; no default tools or extra skills are added. MCP-first operation, project conventions, prefab preservation and design fidelity remain authoritative. Update existing installations through Project Skills; missing or outdated references also trigger the skills-update notice. User-owned reference files are protected from overwrite.

Version 0.7.1 adds execution-trust guidance to both built-ins, including project identity, actual frame progress, strict input routes, owned verification cleanup and conditional handling of blocking native Unity dialogs. The shared blue setup card reports MCP and Skills issues with one Reconfigure MCP + Skills action; resolving one issue preserves the other. See execution trust and migration.

Built-in UI Skill v1.0.12 adds an on-demand design-image-to-prefab reference: map independent assets/controls/states, author reusable saved pages and compare actual Unity captures at a common scale region by region. Existing prefab structure, project baselines, TMP conventions and safe-area policy remain authoritative; image generation is optional, and unresolved design details require clarification. No MCP tool is added.

If you prefer to edit config files manually, use the examples below as fallback references. Replace <project> with this project's entry name, <port> with its port and <project-id> with the ID in its full bound URL -- copy these from the MCP Server window, not from a different Editor:

Claude Code / Claude Desktop
{
  "mcpServers": {
    "funplay-<project>": {
      "type": "http",
      "url": "http://127.0.0.1:<port>/mcp/project/<project-id>/"
    }
  }
}
Cursor
{
  "mcpServers": {
    "funplay-<project>": {
      "url": "http://127.0.0.1:<port>/mcp/project/<project-id>/"
    }
  }
}
LM Studio

LM Studio's mcp.json location can vary by version and platform. Prefer Program > Install > Edit mcp.json in LM Studio. Funplay's one-click Configure button opens LM Studio's lmstudio://add_mcp link and only updates an existing config file if one is already present, instead of creating a guessed path.

{
  "mcpServers": {
    "funplay-<project>": {
      "url": "http://127.0.0.1:<port>/mcp/project/<project-id>/"
    }
  }
}
VS Code

One-click setup uses the canonical user-profile Code/User/mcp.json path on each OS, honoring VSCODE_PORTABLE, VSCODE_APPDATA and Linux XDG_CONFIG_HOME. macOS does not fall back to a guessed ~/.vscode/mcp.json when the profile directory is absent. Project Skills use the Unity project's .github/skills.

{
  "servers": {
    "funplay-<project>": {
      "type": "http",
      "url": "http://127.0.0.1:<port>/mcp/project/<project-id>/"
    }
  }
}
Trae

One-click setup writes the Unity project's .trae/mcp.json, not a guessed global file. Enable Project MCP in Trae and reload its MCP servers. Configure + Skills also writes .trae/skills. Existing global entries are not migrated or removed automatically; review them separately to avoid duplicate connections.

{
  "mcpServers": {
    "funplay-<project>": {
      "url": "http://127.0.0.1:<port>/mcp/project/<project-id>/"
    }
  }
}
Kiro
{
  "mcpServers": {
    "funplay-<project>": {
      "type": "http",
      "url": "http://127.0.0.1:<port>/mcp/project/<project-id>/"
    }
  }
}
Kimi / Kimi Code

Current Kimi Code releases load project-level MCP servers from .kimi-code/mcp.json (official MCP documentation). Funplay's one-click Configure target writes there so the current Unity server is only visible to Kimi sessions started in this project. If the machine only has the legacy Kimi CLI data directory, it writes the compatible user-level ~/.kimi/mcp.json instead. Start a new Kimi session from the Unity project root after configuring; on first use, review the loopback URL and trust the workspace. The generated project file contains this machine's local port, so normally keep it uncommitted unless the team deliberately shares one pinned port.

{
  "mcpServers": {
    "funplay-<project>": {
      "url": "http://127.0.0.1:<port>/mcp/project/<project-id>/"
    }
  }
}
Codex

One-click setup honors CODEX_HOME; otherwise it uses ~/.codex/config.toml. This does not migrate existing project Skills locations or introduce a full TOML parser.

[mcp_servers.funplay-<project>]
url = "http://127.0.0.1:<port>/mcp/project/<project-id>/"
OpenCode

Written to the repository's own .opencode/opencode.json (not the global config), so only OpenCode sessions started inside this repo see this editor's tools.

{
  "mcp": {
    "funplay-<project>": {
      "type": "remote",
      "url": "http://127.0.0.1:<port>/mcp/project/<project-id>/",
      "enabled": true
    }
  }
}
DeepSeek Harness

Written as a delimited managed block into every DeepSeek Harness profile's ~/.dsh/profiles/<profile>/cordis.patch.yml, because DSH composes its plugins per launch through --profile and exposes no single active profile to target from outside. Anything outside the block is preserved on reconfigure, and deleting the block by hand uninstalls the entry.

# >>> funplay-mcp:funplay-<project> begin (managed by Funplay MCP -- reconfigure from Unity > Funplay > MCP Server)
# Funplay Unity MCP endpoint served by this editor; tools appear as mcp__funplay-<project>__<tool>.
- insert:
    - id: mcp-funplay-<project>
      name: '@deepseek-ai/dsh-mcp-client'
      config:
        serverName: funplay-<project>
        transport: streamable-http
        url: http://127.0.0.1:<port>/mcp/project/<project-id>/
# <<< funplay-mcp:funplay-<project> end
Antigravity

Written to the workspace-local .agents/mcp_config.json with mcpServers entries using serverUrl for Funplay's Streamable HTTP endpoint. This keeps the server out of unrelated workspaces. Use a current Antigravity version supporting workspace MCP configuration, then reload its MCP servers.

The workspace root is the nearest ancestor containing .git (including a worktree's .git file), or the Unity project directory when it is outside Git. Open that directory as the Antigravity workspace. Configure + Skills places .agents/mcp_config.json, .agents/skills/, and the managed AGENTS.md block at this same root, including when the Unity project is nested inside a repository. Other clients retain their existing instruction locations and share the block when paths coincide.

Existing Funplay entries in ~/.gemini/config/mcp_config.json or the older ~/.gemini/antigravity/mcp_config.json are reported in the panel and left unchanged. Review them after configuring each workspace; the one-click action does not fall back to global configuration. Multiple Unity projects in the same repository share a workspace: their MCP entries remain separately named, while Project Skills refuses to replace another project's managed workspace guidance.

{
  "mcpServers": {
    "funplay-<project>": {
      "serverUrl": "http://127.0.0.1:<port>/mcp/project/<project-id>/"
    }
  }
}
Windsurf

Use the same JSON structure as Cursor unless your local Windsurf version requires a different MCP config format.

Pi

Requires Pi 1.0+ with built-in MCP support. One-click setup writes Streamable HTTP to .pi/mcp.json at the nearest Git/worktree root, or the Unity project outside Git. Start Pi from that displayed workspace, grant project trust, then /reload and inspect /mcp. Configure + Skills uses the same root's .agents/skills and managed AGENTS.md block, shared with Antigravity. Unrelated user-level Pi entries remain unchanged. Names differing only by hyphens/underscores share one Pi namespace: setup reuses a single existing spelling and refuses ambiguous duplicates. See Pi MCP and Skills.

{
  "mcpServers": {
    "funplay-<project>": {
      "url": "http://127.0.0.1:<port>/mcp/project/<project-id>/"
    }
  }
}
4. Verify the Connection

Open your AI client and try a few safe requests first:

  • "Call get_scene_info and tell me what scene is open."
  • "Read unity://project/context and summarize the current editor state."
  • "Use execute_code to return the active scene name."

If those work, the MCP server, resources, and primary execution tool are connected correctly.

5. Start Building

Open your AI client and try: "Create a 3D platformer level with 5 floating platforms"

Before You Start

  • This package is Editor-only. It does not add runtime components to your built game.
  • The MCP server port is derived per project (range 20000-29999) for new projects, or pinned, projects upgraded from an earlier version keep their existing port as a pin, and any port you type is a pin. The MCP Server window shows where the port came from and the active URL. A project's client-config entry is named after the project directory (for example funplay-love-town), so configuring several projects no longer overwrites one shared funplay entry. Two projects that share a directory name would resolve to the same entry name; the second one configured appends a project hash automatically, so nothing is overwritten and no setting has to be turned on.
  • Local MCP server settings are stored in UserSettings/FunplayMcpSettings.json.
  • The package defaults to core: 40 focused tools for structured inspection/editing, UI audits and authoring, recoverable Editor preparation, shared task status, visual evidence, input and logs. Short MCP tasks can complete in one response; get_task supports bounded waits and state-change revisions. execute_code remains a project-specific fallback. full retains all 185 tools, including legacy status/compile/Play APIs, verification management, reference transactions and specialized diagnostics. Custom exposure lists are preserved; get_tool_capabilities distinguishes implementation, exposure and relevant runtime backend availability.
  • Generated client URLs are project-scoped. Independently verify the initialize response's project identity before writes. Old root URLs remain readable but mutations require verified expected_context; mismatch performs no tool execution. See execution trust and migration.
  • execute_code safety checks and the stricter filesystem guard are enabled by default from Funplay > MCP Settings. The guard blocks obvious destructive snippets, broad System.IO writes, raw file streams, and absolute/user/system/traversal paths, but it is not a complete sandbox. Clients may still override the default per call with the optional safety_checks argument.
  • Plugin debug logging is off by default and can also be enabled from Funplay > MCP Settings. Warnings and errors are always written to the Unity Console.
  • All exposed MCP tools run directly. There is no extra approval toggle.
  • Menu: Funplay > Check for Updates can refresh Git installs in place or download and import the latest unitypackage automatically.

Why This Project

  • Structured Tools First, Use specialized tools for common inspection/editing; retain in-memory execute_code for guarded project-specific gaps. See execute_code: In-Memory C# Execution.
  • Default Safety Checks, execute_code now has persistent default-on safety toggles, including a stricter filesystem guard for clients that do not expose per-call arguments clearly
  • Play Mode Automation, Enter play mode, simulate keyboard/mouse input, capture screenshots, inspect logs, and validate behavior from the same MCP session
  • Project Context Built In, Exposes live resources for project state, active scene, selection, compilation, console output, and MCP interaction history
  • Focused by Default, Full When Needed, core exposes 40 focused tools; full exposes all 185 built-in tools
  • Single Unity Package, No extra approval UI, no external daemon to click through, and no Python requirement for the Unity-side plugin itself
  • Extensible, Add custom tools with attribute-based discovery, or connect Unity to external MCP services when needed

Highlights

  • 185 Built-in Tools, Scene editing, assets, scripts, Play Mode control, visual evidence, structured inspection, guarded reference edits and bounded verification across 43 modules
  • Structured Returns + instanceId Chaining, Tools return {success, message, data} JSON with stable instanceId fields so agents can chain by_id calls reliably instead of re-resolving by name
  • IFunplayCommand for execute_code, New snippet template with auto-Undo (ctx.RegisterObjectCreation/Modification/DestroyObject), structured logs (ctx.Log/LogWarning/LogError), and a tracked changelog returned to the agent
  • Resources & Prompts, Live project context, scene/selection/error resources, resource templates, and reusable workflow prompts
  • Input Simulation + Screenshots, Drive play mode with keyboard/mouse simulation and verify results with game/scene captures. v0.7.2 adds real-frame continuous mouse/single-touch dragging, bounded waiting and owned cleanup; see timing and backend limits.
  • Built-in Updating, Check for updates from the Unity menu and either re-pull the Git package or auto-import the latest unitypackage
  • One-Click Client Configuration, Generate MCP config entries for Claude Code, Cursor, Kimi, LM Studio, VS Code, Kiro, Trae, Codex, OpenCode, DeepSeek Harness, Antigravity and Pi directly from the Unity window
  • Tool Exposure Control, Edit the exact tools exposed by core and full
  • Project Skills Manager, Configure project-level skills for supported AI clients, with built-in unity-mcp-workflow and unity-ui-composition guidance
  • MCP Settings, Adjust execute_code safety defaults and enable verbose plugin debug logging when troubleshooting MCP connections or tool execution
  • Vendor Agnostic, Works with any AI client that supports MCP: Claude Code, Cursor, Kimi Code, LM Studio, Windsurf, Codex, VS Code Copilot, etc.

execute_code: In-Memory C# Execution

execute_code is the heart of Funplay MCP for Unity. It lets an AI write a C# snippet, compile it through a Roslyn-first in-memory flow, and run it on the editor thread, the agent gets the full Unity Editor and runtime API surface without writing any project files to disk.

  • Zero project footprint compilation, Snippets are compiled with Unity's bundled Roslyn csc first while preserving the in-memory compilation/execution flow. No .cs files are written under Assets/, no domain reload is triggered, no project state is touched beyond what the snippet itself does.
  • Editor-ready before it runs, Each call refreshes the AssetDatabase and waits for any pending compilation to settle before compiling the snippet, so external file edits are picked up automatically without a separate request_recompile.
  • Auto-Undo + structured logs (recommended template), Implement IFunplayCommand and use the injected ExecutionContext so every created / modified / destroyed object participates in editor Undo, and the changelog is returned to the agent.
using UnityEngine;
using UnityEditor;
using Funplay.Editor.Tools.Helpers;
using Funplay.Editor.Tools.Scripting;

public class CommandScript : IFunplayCommand
{
    public void Execute(ExecutionContext ctx)
    {
        var go = GameObject.CreatePrimitive(PrimitiveType.Cube);
        ctx.RegisterObjectCreation(go);          // auto-Undo + tracked
        ctx.Log("Created {0}", go.name);
        ctx.ReturnValue = GameObjectSerializer.Describe(go, includeComponents: false);
    }
}

The response carries { logs, created, modified, destroyed, returnValue }, so the agent can verify exactly what changed without re-querying the scene.

The legacy template (public static string Run()) is still supported, useful for one-off inspection snippets where structured tracking is overkill.

When to reach for execute_code vs a specialized tool, execute_code shines for multi-step orchestration, novel reads, and situations where chaining 5–10 narrow tool calls would be noisier than one snippet. For single-field component edits, simple selection changes, or anything covered by an existing tool, prefer the dedicated tool, it is cheaper for the LLM to call and easier to verify.

Comparison With Coplay

The table below compares this repository with the publicly documented behavior of Coplay's open-source unity-mcp repository on GitHub.

Area Funplay MCP for Unity Coplay unity-mcp
Unity-side architecture Embedded Unity Editor package with built-in HTTP MCP server Unity bridge plus local Python MCP server
Extra local prerequisites Unity package only for core workflows Unity + Python 3.10+ + uv according to the public quick start
Primary workflow style execute_code first, then focused helper tools Broad manage_* tool families exposed through the bridge
Default tool exposure Compact core profile with optional full expansion Public docs emphasize a broad always-available tool surface
Built-in context model Project resources, resource templates, workflow prompts, interaction history Public README emphasizes tool families and bridge/server workflow
Play mode validation Built-in play mode control, screenshots, logs, and input simulation in the package Public README emphasizes broad Unity management and automation tools
Positioning Lightweight, direct, MIT-licensed Unity MCP server for AI-driven editor control Full-featured Unity bridge maintained by Coplay with Python-backed server setup

Source for Coplay column: CoplayDev/unity-mcp

Comparison With Unity AI Assistant

The table below compares this repository with Unity Technologies' official com.unity.ai.assistant package (v2.7.0-pre.2 as of 2026-05).

Area Funplay MCP for Unity Unity AI Assistant
Minimum Unity version 2022.3 6000.3 (Unity 6 only)
License MIT, open source Unity Terms of Service, proprietary
Deployment Local HTTP MCP server in Editor, no cloud Editor + native Relay subprocess + Unity Cloud backend
Billing Free, user brings their own AI client Credits-based (Unity Dashboard)
Tool exposure 185 tools across 43 modules, core (40) / full profiles ~15 MCP tools (mostly Manage* families)
Generic escape hatch execute_code, Roslyn-first in-memory compile, IFunplayCommand + Undo, no sandbox (client-side approval) RunCommand, namespace blacklist sandbox
Play mode validation Full loop: enter / simulate input / capture / read logs / exit Enter/Exit only; no input simulation
Asset generators Not built-in (compose external APIs via execute_code) Native Image / Mesh / PBR / Sound / Animation generators
Primary client model BYO any MCP client (Claude Code / Cursor / Kimi / LM Studio / Codex / VS Code) Built-in chat window + ACP for Claude/Gemini via Gateway
Offline-capable Yes for tool calls (inference depends on chosen client) No (inference requires Unity Cloud)

For a long-form comparison of the two approaches see Funplay Unity MCP vs Unity AI Assistant detailed comparison (Chinese).

MCP Capabilities

The current open-source package exposes four high-value capability layers:

  • Tools, 185 total tools in full, 40 focused tools in core
  • Primary execution, execute_code for rich editor/runtime orchestration
  • Prompts, parameterized workflow prompts: edit_prefab_safely, verify_compilation, enter_play_and_recover, wire_serialized_references, create_playable_prototype. Projects can add their own through mcp-prompts/*.md files in the project root.
  • Resources, project context, scene summaries, selection state, compile errors, console errors, MCP interaction history, plus resource templates for scene objects, components, and asset paths
Project Prompts

Project prompt files use a small, dependency-free front-matter format followed by the workflow body:

---
name: validate_activity
description: Open and validate a project activity.
arguments: activity_key(required), theme_id
---
Open activity {activity_key} with theme {theme_id}, then validate its runtime state.

Names and argument names must match [a-z][a-z0-9_-]{0,63}. Required, unknown, and non-string arguments are rejected by prompts/get; omitted optional placeholders become empty strings. Definitions are cached when the MCP server starts, so restart the server or trigger a Unity domain reload after changing a prompt file.

Read the rest of the Funplay Unity README on GitHub

Questions about Funplay Unity

What is the Funplay Unity MCP server?

Stdio bridge for the local Unity Editor MCP server from FunplayAI/funplay-unity-mcp. Funplay Unity is maintained by FunplayAI on GitHub at FunplayAI/funplay-unity-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Funplay Unity MCP server?

Add Funplay Unity to your AI app's MCP config with the command dnx funplay.unity.mcp --yes. In Claude Code, run claude mcp add --transport stdio funplay-unity -- dnx funplay.unity.mcp --yes.

Does Funplay Unity need an API key?

The registry lists no required keys for Funplay Unity. Check the Funplay Unity README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Funplay Unity an official MCP server?

No. Funplay Unity is a community server maintained by FunplayAI. Community servers can be excellent; read the code and the open issues before you give Funplay Unity access to company data.

What license is Funplay Unity under?

Funplay Unity is released under the MIT license, according to its GitHub repository. The license covers the code of Funplay Unity; the service it connects to has its own terms.