Unity MCP Template
A template project demonstrating interaction between a TypeScript-based MCP server and a Unity client.
Unity MCP Template
This is a simple example project demonstrating interaction between a TypeScript-based MCP server and Unity. You can build and configure your own tools to expand and develop further.
Create more tools your own!
Quick Start
unity-mcp-sample is a Unity example project. To minimize version-related issues and ensure compatibility with legacy versions, it does not use packages like NewtonsoftJSON. Additionally, the EditorWindow is implemented using IMGUI. The MCP can be managed through the UnityMCP-ShowWindow at the top.
Build MCP Server
within the unity-mcp-server
npm install
npm run build
Add MCP in Claude Desktop
Open Claude Desktop Settings, and Developer-Edit Config
{
"mcpServers": {
"unity-mcp": {
"command": "node",
"args":["F:/unity-mcp-template/unity-mcp-server/dist/index.js"]
}
}
}
Create your own tools!
Both input data structure should be same.
Unity
Refer to CreateObjectTools and create the tool you want.
Typescript
Refer to createObject and create the tool you want.
TODO List
- Enable Unity to send result messages to MCP
- Discussion here
Change TCP structure (currently implemented with client-server reversed due to a bug in the TypeScript SDK)Unity (Current : TCP Server, TODO : TCP Client)MCP (Current : TCP Client, TODO : TCP Server)
관련 서버
Scout Monitoring MCP
스폰서Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
스폰서Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP My Mac
Exposes local Mac system information through a simple API for AI assistants.
mockd
Multi-protocol API mock server with 18 MCP tools — mock HTTP, GraphQL, gRPC, WebSocket, MQTT, SSE, and SOAP APIs with chaos engineering, stateful CRUD, and deterministic seeded responses.
Pprof Analyzer
Analyze Go pprof performance profiles (CPU, heap, goroutine, etc.) and generate flamegraphs.
GitHub Actions
An MCP Server for the GitHub Actions API, enabling AI assistants to manage and operate GitHub Actions workflows.
MLflow Prompt Registry
Access prompt templates managed in an MLflow Prompt Registry. Requires a running MLflow server configured via the MLFLOW_TRACKING_URI environment variable.
TIA-Portal MCP-Server
A VS Code extension to connect and interact with Siemens TIA Portal projects directly from the editor.
Mindpilot MCP
Visualize legacy code and inspect complex flows to understand your agent's operations.
SDK MCP Server
An MCP server providing searchable access to multiple AI/ML SDK documentation and source code.
Osmosis Agent Toolkit
An MCP server for the Osmosis Agent Toolkit, enabling interactions with the Osmosis blockchain.
Flowise
Integrate with the Flowise API to create predictions and manage chatflows and assistants.