Unity MCP Server
@UnitySnippets
About Unity MCP Server
Unity MCP server implementation
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
5Echoes a message back to the client
Returns information about the server
Lists all available tools
Processes JSON data and returns information about it
Simulates an operation on a Unity GameObject (move, rotate, scale, destroy)
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
FAQ from Unity MCP Server
What prerequisites are needed?
.NET 9.0 SDK or later for the server, and Unity 2022.3.19f1 or later for Unity client integration.
What transport protocol does the server use?
It uses a simple stdio-based transport; the server communicates via standard input/output streams.
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.
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).
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.
More Other MCP servers
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Comments