Prerequisites
- GitHub account with repository access
- Personal access token or GitHub Copilot MCP access
Setup
Option 1: Interactive CLI
Option 2: Environment variables
Option 3: Persistent store
Creating a personal access token
- In GitHub, go to Settings → Developer settings → Personal access tokens → Tokens (classic)
- Click Generate new token
- Select the following scopes:
repo,read:org - Copy the token
For GitHub Enterprise Server, set
GITHUB_MCP_URL to your enterprise MCP endpoint.Transport modes
Verify
Troubleshooting
Security best practices
- Use a fine-grained personal access token with read-only repository access.
- Limit token scope to the repositories HealOps needs to inspect.
- Store the token in
.env, not in source code.
Tracer