Godot-MCP
ee0pdt/Godot-MCP/CLAUDE.md
CLAUDE.md609 starsChanged 19 months ago
# CLAUDE.md - Godot MCP Project Guidelines ## Build & Run Commands - **Server Build**: `cd server && npm run build` - **Server Start**: `cd server && npm run start` - **Server Dev Mode**: `cd server && npm run dev` (auto-rebuild on changes) - **Run Godot Project**: Open project.godot in Godot Editor ## Code Style Guidelines ### TypeScript (Server) - Use camelCase for variables, methods, and function names - Use PascalCase for classes/interfaces - Strong typing: avoid `any` type - Prefer async/await over Promise chains - Import structure: Node modules first, then local modules ### GDScript (Godot) - Use snake_case for variables, methods, and function names - Use PascalCase for classes - Use type hints where possible: `var player: Player` - Follow Godot singleton conventions (e.g., `Engine`, `OS`) - Prefer signals for communication between nodes ### General - Use descriptive names - Keep functions small and focused - Add comments for complex logic - Error handling: prefer try/catch in TS, use assertions in GDScript
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
Posts are public.Sign in to post
No one has posted yet. Be the first.

