Cheat sheet

KeysActionWhere
gGo to a page, following the panelGlobal
hOpen this cheat sheetGlobal
BackspaceGo to the parent page, or close a dialogGlobal
EscClose menus and panelsGlobal
g h/Pages
g i/informationPages
g i f/information/faqPages
g i f w/information/faq/what-is-thisPages
g i f h/information/faq/how-does-it-workPages
g i f i/information/faq/which-operating-systems-are-supportedPages
g i f d/information/faq/does-it-take-over-my-computerPages
g i f o/information/faq/do-i-need-to-know-how-to-codePages
g i f a/information/faq/what-are-scripts-written-inPages
g i f c/information/faq/can-i-run-more-than-one-game-client-at-oncePages
g i f n/information/faq/can-i-stop-a-script-at-any-timePages
g i f t/information/faq/what-does-running-several-scripts-at-once-costPages
g i f r/information/faq/what-are-community-scriptsPages
g i f s/information/faq/how-do-share-codes-workPages
g i p/information/privacyPages
g i s/information/securityPages
g i t/information/termsPages
g i t c/information/terms/communityPages
g i t s/information/terms/scriptersPages
g i t u/information/terms/usersPages
g n/installPages
g n l/install/linuxPages
g n w/install/windowsPages
g r/referralsPages
g s/scriptsPages
g s a/scripts/agilityPages
g s b/scripts/barronite-minerPages
g s l/scripts/blast-furnacePages
g s e/scripts/blessed-bone-shardsPages
g s c/scripts/collectorPages
g s o/scripts/cookerPages
g s f/scripts/forestryPages
g s r/scripts/frost-naguasPages
g s g/scripts/gem-cutterPages
g s h/scripts/hunter-rumoursPages
g s m/scripts/mage-training-arenaPages
g s t/scripts/motherlode-minePages
g s u/scripts/rogues-denPages
g s s/scripts/shopperPages
g s d/scripts/smelterPages
g s i/scripts/smitherPages
g s v/scripts/stall-thieverPages
g s p/scripts/temporossPages
g s j/scripts/tithe-farmPages
g s k/scripts/vale-totemsPages
g s n/scripts/varlamore-thievingPages
g s q/scripts/volcanic-ashPages
g s w/scripts/wintertodtPages
g s z/scripts/zulrahPages
g t/tutorialsPages
g t w/tutorials/write-scripts-with-an-ai-agentPages

Esc to close

← tutorials

Write scripts with an AI agent

guide

The loader comes with an MCP server: a connection that lets an AI coding agent see your game client, read the script library's documentation, check scripts for mistakes and run them. The agent never clicks for you. It acts by writing small scripts against the library, so it moves the mouse and times its actions like a person would.

Before you start

  • Install the loader and sign in with Discord.
  • Open your game client.
  • Install an AI coding agent that supports MCP servers, such as Claude Code or Codex, and sign in to it.

Steps

  1. Open the loader's terminal tab. It starts in the loader's agent workspace, a folder that already connects agents to the loader.
  2. Start your agent there, for example with claude or codex. If it asks whether to use the volcren server, allow it.
  3. Ask it to look around first: "List my game clients and show me my inventory." It loads the agent into your client if it needs to.
  4. Give it something small to do: "Walk to the nearest bank and deposit my inventory."
  5. Ask for a whole script: "Write a script that chops oak logs and banks them, check it, and test it on my client." It looks up the library functions it needs, fixes what the check reports and shows you what the script printed.
  6. Stop the run when you're done, or just close the agent: everything it started stops with it.

Good to know

  • The agent plays on your real account. It should ask before spending coins, trading or dropping valuable items. If you're not sure what it's about to do, say no.
  • One script runs on a client at a time. Stop a script that is running in the loader before the agent uses that client.
  • Runs the agent starts are free. It can't run scripts from the store.
  • To use the agent from another terminal, register the loader as an MCP server whose command is the loader's path followed by mcp.
  • On Windows, checking scripts needs the Microsoft Visual C++ Redistributable. If the check says VCRUNTIME140.dll is missing, install it.
edit this tutorial on GitHub

VOLCREN is not affiliated with or endorsed by any game developer or publisher.

Using our products may violate EULAs you've agreed to, which we do not condone.