How to build a Godot scene with AI using Godot MCP Pro
متى تستخدمه: You want to quickly prototype a game scene by describing it in natural language.
المتطلبات الأساسية
- Godot 4 with MCP Pro plugin — Copy addons/godot_mcp/ to your project, enable in Project Settings → Plugins
- Node.js MCP server — cd server && npm install && npm run build
الخطوات
-
Describe the sceneCreate a 2D platformer level with a player CharacterBody2D, 5 platforms as StaticBody2D, and a goal area. Set up collision shapes for all.✓ تم النسخ→ Scene tree created with all nodes, collision shapes, and proper hierarchy
-
Add scriptsAttach a movement script to the player with gravity, jump, and horizontal movement. Use Input.is_action_pressed for inputs.✓ تم النسخ→ GDScript attached and functional
-
Test the levelStart a playtest and tell me if the player can reach the goal. Check for collision issues.✓ تم النسخ→ Playtest results with observations
النتيجة: A playable prototype level built entirely through natural language.
المزالق
- Too many tools overwhelm some MCP clients — Switch to Lite (80 tools) or Minimal (35) mode if your client struggles with the full set