
unity mcp cursor
一个用于在 Unity 和 Cursor IDE 之间实现实时通信的 Unity 工具包。
Repository Info
About This Server
一个用于在 Unity 和 Cursor IDE 之间实现实时通信的 Unity 工具包。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Unity MCP Cursor Integration
A Unity package that enables integration between Unity and Cursor IDE using the Model Context Protocol (MCP). This package allows Cursor IDE to interact with Unity in real-time, providing enhanced development capabilities.
Features
- Real-time communication between Unity and Cursor IDE
- WebSocket server implementation for Unity
- Editor window for server control
- MCP protocol implementation
- TypeScript plugin for Cursor IDE
Installation
Unity Package
- Open Unity Package Manager
- Click the "+" button
- Select "Add package from disk"
- Navigate to the
Packages/com.ff.mcp-cursordirectory - Select the
package.jsonfile
Cursor Plugin
- Install the plugin through Cursor's plugin marketplace
- Enable the plugin in Cursor's settings
Project Structure
Cursor Plugin/
├── Packages/
│ └── com.ff.mcp-cursor/
│ ├── Runtime/
│ │ └── Scripts/
│ │ └── MCPServer.cs
│ ├── Editor/
│ │ └── MCPServerWindow.cs
│ ├── Samples/
│ │ └── ExampleScene/
│ ├── package.json
│ ├── CHANGELOG.md
│ └── LICENSE.md
├── CursorPlugin/
│ ├── src/
│ │ ├── index.ts
│ │ └── mcp/
│ │ └── protocol.ts
│ ├── package.json
│ └── tsconfig.json
├── Documentation/
│ ├── installation.md
│ └── usage.md
├── TestProject/
│ └── Assets/
│ └── Scripts/
│ └── TestSceneManager.cs
├── README.md
├── CHANGELOG.md
└── LICENSE.md
Usage
- Open Unity and import the package
- Open the MCP Server window (Window > MCP Server)
- Start the server
- In Cursor IDE, the plugin will automatically connect to Unity
- Use the MCP protocol to interact with Unity
Development
Unity Package
- Runtime scripts are in
Packages/com.ff.mcp-cursor/Runtime/Scripts - Editor scripts are in
Packages/com.ff.mcp-cursor/Editor - Example scenes are in
Packages/com.ff.mcp-cursor/Samples
Cursor Plugin
- Source code is in
CursorPlugin/src - Build output is in
CursorPlugin/dist
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Version History
See CHANGELOG.md for version history and changes.
Quick Start
Clone the repository
git clone https://github.com/simulanis-dev-yokesh-j/unity-mcp-cursorInstall dependencies
cd unity-mcp-cursor
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.