RS3 Developer Tools
Lua-native developer toolkit for official RuneScape 3 plugins: LuaLS stubs, manifest schema, the rs3dev CLI, an MCP server, and Cursor and Claude Code guidance.

Install - Quick start - Troubleshooting - MCP server - Packages - Skills - Rules - Copyright and AI policy - Roadmap
5 skills - 9 rules - 9 MCP tools - 87 API stub modules
Official RS3 plugins are Lua 5.4.8 scripts run by the RuneScape beta client against the RuneScape Client API. This toolkit gives you type-checked completions for that API in any LuaLS-based editor, validates plugin.json, catches sandbox and permission problems before Jagex moderation does, copies your plugin into the client's dev_plugins folder on save, and builds the zip you upload to mod.io. The same functions are exposed to AI agents through an MCP server and documented for them through Cursor rules and Claude Code skills.
Who this is for
Anyone writing a plugin for the official RuneScape 3 client in Lua: you have (or want) a folder with plugin.json and main.lua, you edit it in Cursor, VS Code or Neovim, and you want the API checked as you type, the moderation rules checked before you upload, and the copy into the client to happen on save. If you already have a plugin, start at Have a plugin already?. If you work with an AI agent, the MCP server and the rules give it the same checks and the same policy.
Status: early (0.1.0). The stubs regenerate from the documentation every week and a few types the docs never declare are aliased to any (listed in unresolved.md). npm publishing is pending, so the install is a clone.
Install
The toolkit runs on Windows, macOS and Linux; it needs Node.js 22 or later, Git, and lua-language-server for the command line LuaLS check (the Lua extension in Cursor or VS Code ships its own copy for the editor).
Windows 11 (PowerShell):
winget install OpenJS.NodeJS.LTS
winget install Git.Git
winget install LuaLS.lua-language-server
macOS (Homebrew):
brew install node git lua-language-server
Linux (Debian or Ubuntu shown; any distribution works with nvm for Node):
sudo apt install git
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - && sudo apt install -y nodejs
# lua-language-server: unpack the linux-x64 tarball from https://github.com/LuaLS/lua-language-server/releases
# and put bin/lua-language-server on PATH, or set LUA_LANGUAGE_SERVER to it
Install the toolkit from this repository (npm publishing is planned; see ROADMAP.md). The commands are the same in every shell:
git clone https://github.com/TMHSDigital/RS3-Developer-Tools.git
cd RS3-Developer-Tools
npm install
npm run build
npm link --workspace packages/cli # exposes the rs3dev command
If npm install fails with EISDIR ... symlink, the clone is on a filesystem without symlink support (exFAT). Run npm install --workspaces=false --ignore-scripts followed by npm run build; the build script copies the workspace packages into node_modules instead of linking them.
Claude Code plugin (skills and MCP server, no clone)
This repository is also a Claude Code plugin marketplace. Two commands install the five skills and register the MCP server in any project:
claude plugin marketplace add TMHSDigital/RS3-Developer-Tools
claude plugin install rs3-developer-tools@rs3-developer-tools
The plugin starts the server with npx -y @tmhs/rs3-plugin-mcp, so it needs the packages on npm (planned, see ROADMAP.md); until then use a clone with packages/mcp/examples/monorepo.mcp.json. Cursor users get the same rules and skills with rs3dev init or rs3dev adopt, which copy them into the plugin folder, or by opening this repository, whose .cursor-plugin/plugin.json lists them.
VS Code and Cursor extension