Compresses and decompresses files across 13 archive formats: zip, tar,
bz2, gz, tar.bz2, tar.gz, 7z, xz, tar.xz, zst, tar.zst, lz4, tar.lz4.
Also detects, packs, and unpacks UPX executables, and password-protects
7z archives with AES-256 (encrypting both contents and filenames).
Auto-detects archive type via magic bytes on decompress. Activates
when the user asks to compress, decompress, extract, unpack, unzip,
archive, package, or bundle a directory; encrypt, password-protect, or
securely send a file, or make a password-protected 7z; unpack a
UPX-packed executable or check whether a binary is packed; identify
"what kind of archive is X"; or work with tar.gz, gzip, bzip2, 7-zip,
xz, zstd, lz4, or nested archives. Provides an MCP server
(`magic-pack-mcp`, preferred for agents — structured JSON output) and
a CLI binary (`magic-pack`).
2026-06-12