Flame Engine
Installation of Flame Engine
Installing Flame engine is pretty simple. You basically just need to install a Flutter dev environment.
Note that most IDEs(i.e. Cursor) are VSCode based. For any VSCode based IDE, you can still follow the VSCode installation route and install from the extension's marketplace.
Your AI should be able to handle from here with adding Flame to your pubspec.yaml. If you prefer a manual install for reasons like specific versioning, you can:
- run
flutter create your_project_name - run
flutter pub add flameandflutter pub get
You can learn more about Flutter and Flame in Read More below.
MCP Server
To ensure the AI understands the Arcane Forge architecture and the Flutter Flame engine, we provide a dedicated Model Context Protocol (MCP) Server.
Prerequisites
- AI Code Editor: We use Cursor in most of our demos, but GitHub Copilot or other MCP-compatible editors work as well.
- Arcane Forge Account: Access to the dashboard.
Step 1: Install the Flame and Flutter MCP Server
Before you begin coding, you need to give your IDE "brain access" to the Flame engine documentation.
- Open your Arcane Forge Project Dashboard.
- Go to the
Codepage and locate theInstall MCPssection.
- Click on the
Flame MCPandFlutter MCP. - These buttons will redirect you to the MCP installation web page.
- Click "Add to Cursor" Button.
- When prompted, allow the browser to open your IDE. Your editor will automatically configure the connection.

If you are using other IDE or Cursor's Add to Cursor button doesn't work for you, you could always manually configure it, following the specific MCP docs.
Step 2: Verify the Connection
Once installed, it is good practice to ensure the link is active.
- Open your IDE settings (e.g., Cursor Settings).
- Navigate to the MCP or Features tab.
- Verify that
flame-mcp-serveris listed and shows a green "Connected" status.

Step 3: Generate Your Game Code
With the MCP server running, your AI agent automatically has context on how to build games with the Flutter Flame engine. You do not need to upload design documents manually.
- Open the Chat panel in your IDE.
- Enter a prompt to start your project. Be specific about the engine.
- Example Prompt: "Create a new game project using the Flutter Flame engine. Initialize the basic game loop and a main character."
- The AI will retrieve the correct boilerplate and syntax from the MCP server and begin writing code.
Step 4: Iteration
As you continue to build, you can simply ask for features like "Add a joystick controller" or "Create a sprite animation." The MCP server ensures the AI uses the correct Flutter Flame components for every request.
Read More
- Flame Doc
- Flutter Doc
- Example Games Arcane Forge generated