Overview
Unity MCP is a server that allows Claude to interact with Unity projects, enabling seamless integration and management of Unity applications.
To use Unity MCP, you can either run it directly using NPX or clone the repository to run it locally. Configure Claude to recognize the MCP server by adding the appropriate settings to the configuration file.
- List all Unity projects - Get detailed project information - Access project structure and files
- Managing multiple Unity projects efficiently.
- Integrating AI functionalities into Unity applications.
- Facilitating project structure access for developers.
Add to your AI client
Use these steps to connect Unity MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"unity-mcp-artmann": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unity-mcp-artmann"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"unity-mcp-artmann": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unity-mcp-artmann"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"unity-mcp-artmann": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unity-mcp-artmann"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"unity-mcp-artmann": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unity-mcp-artmann"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"unity-mcp-artmann": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unity-mcp-artmann"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"unity-mcp-artmann": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unity-mcp-artmann"
]
}
}
}FAQ
What are the requirements to run Unity MCP?
You need Unity with configured projects and the Bun runtime installed.
How can I troubleshoot issues with Unity MCP?
Ensure Unity is installed, check permissions, and verify the server's access to project files.