arena-agent
Provides tools for building, inspecting, modifying, compiling, running, and analyzing Rockwell Arena simulation models. It can create or update .doe models from JSON specs, check and fix model errors, run replications and what-if scenarios, retrieve statistics with confidence intervals, and capture flowchart screenshots via Arena's COM automation interface.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
arena-agent
Let an AI agent (Claude, Codex, or any MCP client) build, run and analyse Rockwell Arena simulation models for you. Describe the problem in plain words; the agent turns it into an Arena model, compiles it, fixes its own errors, runs replications and reports the results with confidence intervals. Then ask "what if we add a fourth doctor?" and it changes the model and runs it again.
"Patients arrive at a clinic every 5 minutes on average. Three doctors each take about 12 minutes per patient. How long do patients wait, and would a fourth doctor be worth it?"
The agent builds clinic.doe (Create -> Process with 3 doctors -> Dispose), runs it, and answers with average waits,
utilization and their 95% half-widths for 3 and 4 doctors. The .doe file opens in Arena like any model you built
by hand.
Install (one command)
You need Windows and Arena (any edition: Student, Academic, Standard, Professional). In PowerShell:
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/MusaibBashir/arena-agent/main/install.ps1 | iex"Or with curl, from Command Prompt:
curl -fsSL https://raw.githubusercontent.com/MusaibBashir/arena-agent/main/install.ps1 -o "%TEMP%\arena-agent-install.ps1" && powershell -ExecutionPolicy Bypass -File "%TEMP%\arena-agent-install.ps1"(In PowerShell, type curl.exe, not curl: there curl is a different built-in command.)
That's all. It installs everything it needs in its own folder (no Python or git required; an existing Python is not touched), connects arena-agent to Claude Code, Claude Desktop and Codex (whichever you have), and checks that Arena responds. Start a new Claude or Codex session afterwards. Run the same command again to update.
If something is off, run arena-agent doctor: every failed check says how to fix it.
Other ways
Claude Code plugin:
/plugin marketplace add MusaibBashir/arena-agent, then/plugin install arena-agent(needs uv on PATH).Any other MCP client (Cursor, Windsurf, ...): install with the command above, then add the server printed by
arena-agent install --printto the client's MCP settings.pip / uv:
uv tool install https://github.com/MusaibBashir/arena-agent/archive/refs/heads/main.zipthenarena-agent install.
Related MCP server: AFSIM MCP Server
What the agent can do
Tool | What it does |
| Arena version and edition; tells the agent whether model size is limited |
| create a model, or a new version of an existing one, from a JSON spec; compiles it |
| read any |
| change a model |
| compile; every error names the module that caused it |
| run replications; every statistic with average, 95% half-width, min, max |
| compare what-if scenarios without touching the saved model |
| read the last run's statistics again |
| a picture of the flowchart |
| the modeling guide and Arena's own module reference |
The arena-modeling skill (installed alongside) teaches the agent the workflow: ask for missing data, build in stages, verify against theory, choose replications and warm-up, compare scenarios properly, and hand back exactly what you asked for: numbers, the model file, a written summary, or all three.
Arena editions
arena-agent reads the license type from Arena. The free Student edition limits model size (Rockwell does not publish the exact cap; it is commonly reported as 150 entities in the system at once). The agent keeps models small on limited editions and tells you plainly if Arena reports a model is over the limit. If arena-agent cannot tell which edition you have, the agent asks you once; you can also set it yourself:
arena-agent edition limited # Student / Evaluation
arena-agent edition full # commercial or university lab licenseCommand line
Everything is also available without an AI client; every command prints JSON:
arena-agent build examples\clinic.json
arena-agent run clinic.doe --reps 20 --measures "Waiting Time" Utilization
arena-agent run clinic.doe --set Doctor:Capacity=4
arena-agent inspect clinic.doe
arena-agent --helpHow it works
Arena exposes a COM automation interface (Arena.Application). arena-agent drives it from Python (pywin32): it creates
modules, sets their operands, connects them, compiles, runs in batch mode, decodes Arena's binary error file to find
the module at fault, and reads results from Arena's report database. Arena's COM interface has many undocumented
traps (hidden entry points, names that are never declared, reserved words that stop runs at time 0); the ones found
so far are handled by the tool and written up in
skills/arena-modeling/references/discoveries.md.
Tested with Arena 16.20 (version 1620). Other versions should work; please open an issue with arena-agent doctor
output if yours does not.
Contributing
Found a new Arena quirk? Add it to the discovery log (finding, how found, evidence, change) and open a pull request. Development setup:
git clone https://github.com/MusaibBashir/arena-agent; cd arena-agent
uv venv --python 3.12; uv pip install -e ".[dev]"
.venv\Scripts\pytest # unit tests (no Arena needed)
.venv\Scripts\pytest -m arena # end-to-end tests against a local ArenaLicense
MIT. Arena is a product of Rockwell Automation; this project is not affiliated with or endorsed by Rockwell Automation, and it does not include any Arena files. You need your own Arena installation and license.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Deterministic reasoning stack for AI agents: simulate, decide & compute, plus cross-domain tools.
Build, validate, and manage API simulations in WireMock Cloud from MCP-compatible AI agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceControls FlexSim simulation engine via Model Context Protocol, enabling natural language-driven simulation modeling and automation.2-
- AlicenseAqualityCmaintenanceEnables LLMs and AI agents to interact with AFSIM through standardized MCP tools for scenario management, entity/component control, simulation execution, and results analysis.63727MIT
- AlicenseCqualityDmaintenanceEnables AI agents to control Ansys Electronics Desktop (HFSS, Maxwell, Q3D, etc.) using MCP tools for simulation automation.10056PolyForm Noncommercial 1.0.0

gitcadofficial
AlicenseNot gradedqualityCmaintenanceEnables agents to create and manipulate 3D CAD models using natural language via MCP, with git-based versioning and manufacturing output generation.1Apache 2.0