mcp-server-godot
by fernforestgames
Overview
Provides AI assistants with tools to programmatically interact with Godot game engine projects.
Installation
npx @fernforestgames/mcp-server-godot /path/to/your/godot/projectEnvironment Variables
- GODOT_PATH
Security Notes
The server executes external Godot binaries and performs file system operations (read, write, list files) based on configured paths and parameters provided by the AI client. Specifically, the `run_project` tool allows specifying an optional `projectPath` and `args` which are directly passed to `child_process.spawn`. If an untrusted AI agent provides malicious paths or arguments, this could lead to arbitrary code execution or unauthorized file access on the host system. Similarly, file resource handlers and `search_scenes` operate within the configured `projectPath` or client-provided paths. The `execSync` call for Godot version detection also executes an external binary (`godotPath`), which is a risk if `godotPath` is misconfigured. Due to these capabilities, the server should be run in a secure, sandboxed environment with strict input validation for AI agents.
Similar Servers
unity-mcp
Enables AI assistants (LLMs) to control and automate tasks within the Unity Game Engine Editor through the Model Context Protocol (MCP).
cocos-mcp-server
Enables AI assistants to interact with the Cocos Creator editor through a Model Context Protocol (MCP) server, providing control over scene, node, component, asset, and project operations.
mcp_flutter
Connects Flutter applications with AI coding assistants to enable real-time debugging, UI inspection, and dynamic tool interaction for development workflows.
Unreal_mcp
High-performance bridge and automation server for Unreal Engine, enabling programmatic control, data processing, and asset authoring through a WebSocket API and optional WebAssembly acceleration.