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
-
Click on
Project -> Export
option in the Godot Editor to configure the export presets. -
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
. -
Click on the
Resources
tab. -
In the filters to exclude files/folder add the below line:
res://addons/gdai-mcp-plugin-godot/**
-
Close this export dialog, and save your project.
-
Now whenever you export to macOS, the plugin will not be included in the exported game.
-
If you have more than one export preset, repeat the above steps for each export preset.