research: GitHub App installation token scope limitations
Apra Fleet is an open-source MCP server
Brought to you by:
apralabs
Originally created by: kumaakh
GitHub App installation tokens minted by provision_vcs_auth have restricted permissions that cause friction:
.github/workflows/*.yml) — requires workflows permission, not available on fine-grained tokens by defaultgh CLI compatibility — installation tokens may not work with all gh commands (e.g. gh pr merge, gh api) that expect OAuth/PATgh auth), or user manually pushes CI filesResearch questions:
workflows permission at the App level?gh CLI work with installation tokens at all?Backlog item [#15] from docs/MCP-BACKLOG.md. High priority.
Originally posted by: kumaakh
Research complete. GitHub App installation tokens are minted with configurable repo scope (repos param) and access level (git_access param) in provision_vcs_auth. The mint call in src/services/vcs/github.ts passes these through to the GitHub App API. Full analysis documented in issue [#163] (credential file isolation redesign). Closing research issue.
Related
Tickets:
#163Ticket changed by: kumaakh