Universal Claude Code MCP plugin for professional 2D/3D Unity game development
Transform your Unity game development workflow with AI-powered expert validation, automated asset generation, and performance profilingโall integrated directly into Claude Code.
Get expert validation before making critical decisions:
- GameDesignExpert: Player psychology, game feel, engagement loops
- UnityArchitect: Unity patterns, architecture, best practices
- PerformanceEngineer: Optimization, frame budgets, profiling
- VisualDirector: Art direction, visual cohesion, asset quality
Generate game-ready assets with AI:
- 2D Assets: Gemini (500/day free), Leonardo.ai, FLUX
- 3D Models: Meshy Pro, Hunyuan3D
- Batch Processing: n8n workflow templates included
Control Unity directly from Claude Code:
- Execute up to 25 commands in parallel
- Scene composition and asset management
- Real-time Unity Editor manipulation
Platform-specific performance profiling:
- Mobile: 60 FPS, 100 draw calls target
- Web: 30 FPS, 50 draw calls target
- Desktop: 60 FPS, 500 draw calls target
- Actionable optimization suggestions
- Unity MCP - Download from Asset Store
- Python 3.10+ with
uvpackage manager - Claude Code CLI installed
Method 1: Claude Code Plugin (Recommended)
# Install as a Claude Code plugin
/plugin marketplace add https://github.com/nategarelik/game-dev-supercharger
/plugin install game-dev-supercharger@game-dev-supercharger-dev
# Configure API keys in your environment
export ANTHROPIC_API_KEY="your-key-here"
export GEMINI_API_KEY="your-key-here" # Optional
export LEONARDO_API_KEY="your-key-here" # Optional
export MESHY_API_KEY="your-key-here" # Optional
# Restart Claude Code to load the pluginMethod 2: Local Development
# Clone and test locally
git clone https://github.com/nategarelik/game-dev-supercharger.git
cd game-dev-supercharger
# Add local marketplace for testing
/plugin marketplace add /path/to/game-dev-supercharger
/plugin install game-dev-supercharger@game-dev-supercharger-dev
# Restart Claude CodeMethod 3: Standalone MCP Server
# For advanced users who want to run the MCP server independently
git clone https://github.com/nategarelik/game-dev-supercharger.git
cd game-dev-supercharger
./install.sh
# Configure API keys
cp env.example .env
# Edit .env with your keys
# Add to Claude Code manually
claude mcp add --scope user GameDevSupercharger \
-- uv --directory $(pwd)/mcp-server run server.pyAdd these to your environment variables (Windows: System Properties, macOS/Linux: ~/.bashrc or ~/.zshrc):
- ANTHROPIC_API_KEY (required): Expert panel functionality
- GEMINI_API_KEY (optional): Free 2D asset generation (500/day)
- LEONARDO_API_KEY (optional): Premium 2D assets (150 tokens/day free)
- MESHY_API_KEY (optional): 3D model generation ($20/mo)
spawn_expert_panel(
decision="Use Physics2D for arcade baseball ball physics",
experts=["GameDesignExpert", "UnityArchitect", "PerformanceEngineer"],
context="Building retro arcade baseball targeting mobile and web"
)# Generate 2D sprites
generate_2d_assets(
prompt="Baseball player sprite, batting pose, front view",
style="pixel art, 16-bit, retro",
count=4,
tool="gemini"
)
# Generate 3D models
generate_3d_assets(
prompt="Baseball stadium bleachers, weathered wood",
type="text_to_3d",
tool="meshy"
)unity_batch_command(
commands=[
{"tool": "manage_scene", "action": "create", "name": "Level1"},
{"tool": "manage_gameobject", "action": "create",
"name": "Player", "components": ["Rigidbody2D", "BoxCollider2D"]},
{"tool": "manage_material", "action": "create",
"name": "PlayerMat", "color": "#FF0000"}
]
)validate_performance(
platform="mobile",
target_fps=60
)The plugin includes 5 specialized agents, each with deep expertise and access to specific tools. Claude automatically invokes the right agent based on your request:
Validates decisions by consulting a panel of 4 AI experts (GameDesign, Unity, Performance, Visual).
Activates when you ask: "Should I use X or Y?", "Is this a good approach?"
Example:
You: "Should I use Physics2D or custom physics for my arcade game?"
Expert Consultant: "Let me consult the panel..."
- GameDesignExpert: Physics2D with arcade tweaks for predictable fun
- UnityArchitect: Battle-tested, integrates well with Unity systems
- PerformanceEngineer: Excellent mobile performance (< 3ms/frame)
Recommendation: Unity Physics2D + custom arcade force layer โ
Creates 2D sprites and 3D models using AI (Gemini, Leonardo, Meshy).
Activates when you ask: "Create sprites for...", "Generate a 3D model of..."
Example:
You: "I need player sprites for 4 teams"
Asset Generator: "I'll use Leonardo for style consistency across teams..." [Generates 16 sprite variations - 4 per team with team colors] "Here are your options. Should I have VisualDirector validate coherence?"
Profiles your game and identifies bottlenecks with actionable optimizations.
Activates when you ask: "Is my game performant?", "Check performance"
Example:
You: "Check if this runs well on mobile"
Performance Profiler: [Runs Unity Profiler] Result: โ FAIL - 247 draw calls (target: 100)
Fix: Create Sprite Atlas (saves ~150 calls), enable Static Batching (~30 calls) [Specific, actionable steps with expected impact]
Rapidly builds Unity scenes with batch commands (up to 25 operations in parallel).
Activates when you ask: "Create a scene with...", "Set up GameObjects for..."
Example:
You: "Create a baseball field with all bases"
Unity Builder: [Executes 18 commands in one batch]
- Baseball diamond with 4 bases (collision detection)
- Pitcher's mound at regulation position
- Outfield wall, orthographic camera "Scene created in < 2 seconds! Ready for sprites?"
Orchestrates all agents to take features from concept โ implementation.
Activates when you ask: "Build a [feature]", "Plan implementation of..."
Example:
You: "Add a power-up system"
Game Architect: Phase 1: Expert validation โ ScriptableObject pattern approved โ Phase 2: Generate 8 power-up icons with Asset Generator โ Phase 3: Build scene structure with Unity Builder โ Phase 4: Performance validation โ 60 FPS maintained โ
"Complete! Power-up system ready with expert-validated architecture."
Just talk naturally - Claude invokes the right agent automatically:
- "Should I use X?" โ Expert Consultant
- "Create sprites" โ Asset Generator
- "Is it fast?" โ Performance Profiler
- "Build the scene" โ Unity Builder
- "Add [feature]" โ Game Architect (coordinates all agents)
game-dev-supercharger/
โโโ .claude-plugin/ # Claude Code plugin manifests
โ โโโ plugin.json # Plugin metadata and MCP config
โ โโโ marketplace.json # Development marketplace
โโโ agents/ # Specialized AI agents (Claude Code)
โ โโโ expert-consultant.md # Decision validation agent
โ โโโ asset-generator.md # 2D/3D asset creation agent
โ โโโ performance-profiler.md # Performance validation agent
โ โโโ unity-builder.md # Scene construction agent
โ โโโ game-architect.md # Orchestrator agent
โ โโโ base_expert.py # Expert panel base class
โ โโโ game_design_expert.py # Game design expert
โ โโโ unity_architect.py # Unity architecture expert
โ โโโ performance_engineer.py # Performance expert
โ โโโ visual_director.py # Visual direction expert
โโโ mcp-server/ # MCP server implementation
โ โโโ server.py # Main server with tool routing
โ โโโ config.py # Configuration and environment
โโโ workflows/ # Asset generation pipeline
โ โโโ asset_generation.py
โ โโโ n8n_templates/ # n8n workflow templates
โโโ tools/ # Performance validation
โ โโโ performance_validator.py
โ โโโ performance_report.py
โโโ docs/ # Comprehensive documentation
โ โโโ GUIDE.md # Usage guide
โ โโโ EXAMPLES.md # Real-world examples
โ โโโ ARCHITECTURE.md # System architecture
โโโ pyproject.toml # Python dependencies
- Usage Guide: Complete feature documentation
- Examples: 5 real-world scenarios
- Architecture: System design and data flow
- Python 3.10+: Core implementation
- Anthropic SDK: Expert agent AI
- Unity MCP: Unity Editor integration
- httpx: Async HTTP client
- Gemini/Leonardo/Meshy: Asset generation APIs
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details
Built with Claude Code and Claude Sonnet 4.5
- Inspired by professional game dev workflows
- Unity MCP integration enables direct editor control
- Multi-agent validation prevents costly architectural mistakes
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Made with ๐ฎ by Retro Baseball Dev