Provides a searchable index of the Enfusion and Arma Reforger script API, utilizing data scraped from Doxygen documentation to assist in script and mod creation.
Integrates with Arma Reforger Tools (distributed via Steam) to facilitate building and validating Enfusion engine addons through the Workbench CLI.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@enfusion-mcpCreate a zombie survival game mode with waves of AI enemies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
enfusion-mcp
MCP server for Arma Reforger / Enfusion engine modding. Create working mods from natural language — no modding experience required.
What It Does
Connect this server to any MCP-compatible client and describe what you want:
"Create a zombie survival game mode with waves of AI enemies"
"Add a custom faction with unique loadouts"
"Make a spawn system with weighted random positions"
12 MCP tools search 8,693 API classes, scaffold the addon, generate scripts/prefabs/configs, validate everything, and build it — all through conversation.
Installation
npx (no install)
Global install
From source
Setup
MCP Client Configuration
Add to your MCP client config:
Local Build
If running from source, point your client at the compiled entry point:
Tools
Tool | Description |
| Search Enfusion/Arma Reforger script API (8,693 classes, methods, inheritance) |
| Search tutorial and guide content |
| List files in a Workbench project directory |
| Read files from the project |
| Write/update files with path traversal protection |
| Scaffold a complete addon (directories, .gproj, pattern templates) |
| Generate Enforce Script (.c) files (7 script types) |
| Generate Entity Template (.et) prefabs (7 prefab types) |
| Generate config (.conf) files (factions, missions, catalogs) |
| Generate dedicated server config for local testing |
| Static validation (7 checks) without Workbench |
| Build addon via Workbench CLI |
Additionally exposes 3 prompts (create-mod, add-script, add-prefab) and 3 resources (enfusion://class/{name}, enfusion://pattern/{name}, enfusion://group/{name}).
Mod Patterns
10 built-in templates for common mod types:
Pattern | Description |
| Custom game mode with scoring and win conditions |
| New faction with characters and loadouts |
| Interactive objects with UserAction |
| Custom spawn manager with spawn points |
| Reusable ScriptComponent |
| Override existing class behavior |
| Keybind-triggered admin commands |
| New vehicle variant |
| Modded weapon properties |
| Custom HUD element |
Example usage with mod_create:
API Index
Pre-built index of the Enfusion/Arma Reforger script API, scraped from Doxygen documentation:
8,693 classes — 812 Enfusion engine + 7,881 Arma Reforger
157 API groups — Entities, Components, Replication, etc.
7 tutorial pages
Full method signatures, parameters, descriptions, and inheritance trees
To rebuild from your local Arma Reforger Tools installation:
Configuration
Settings are loaded in order (later sources override earlier):
Built-in defaults
Local config file —
enfusion-mcp.config.jsonnext to the packageUser config —
~/.enfusion-mcp/config.jsonEnvironment variables
Environment Variables
Variable | Description | Default |
| Default mod project directory | (none) |
| Path to Arma Reforger Tools |
|
| Path to scraped API data |
|
Config File
Development
Project Structure
Requirements
Node.js 20+
Arma Reforger Tools (Steam) — required for
mod_buildandscrape:local. All other tools work without it.
License
MIT