Connect GitHub

Dexter reads repositories, pull requests, and commits through the official GitHub MCP server, in read-only mode, to correlate an incident with recent deploys and pull requests. It never writes to a repository.

Step 1: Create a fine-grained token

  1. In GitHub, open Settings > Developer settings > Personal access tokens > Fine-grained tokens, and click Generate new token.

    GitHub may ask you to confirm your identity first.

  2. Set Resource owner to the organization that owns the repositories. A token owned by your user account cannot read an organization’s private repositories.

  3. Set Expiration. The organization’s policy caps it; choose the longest it allows.

  4. Under Repository access, choose All repositories, or Only select repositories to limit what Dexter reads.

  5. Under Permissions > Repositories, add these, each Read-only:

    • Contents

    • Pull requests

    • Metadata (added automatically, required)

  6. Click Generate token and copy it. GitHub shows it only once.

If the organization requires approval for fine-grained tokens, the token stays pending until an organization owner approves it under Organization settings > Personal access tokens > Pending requests.

Step 2: Connect it in Dexter

  1. In Dexter, open Admin > Integrations and expand GitHub under Code.

  2. Paste the token in Personal Access Token, and click Save token.

The card reads Connected. Dexter stores the token server-side and never shows it again.