Skip to Content
DocsExporting

Exporting

When you export your game, by default the GDAI MCP plugin will be included in the exported files, which is not something you want as it will increase the game size. Follow the steps below to exclude the plugin from the exported game.

Exclude the plugin from exported game

  1. Click on Project -> Export option in the Godot Editor to configure the export presets. Exclude plugin in export preset

  2. After you have created an export preset for the platform you are exporting the game to, click on that export preset. In this case, we have an export preset for macOS.

  3. Click on the Resources tab.

  4. In the filters to exclude files/folder add the below line:
    res://addons/gdai-mcp-plugin-godot/**

  5. Close this export dialog, and save your project.

  6. Now whenever you export to macOS, the plugin will not be included in the exported game.

  7. If you have more than one export preset, repeat the above steps for each export preset.

Last updated on