Arma Reforger MCP Server
Provides a tool to search locally installed Doxygen HTML documentation for Arma Reforger and Enfusion APIs.
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., "@Arma Reforger MCP Servervalidate resources in my addon"
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.
Arma Reforger MCP Server — Enfusion & Enforce Script Modding
Arma Reforger MCP is a local, security-focused Model Context Protocol server and Codex plugin for Arma Reforger modding, Enfusion Workbench, and Enforce Script development. It gives AI coding assistants project-aware tools for .gproj discovery, script analysis, resource GUID validation, log diagnosis, local API documentation search, guarded file editing, and Workbench automation.
English | Deutsch
Static analysis is intentionally conservative and heuristic. Enfusion Workbench remains the final compiler, importer, resource database, and runtime validator.
Why this MCP exists
Generic filesystem tools do not understand Enfusion projects. This server models the parts that matter when an Arma Reforger addon fails:
.gprojIDs, GUIDs, configurations, and dependency GUIDsvalid Enforce Script modules below
Scripts/creator-tag and Enfusion style conventions
.metaownership, duplicate GUIDs, and{GUID}pathreferencesWorkbench/game log categories and likely remediation
the local Doxygen API shipped with Arma Reforger Tools
safe Workbench command construction without shell execution
The repository also packages two reusable Codex skills:
$develop-arma-reforger-mod— inspect, research, implement, review, and verify addon changes$diagnose-arma-reforger-mod— trace project, dependency, script, resource, replication, and runtime failures
Related MCP server: enfusion-mcp
MCP capabilities
Tool | Purpose | Side effects |
| Show configuration, path availability, and safety gates | None |
| Discover and parse | None |
| Inventory assets, dependencies, and script-module placement | None |
| Read bounded text ranges with SHA-256 | None |
| Literal search across scripts and Enfusion text resources | None |
| Check | None |
| Run documented convention/performance heuristics | None |
| Generate tagged, bilingual Enforce Script skeletons | None |
| Group actionable Workbench/game errors | None |
| Search a curated primary-source catalog | None |
| Search installed Arma Reforger and Enfusion Doxygen HTML | None |
| Dry-run or atomically write approved text resources | Opt-in |
| Prepare or launch an allowlisted Workbench command | Opt-in |
Resources are available at reforger://server/status, reforger://projects, and reforger://docs/official. The server also provides prompts for script review, failure diagnosis, and feature planning.
Quick start
Requirements
Node.js 20.19 or newer
npm 10 or newer
Arma Reforger Tools for Workbench execution and local Doxygen API search
A local Arma Reforger addon source directory containing a
.gproj
Install from GitHub
git clone https://github.com/maxionice/arma-reforger-mcp.git
cd arma-reforger-mcp
npm ci
npm run buildSmoke-test the CLI:
node dist/cli.js --help
node dist/cli.js --versionConfigure Codex as a plugin
The repository root is already a Codex plugin. Its .codex-plugin/plugin.json bundles the MCP server and both skills; .mcp.json launches the compiled server from dist/cli.js.
After cloning and building, add this repository to a local Codex marketplace or use it as a plugin source. Start a new Codex session after installing so the tools and skills are loaded.
Configure a standalone MCP client
Use an absolute server path and configure at least one addon root:
{
"mcpServers": {
"arma-reforger": {
"command": "node",
"args": ["C:/Tools/arma-reforger-mcp/dist/cli.js"],
"env": {
"ARMA_REFORGER_PROJECT_ROOTS": "C:/Users/you/Documents/My Games/ArmaReforgerWorkbench/addons",
"ARMA_REFORGER_DOCS_DIR": "C:/Program Files (x86)/Steam/steamapps/common/Arma Reforger Tools/Workbench/docs",
"ARMA_REFORGER_LOG_DIRS": "C:/Users/you/Documents/My Games/ArmaReforgerWorkbench/logs;C:/Users/you/Documents/My Games/ArmaReforger/logs"
}
}
}
}For Codex config.toml, the equivalent standalone configuration is:
[mcp_servers.arma-reforger]
command = "node"
args = ["C:/Tools/arma-reforger-mcp/dist/cli.js"]
[mcp_servers.arma-reforger.env]
ARMA_REFORGER_PROJECT_ROOTS = "C:/Users/you/Documents/My Games/ArmaReforgerWorkbench/addons"
ARMA_REFORGER_DOCS_DIR = "C:/Program Files (x86)/Steam/steamapps/common/Arma Reforger Tools/Workbench/docs"
ARMA_REFORGER_LOG_DIRS = "C:/Users/you/Documents/My Games/ArmaReforgerWorkbench/logs;C:/Users/you/Documents/My Games/ArmaReforger/logs"Configuration
Copy .env.example as a reference. The server reads environment variables from its parent MCP client; it does not load .env automatically.
Variable | Default | Description |
| Workbench addon folder on Windows | Semicolon-separated allowed project roots |
| Workbench and game log folders on Windows | Semicolon-separated read-only log roots |
| None | Semicolon-separated local Workbench Doxygen roots |
| None | Absolute Workbench executable |
|
| Enable non-dry-run project writes |
|
| Enable Workbench launch |
|
| Per-file read/write safety limit |
|
| Default search result limit |
|
| Maximum recursive directory depth |
CLI flags --root, --log-dir, --docs-dir, and --workbench override their environment counterparts. Repeat flags to configure multiple roots.
Safety model
Every project read/write is confined to canonical configured roots.
Symlinks are skipped during traversal, and resolved paths are checked again.
Writes default to
dryRun: true, support optimistic SHA-256 concurrency checks, restrict extensions, and use an atomic same-directory rename.Writes require
ARMA_REFORGER_ALLOW_WRITES=trueor--allow-writes.Workbench launch requires both a validated executable name and
ARMA_REFORGER_ALLOW_PROCESS_EXECUTION=trueor--allow-process-execution.Workbench is spawned with
shell: false; the MCP never exposes arbitrary command execution.MCP protocol traffic uses stdout. Diagnostics use stderr so JSON-RPC cannot be corrupted.
See SECURITY.md for the trust boundary and reporting process.
Recommended workflow
Run
server_statusandlist_projects.Inspect the target with
inspect_project.Search and read existing implementation patterns.
Verify unknown APIs against local Doxygen or official documentation.
Analyze scripts and validate resources.
Preview writes with
dryRun: trueandexpectedSha256.Prepare a Workbench verification command with
execute: false.Compile/reload and test in the matching stable or experimental Workbench branch.
Development
npm ci
npm run check
npm run build
npm pack --dry-runThe test suite covers parsers, Enforce Script heuristics, GUID/resource validation, log classification, path confinement, project discovery, and an end-to-end MCP client/server call.
src/
├── domain/ # Enfusion-aware parsers and analyzers
├── security/ # Canonical project-root confinement
├── services/ # Files, projects, docs, logs, writes, Workbench
├── shared/ # Bilingual result and utility types
├── server.ts # MCP tools, resources, and prompts
└── cli.ts # stdio entry point
skills/ # Bundled development and diagnosis workflows
tests/ # Unit, fixture, and MCP integration tests
docs/ # Architecture and research decisionsRead Architecture, Research, and Contributing before substantial changes.
Research basis
The implementation is derived from primary sources: the Bohemia Interactive Community Wiki, the official Arma Reforger samples, the generated Arma Reforger Script API, and the official MCP TypeScript SDK. The exact findings and design consequences are recorded in docs/RESEARCH.md.
Trademark and affiliation
This is an independent open-source project and is not affiliated with or endorsed by Bohemia Interactive. Arma Reforger, Enfusion, and related marks belong to their respective owners. Do not copy Bohemia Interactive game data or sample assets into this repository; follow the applicable Bohemia Interactive licenses.
License
The MCP implementation is available under the MIT License.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/maxionice/arma-reforger-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server