-
Notifications
You must be signed in to change notification settings - Fork 0
Home
jake-chromatir edited this page Aug 9, 2026
·
6 revisions
Scripting toolkit with domain-first subcommands for managing magmacrunch.com infrastructure.
Via Homebrew (recommended):
brew install magmacrunchmedia/tap/magmascriptVia pip:
pip install magmascriptFrom source:
git clone https://github.com/magmacrunchmedia/magmascript.git
cd magmascript
pip install -e ".[all]"export MAGMA_API_KEY="your-mcp-key" # for mcp domain
export GITHUB_TOKEN=$(gh auth token) # for gh domain
# pi domain works with no config (SSH key auth)magmascript mcp scoreboards # game leaderboards
magmascript pi status # Pi service statuses
magmascript gh workflows # GitHub Actions status| Domain | Transport | What it does |
|---|---|---|
| MCP Domain | JSON-RPC | MusicBrainz, scores, Discogs |
| Pi Domain | SSH | Service management, logs |
| GitHub Domain | HTTPS | Workflows, issues |
| Media Domain | HTTPS | Multi-provider search |
| Scores Domain | SSH | Game high scores |
| Cache Domain | Local | Cache management |
- Caching — File-based cache with TTL (24h media, 1h scores, 5min GitHub)
- Error handling — Typed exceptions (SSHError, APIError, etc.)
- CI/CD — Tests run on every push to Python 3.11, 3.12, 3.13
- Configuration — all config options
- Architecture — how domains work, adding new ones
- Shell Helpers — source lib/magmascript.sh