About unity
unity is an MCP server published by Artmann in the Developer Tools category: model Context Protocol server for Unity.
The repository has 2 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
npx unity-mcpclaude mcp add unity-mcp-artmann -- npx -y unity-mcpnpx -y unity-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (3)
list_files_in_projectLists all the files inside a Unity project.
Parameters not published.
list_projectsLists all available Unity projects.
Parameters not published.
read_fileReads the contents of a file inside a Unity project.
Parameters not published.
Ask AI
Ask AI about unity
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 10 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
Unity MCP Server
MCP server to connect Claude with Unity projects. Built using the Model Context Protocol SDK.
Features
- List all Unity projects
- Get detailed project information
- Access project structure and files
Installation & Usage
Option 1: Using NPX (Recommended)
You can run this tool directly with npx without installing it:
npx unity-mcp@latest
Add this tool as an MCP server in Claude:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"unity": {
"command": "npx",
"args": ["unity-mcp@latest"]
}
}
}
Option 2: Run this project locally
Alternatively, run this project locally by cloning this repo:
git clone https://github.com/your-username/unity-mcp.git
cd unity-mcp
bun install
Then configure Claude to use your local version:
{
"mcpServers": {
"unity": {
"command": "bun",
"args": ["run", "C:\\Users\\Artga\\Code\\unity-mcp\\src\\index.ts"]
}
}
}
Requirements
- Unity with projects configured
- Bun runtime
Troubleshooting
Please open an issue if you can't get this MCP working. Here are some tips:
- Make sure Unity is installed and you have some projects configured
- Check that the unity-mcp server can access the projects-v1.json file
- Ensure you have proper permissions for the Unity project directories
This MCP will emit logs to stderr as specified in the MCP spec. On Mac the
Claude Desktop app should emit these logs to ~/Library/Logs/Claude. On other
platforms
you can find logs here.
Development
Setup
# Install dependencies
bun install
# Run the project
bun run src/index.ts
# Type check
bun run typecheck
# Format code
bun run format
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector with this command:
bun run inspector
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
License
MIT License - see LICENSE file for details.
README fetched from the repository 10 hours ago. The original is authoritative.