FF

funplayai/funplay-unity-mcp

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

334 stars 24 forks 质量 81 趋势 23MIT

funplayai/funplay-unity-mcp 是从 https://github.com/funplayai/funplay-unity-mcp. 导入的 MCP 服务器候选服务器。

概览

funplayai/funplay-unity-mcp 是从 https://github.com/funplayai/funplay-unity-mcp. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

Unity的Funplay MCP

Unity编辑器最先进的MCP服务器

中文 |英语

💖如果你觉得这个项目有用,请考虑给它一颗星。它帮助更多Unity开发者发现它,并支持持续的开发。


Funplay MCP for Unity 是一款获得麻省理工学院授权的 Unity 编辑器 MCP 服务器,允许 Claude Code、Cursor、Kimi Code、LM Studio、Windsurf、Codex 和 VS Code Copilot 等 AI 助手直接在你运行的 Unity 项目中运行。

用一句话描述你的游戏——你的AI助手通过Funplay MCP在Unity中构建游戏,支持Unity内置的场景创建、脚本生成、运行时验证、输入模拟、性能分析和编辑器自动化工具。

“构建一个拥有10x10网格、食物生成、计分界面和游戏结束画面的蛇游戏”

你的AI助手通过Unity的Funplay MCP来处理:创建场景、生成所有脚本、设置界面、配置游戏逻辑——所有这些都来自一个提示。

16秒演示——AI生成3D模型并端到端整合到场景中。观看高清MP4。

快速启动

如果你只是想快速连接,可以做以下三件事:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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": [
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

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