Connect GitHub to AI agents

Connect GitHub to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Triggers

pull_request

Pull Request Activity

Pull request activity including review requests and branch updates. Merges have action closed and payload.pull_request.merged=true.

release

Release Activity

Release lifecycle activity, including publication, edits, and deletion.

workflow_run

Workflow Run

A GitHub Actions workflow run was requested, started, or completed.

issue_comment

Issue or Pull Request Comment

A conversation comment was created, edited, or deleted on an issue or pull request.

push

Push

Commits pushed to a branch or tag, including creation, deletion, and force pushes.

issues

Issue Activity

Issue lifecycle activity, including opened, edited, closed, reopened, assigned, and labeled.

star

Repository Star

A repository was starred or unstarred.

pull_request_review

Pull Request Review

A pull request review was submitted, edited, or dismissed.

status

Commit Status

A commit status changed, including its context, result, and target URL.

delete

Branch or Tag Deleted

A Git branch or tag was deleted.

pull_request_review_comment

Pull Request Review Comment

A comment on a pull request diff was created, edited, or deleted.

pull_request_review_thread

Pull Request Review Thread

A pull request review thread was resolved or unresolved.

create

Branch or Tag Created

A Git branch or tag was created.

repository

Repository Activity

Repository settings and lifecycle activity supported by repository webhooks.

discussion

Discussion Activity

Discussion lifecycle activity, including creation, edits, and selected answers.

deployment

Deployment

A deployment was created.

discussion_comment

Discussion Comment

A comment on a discussion was created, edited, or deleted.

workflow_job

Workflow Job

GitHub Actions job activity, including queued, in-progress, and completed jobs.

fork

Repository Forked

A fork of the repository was created.

deployment_status

Deployment Status

A deployment status changed, including its environment and result.

dependabot_alert

Dependabot Alert

Dependabot vulnerability alert activity, including creation, dismissal, reopening, and fixes.

check_run

Check Run

A check run was created or completed. Repository hooks do not receive requested_action or rerequested actions.

check_suite

Check Suite

A check suite completed. Repository hooks only receive the completed action.

More integrations teams use with GitHub

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles. Receive real-time webhook notifications for page changes, new pages, comments, and database schema updates.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues. Subscribe to real-time webhooks for changes to issues, projects, cycles, comments, documents, and more.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Jira

Create, read, update, and delete issues across projects. Search issues using JQL queries. Manage projects, boards, sprints, and epics for agile workflows. Log work time, add comments and attachments, and transition issues through workflow statuses. Create and manage project versions/releases, issue links, filters, and dashboards. Query users, groups, and permissions. Receive webhooks for issue, comment, sprint, project, board, user, and configuration change events.

How to use GitHub on Metorial

App Store Review Monitoring and GitHub Issue Triage

Monitor Google Play app reviews for negative feedback patterns, search GitHub for related known issues, create new issues for untracked problems, and notify the product team in Slack with a weekly review digest.

Automate PR Review Requests from Linear Issues to GitHub

Engineering teams lose time manually creating GitHub pull requests and linking them back to Linear issues. This workflow reads in-progress Linear issues, checks for associated GitHub branches or PRs, and posts review request reminders to Slack when PRs have been open without review for too long.

Bug Triage from Sentry Errors to GitHub Issues

Monitor Sentry for new critical errors, deduplicate against existing GitHub issues, and automatically open well-structured bug reports with stack trace context so engineers can act immediately without switching between tools.

Compile Weekly Engineering Sprint Reports from Linear and GitHub

At the end of each sprint, automatically gather completed Linear issues, associated pull requests, and deployment activity from GitHub to produce a structured sprint summary for stakeholders.

GitHub PR Review Triage and Slack Notification

Monitor open pull requests across repositories, identify stale or unreviewed PRs, and send targeted Slack reminders to the assigned reviewers with context about what needs attention.

GitHub Pull Request Review Workflow with Slack Notifications

Monitor open pull requests in GitHub, post structured review summaries to the relevant Slack channels, and automatically assign reviewers based on changed file paths to keep code review moving without manual chasing.

GitHub Release Notes Generation and Slack Announcement

When a new GitHub release is created, automatically compile a structured changelog from recent commits, generate formatted release notes, and post the announcement to the relevant Slack channels so all stakeholders are informed immediately.

Hardware Field Support Ticket Enrichment and Escalation

When a field support ticket arrives, enrich it with device and customer data from Salesforce, search for related known issues in GitHub, and escalate to the engineering team via Slack if a pattern is detected.

Investigate and Triage GitHub Issues Using Web Research for Context

For newly opened GitHub issues, search the web and relevant documentation pages to gather context about the reported problem, then add a structured comment with investigation findings and suggested next steps to help maintainers triage faster.

Manage Heroku Deployment Lifecycle with GitHub Release Triggers

When a new GitHub release is published, automatically trigger a Heroku build, monitor the deployment, and post the release summary with deployment status to a Slack engineering channel.

Manage Sentry Alert Rules Based on GitHub Release Activity

When a new GitHub release is published, automatically update Sentry alert thresholds to account for increased traffic, create a new release in Sentry, and associate commits for suspect commit detection.

Monitor GitHub Actions CI Failures and Create Linear Bug Reports

When a GitHub Actions workflow fails on a main branch, automatically retrieve the failure logs, identify the breaking change, and create a prioritized Linear bug report with full context for the on-call engineer.

Monitor GitHub Actions Workflow Failures and Alert Teams in Microsoft Teams

CI/CD failures often go unnoticed until developers check their repository manually. This workflow monitors GitHub Actions workflow runs for failures, retrieves the job details, and posts a structured alert to the relevant Microsoft Teams channel so the on-call engineer can respond immediately.

Monitor GitHub Pull Requests and Post Review Summaries to Microsoft Teams

When pull requests are opened or updated in a GitHub repository, the agent reviews the diff context, posts a structured review summary to the engineering Microsoft Teams channel, and requests reviewers based on file ownership.

Monitor Production Errors and File Engineering Issues Automatically

Watch Datadog error logs and alert events in real time, then automatically create actionable GitHub issues with full context so on-call engineers can investigate without switching tools.

Technical notes for GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Connect GitHub to production AI agents

See how Metorial gives GitHub access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting GitHub to AI agents with Metorial.

  1. Can Metorial connect GitHub to AI agents?
    Yes. Metorial connects AI agents to GitHub through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.