Build several packages from one codebase
Library System adds four tools to the s&box editor's MCP server, so you (or your AI agent) can list, install, remove and publish libraries without leaving the editor. Keep every system you want to share as a library inside one game project, test it there, and ship each one as its own package.
Tools
- library_versions: lists every library in the project with its installed and published version.
- library_install: installs a published library into the project by ident.
- library_uninstall: removes an installed library and deletes its folder.
- library_publish: compiles the library (if it has code), uploads its files and publishes a new version with your change title.
How to use
- Install Library System into your game project.
- Put each system you want to share in the Libraries folder as its own library.
- Call the tools from any MCP client connected to the editor, for example library_publish with the library's ident.
New packages start Hidden. When a package is ready, switch it to Released on its sbox.game edit page.
Editor-only: nothing ships with your game.
Our Lobby, Checkpoint, Combat and Library System packages all ship from one game project. Library System published itself.