Skip to content

GitHub Domain

jake-chromatir edited this page Aug 9, 2026 · 3 revisions

GitHub Domain

Direct GitHub API access — no MCP server in the middle.

Commands

Workflows

magmascript gh workflows                     # all 13 workflows + status
magmascript gh workflow CI 5                 # last 5 CI runs
magmascript gh trigger "Deploy to Pi"        # trigger workflow_dispatch

Issues

magmascript gh issues                        # open issues
magmascript gh issues broken-links closed    # filtered
magmascript gh issue create "Bug" "details"
magmascript gh issue close 42

Files

magmascript gh file path/to/file.txt         # read file content

Repo

magmascript gh repo                          # repo info

How It Works

The gh domain calls the GitHub REST API directly via HTTPS:

Your Mac ──HTTPS──> api.github.com

Requires a PAT with repo scope.

Clone this wiki locally