Basic information
About Unity MCP Server
Unity MCP server implementation
Unity MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by UnitySnippets. Supported transport: stdio. Runtime: c#. License: MIT license. Source code is hosted on github.com.
Unity MCP Server — by UnitySnippets config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
Unity MCP Server — by UnitySnippets tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Unity MCP Server?
A lightweight Model Context Protocol (MCP) server designed to work with Unity applications. It provides a standardized way for Unity applications to interact with Large Language Models (LLMs) via stdio-based transport, built on the official MCP C# SDK.
How to use Unity MCP Server?
Clone the repository, build with dotnet build, and run with dotnet run. From Unity, launch the server as a subprocess and communicate over standard input/output. Use the included sample tools like Echo, GetServerInfo, ListTools, ProcessJsonData, and SimulateGameObjectOperation.
Key features of Unity MCP Server
- Cross-platform compatibility (Windows, macOS, Linux)
- Simple stdio-based transport for easy integration
- Sample Unity-specific tool implementations
- Built on the official MCP C# SDK
- Enhanced logging for debugging
Use cases of Unity MCP Server
- Testing Unity-LLM integration with a lightweight local server
- Prototyping tool calls from a Unity client to an LLM
- Building custom Unity editor tools that leverage model capabilities
- Demonstrating MCP concepts in a Unity development workflow
Frequently asked questions
1 What prerequisites are needed?
.NET 9.0 SDK or later for the server, and Unity 2022.3.19f1 or later for Unity client integration.
2 What transport protocol does the server use?
It uses a simple stdio-based transport; the server communicates via standard input/output streams.
3 How can I add custom tools?
Create a new class with the [McpServerToolType] attribute and add methods with the [McpServerTool] attribute, then rebuild the server.
4 What sample tools are included?
Echo (echoes a message), GetServerInfo (returns server information), ListTools (lists all tools), ProcessJsonData (processes JSON data), and SimulateGameObjectOperation (simulates move, rotate, scale, destroy).
5 How do I run the server from Unity?
Launch the server as a subprocess with dotnet pointing to the built DLL, then send JSON tool requests via standard input and read responses from standard output.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In