GitHub Integration

Connect Remb to your GitHub repositories for automatic scanning, file reading, and webhook-triggered updates.

Overview

Remb integrates with GitHub to read repository files, trigger scans on push, and keep project context up-to-date with your latest code. Connection is established when you initialize a project with a GitHub repo URL.

Auto-Scan on Push

Automatically trigger a cloud scan whenever you push to the configured branch.

Setup

Enable via the MCP tool or dashboard:

Via MCP
# The AI can call:
remb__scan_on_push { "project_slug": "my-project", "enabled": true }

When enabled, Remb sets up a GitHub webhook that listens for push events on the configured branch. Each push triggers the full 5-phase scan pipeline.

Repository Connection

Link a GitHub repo when initializing a project:

remb init
# Follow the prompts to enter your repo URL
# or specify it directly:
# Repo URL: https://github.com/username/repo

The repo URL enables:

  • Cloud scanning reads files directly from GitHub
  • MCP tools can read files and browse the file tree
  • Push webhooks for automatic re-scanning

File Reading

AI tools can read files from your repo without needing local access:

Via MCP tools
// Read a specific file
remb__file_read { "project_slug": "my-project", "path": "src/auth.ts" }

// Browse the file tree
remb__file_tree { "project_slug": "my-project", "path_prefix": "src/" }

Rate limits

File reads are subject to GitHub API rate limits. Remb caches file content to minimize API calls.

Webhook Integrations

Remb also supports incoming webhooks from other platforms for notifications:

Slack

Receive scan results and memory updates in Slack channels.

Discord

Bot integration for project notifications.

Teams

Microsoft Teams webhook for enterprise environments.

Telegram

Bot notifications for scan completions.

WhatsApp

Business API notifications.

Configure webhooks from the Dashboard under project settings → Integrations.