prybar
Health Warn
- License — License: NOASSERTION
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Rust toolkit for Source engine modding
Prybar
Source engine modding toolkit for AI agents and scripts
Rust · MDL 04-53 · VPK / GMA / APK / HFS · CLI + MCP server
Prybar is a from-scratch Rust toolkit for Source engine modding, with no UI. It decompiles models (MDL, versions 04 to 53) to QC, SMD, VTA and VRD, lists, unpacks and packs VPK and GMA packages, wraps studiomdl and hlmv, publishes to the Steam Workshop, and downloads Workshop items and whole collections. It ships as a CLI (prybar) and an MCP server (prybar-mcp) so Claude, Codex, Cursor and scripts can drive it.
Install
Download the archive for your system from the releases page. Each one has the desktop app, the CLI prybar and the MCP server prybar-mcp:
- macOS:
Prybar.app, plusprybarandprybar-mcpnext to it. - Windows:
prybar-gui.exe,prybar.exe,prybar-mcp.exe. - Linux:
prybar-gui,prybar,prybar-mcp, with a desktop entry and icons undershare/. The app needs Vulkan and X11 or Wayland.
Keep the Steam library that ships next to the binaries (libsteam_api / steam_api64.dll): Workshop publishing uses it.
Or build it:
cargo build --release -p prybar-cli -p prybar-mcp -p prybar-gui
# Workshop publishing: add --features prybar-cli/workshop,prybar-mcp/workshop,prybar-gui/workshop
Binaries land in target/release/ (prybar, prybar-mcp, prybar-gui). Setup details are in CONTRIBUTING.md.
Quickstart
prybar inspect models/props/crate.mdl # what is in this model
prybar decompile crate.mdl -o out # QC + SMD (+ VTA, VRD)
prybar list pak01_dir.vpk --filter "models/*.mdl" --limit 20
prybar unpack addon.gma -o addon_src
prybar games --detect --save # find Steam games once
prybar compile out/crate/crate.qc -g garrysmod # studiomdl
prybar pack addon_src -o addon.gma # needs addon.json
Add --json for one machine-readable document on stdout. Exit codes are stable: see docs/cli/README.md.
Performance
Decompiling all 2,201 models of Half-Life 2's hl2_misc_dir.vpk (QC, reference, LOD, physics and animation SMDs), same machine (Apple M5, 10 cores), same input:
| Tool | Time | |
|---|---|---|
| prybar, all cores | 3.8 s | ▏ |
| prybar, one core | 16.6 s | ███ |
| Crowbar 0.74 | 128 s | ████████████████████████ |
About 30× faster than Crowbar on a multi-core machine and about 8× faster on a single core. Every model decompiled with no failures in both tools.
MCP server
prybar-mcp speaks MCP over stdio and exposes the same operations as tools (inspect_model, decompile_model, list_package, unpack_package, pack_package, compile_model, view_model, publish_workshop, workshop_download, games_list, config_get, config_set). Client snippets for Claude Desktop, Claude Code, Cursor, Codex and VS Code: docs/agents/mcp-config.md.
For AI agents
Put prybar and prybar-mcp from the releases on your PATH first.
Claude Code (skill + MCP server in one plugin):
/plugin install prybar --marketplace ds-kimi/prybar
On older Claude Code versions: /plugin marketplace add ds-kimi/prybar, then /plugin install prybar@prybar.
Codex CLI:
codex mcp add prybar -- prybar-mcp
Cursor: Add to Cursor
VS Code:
code --add-mcp '{"name":"prybar","command":"prybar-mcp"}'
Claude Desktop and others: config snippets in docs/agents/mcp-config.md. ChatGPT on the web and in the app only connects to remote MCP servers, so use Codex there, or any agent with a shell through the CLI (AGENTS.md).
- Skill source: plugins/prybar/skills/prybar/SKILL.md
- Error reference, recipes, troubleshooting: docs/agents/
Updates
- Desktop app: checks at launch, downloads and verifies the new version in the background, then shows "Restart to update". Switch it off in Settings > Updates.
- CLI and MCP server: at most once a day, one line on stderr says a newer version exists;
prybar self-updateinstalls it. Output on stdout never changes. - Everywhere:
PRYBAR_NO_UPDATE_CHECK=1turns the check off (it is also off in CI).
Privacy
Only the desktop app sends anonymous analytics (launch and crash events, no IDs, no paths), on by default with a first-launch opt-out, and every payload sent is listed in Settings > Privacy. PRYBAR_TELEMETRY=0 or DO_NOT_TRACK=1 turns it off. The CLI and MCP server send none. The counts are public: live stats. Details: PRIVACY.md.
Documentation
| Doc | Content |
|---|---|
| docs/cli/README.md | commands, inputs, JSON output, exit codes |
| docs/mcp/README.md | MCP tools and safety rules |
| docs/formats.md | public sources behind each format (clean-room provenance) |
| docs/roundtrip-report.md | decompile, recompile and compare results on real models |
| PRIVACY.md | what the app sends, what it never collects, how to turn it off |
| docs/gui/README.md | desktop app: run, keys, 3D preview |
| CONTRIBUTING.md | build, test, fuzz, bench |
License
Prybar is source-available under MIT + Commons Clause 1.0. It is not OSI open source.
- Models, addons and anything else you make with Prybar are yours, and commercial use is fine.
- Forks, modifications, republication and free repacks are allowed. Keep the license notice, which carries the credit.
- Do not sell Prybar itself, as is or repacked.
Full text in LICENSE.
Thanks
Prybar is inspired by Crowbar. Thanks to ZeqMacaw for creating it and to everyone who worked on it over the years. Without it, this project would not exist.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found