glade-mcp-unity
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
This tool bridges MCP-compatible AI coding assistants (like Claude Code, Cursor, and VS Code Copilot) directly to the Unity Editor. It exposes over 222 granular tools and project context to the AI, allowing for highly integrated, local game development automation.
Security Assessment
The overall risk is rated as Low. The tool operates entirely locally, communicating with the Unity Editor via a localhost bridge. A light code scan of 12 files found no dangerous patterns, hardcoded secrets, or requests for dangerous system permissions. While it relies on the standard `uvx` command to launch the server—which inherently executes a local shell command—this is standard, expected behavior for an MCP server and poses no inherent threat. Network exposure is strictly limited to the local machine.
Quality Assessment
The project is actively maintained, with its most recent push occurring today. It uses the permissive and standard MIT license, which is excellent for open-source adoption. The codebase appears clean and well-documented. The only notable drawback is its extremely low community visibility; having only 5 GitHub stars indicates that the tool has not yet been widely adopted or battle-tested by a large audience. Developers should expect a functional but early-stage ecosystem.
Verdict
Safe to use, though early adoption means community validation is currently minimal.
Connect any MCP-compatible AI client (Claude Code, Cursor, Windsurf, VS Code Copilot) to your Unity Editor. 222+ granular tools, a full Unity-aware system prompt, game design document project context, script semantic search, and skill calibration - all free and local.
GladeKit MCP
Connect Cursor, Claude Code, Windsurf, Claude Desktop, and VS Code to your Unity Editor.
222+ tools. A full Unity-aware system prompt. GLADE.md project context. Script semantic search. Skill calibration. All free, all local - no GladeKit account required.
Quick Start
1. Install the Unity package
In Unity: Window > Package Manager > + > Add package from git URL...
https://github.com/Glade-tool/glade-mcp-unity.git?path=/unity-bridge
The Unity bridge starts automatically on localhost:8765.
2. Connect your AI client
Install uv (one-time): curl -LsSf https://astral.sh/uv/install.sh | sh
Then add the MCP config to your AI client. The client launches the MCP server automatically — no manual server step.
Claude CodeTip: Open Window > GladeKit MCP in Unity to see connection status, or click "Copy MCP Config to Clipboard" for the JSON snippet.
If you cloned this repo, the .mcp.json auto-connects. Otherwise add to your Claude Code MCP settings:
{
"mcpServers": {
"gladekit-unity": {
"command": "uvx",
"args": ["gladekit-mcp"]
}
}
}
Cursor
Cursor Settings > MCP > Add new MCP server:
{
"mcpServers": {
"gladekit-unity": {
"command": "uvx",
"args": ["gladekit-mcp"]
}
}
}
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"gladekit-unity": {
"command": "uvx",
"args": ["gladekit-mcp"]
}
}
}
Windsurf
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"gladekit-unity": {
"command": "uvx",
"args": ["gladekit-mcp"]
}
}
}
VS Code (GitHub Copilot)
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"gladekit-unity": {
"type": "stdio",
"command": "uvx",
"args": ["gladekit-mcp"]
}
}
}
Why GladeKit MCP?
| Feature | GladeKit MCP | unity-mcp (CoplayDev) |
|---|---|---|
| Tools | 222 granular tools | ~40 consolidated tools |
| System prompt | Full Unity intelligence — render pipeline detection, input system routing, tool discipline rules | None |
| Project context | GLADE.md — inject your game design doc into every request | None |
| Script search | Semantic search via OpenAI embeddings (bring your own key) | None |
| Skill calibration | Auto-detects beginner/expert, adapts response verbosity | None |
| In-session memory | remember_for_session — AI stores and recalls facts mid-conversation |
None |
| Paid tier | GLADEKIT_API_KEY — RAG knowledge base + cross-session memory |
None |
| License | MIT | MIT |
All features in the table above are free and local — no GladeKit account needed.
Features
222 tools across 14 categories
Scene • GameObjects • Scripts • Prefabs • Materials • Lighting • VFX & Audio • Animation • IK • Physics • Camera • UI • Input System • Terrain & NavMesh
All 222 tools are dispatchable. Claude Code sees 82 curated tools by default (Claude Code has a practical 128-tool limit). Use get_relevant_tools to discover extended tools for specialized work (blend trees, NavMesh, IK, Cinemachine, etc.).
GLADE.md — project game design doc
Create a GLADE.md file in your Unity project root. The MCP server reads it and injects it into every request. Works as a permanent context layer: your game's design intent, conventions, and constraints are always in scope.
# My Game
Genre: 2D platformer
Player: CharacterController, double jump enabled
Art style: pixel art, 16x16 sprites
Naming: PascalCase for scripts, snake_case for folders
Script semantic search
With OPENAI_API_KEY set, the server finds relevant scripts using cosine similarity rather than filename matching. Ask "how does the enemy spawn?" and the right script surfaces — even if it's not named EnemySpawner.
Skill calibration
The server tracks vocabulary across your messages and detects whether you're a Unity beginner or expert. Beginners get plain-language explanations and encouraging framing. Experts get terse, technical responses. Calibration persists to .gladekit/skill_level.json in your project.
Paid tier — GLADEKIT_API_KEY
Coming soon.
Environment Variables
| Variable | Required | Description |
|---|---|---|
UNITY_BRIDGE_URL |
No | Unity bridge URL (default: http://localhost:8765) |
OPENAI_API_KEY |
No | Enables script semantic search |
GLADEKIT_API_KEY |
No | Enables RAG knowledge base + cross-session memory |
Troubleshooting
Bridge not connecting
- Open Unity and wait for it to finish importing assets — the bridge starts automatically
- Check Window > GladeKit MCP in Unity — the Bridge and AI Client indicators show connection status
- Verify nothing else is using port 8765:
lsof -i :8765(Mac/Linux) ornetstat -ano | findstr 8765(Windows)
AI client can't find uvx
- Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh(Mac/Linux) orpip install uv - Or use
pip install gladekit-mcpand change the config command from"uvx"to"python"with args["-m", "gladekit_mcp"]
Tools not appearing in Claude Code
- Claude Code has a practical ~128-tool limit. GladeKit shows 82 curated tools by default — this is intentional. All 222 are dispatchable: use the
get_relevant_toolstool to find extended tools by task description.
GLADE.md not being picked up
- The file must be named exactly
GLADE.md(case-sensitive on Mac/Linux) and placed in the Unity project root (same directory asAssets/,Packages/,ProjectSettings/)
Architecture
[AI Client: Cursor / Claude Code / Windsurf / Claude Desktop]
│
│ stdio MCP protocol
▼
[gladekit_mcp Python process]
bridge.py → HTTP localhost:8765
prompts.py → system prompt (auto-reads render pipeline, input system, GLADE.md)
tools/ → 222 tool schemas + dispatch
cloud.py → optional GLADEKIT_API_KEY → api.gladekit.dev
│
│ HTTP localhost:8765
▼
[Unity Bridge — C# Editor extension (UPM package)]
UnityBridgeServer.cs → HttpListener on :8765
222 ITool implementations
UnityContextGatherer → scene, scripts, packages, render pipeline
Contributing
The Unity bridge (unity-bridge/) is the source of truth for C# tools. Adding a tool requires two files:
1. C# implementation (unity-bridge/Editor/Tools/Implementations/<Category>/MyTool.cs):
public class MyTool : ITool
{
public string Name => "my_tool";
public string Execute(Dictionary<string, object> args)
{
// ... Unity Editor API calls ...
return ToolUtils.CreateSuccessResponse("Done", extras);
}
}
2. Python schema (mcp-server/src/gladekit_mcp/tools/<category>.py):
Add an entry to the category's tool list following the existing format (OpenAI function-calling schema).
Tools are auto-discovered via reflection - no registration needed beyond these two files.
License
MIT: see LICENSE.
The GladeKit desktop app provides the full agentic loop experience (streaming, miss recovery, error tracking, memory UI) and is a separate commercial product.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi