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:
# 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/repoThe 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:
// 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:
Receive scan results and memory updates in Slack channels.
Bot integration for project notifications.
Microsoft Teams webhook for enterprise environments.
Bot notifications for scan completions.
Business API notifications.
Configure webhooks from the Dashboard under project settings → Integrations.