Skip to main content
HealOps connects to GitHub via the GitHub MCP server to search code, browse recent commits, inspect files, and trace changes correlated with alerts — helping identify which deployment or code change triggered an incident.

Prerequisites

  • GitHub account with repository access
  • Personal access token or GitHub Copilot MCP access

Setup

Option 1: Interactive CLI

Select GitHub when prompted.

Option 2: Environment variables

Option 3: Persistent store

Creating a personal access token

  1. In GitHub, go to SettingsDeveloper settingsPersonal access tokensTokens (classic)
  2. Click Generate new token
  3. Select the following scopes: repo, read:org
  4. Copy the token
For GitHub Enterprise Server, set GITHUB_MCP_URL to your enterprise MCP endpoint.

Transport modes

Verify

Expected output:

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.