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 Tools

manage_issue

Manage Issue

Create a new issue or update an existing one in a GitHub repository. When creating: provide title and optionally body, labels, assignees, and milestone. When updating: provide the issue number along with fields to change (title, body, state, labels, assignees).

create_release

Create Release

Create a new release for a GitHub repository with a tag, name, release notes, and draft/pre-release options. Can automatically generate release notes from commits since the last release.

list_commits

List Commits

List commits on a repository branch with filtering by SHA, path, author, or date range.

list_repositories

List Repositories

List repositories for the authenticated user or a specific organization. Supports filtering by type, sorting, and pagination.

review_pull_request

Review Pull Request

Submit a review on a pull request with an approve, request changes, or comment action. Optionally include inline comments on specific files and lines. Can also request reviewers.

list_branches

List Branches

List branches in a GitHub repository with optional filtering for protected branches.

manage_gist

Manage Gist

Create, read, update, or delete GitHub Gists (code snippets). - **create**: Create a new gist with one or more files. - **get**: Retrieve a gist by ID. - **update**: Update a gist's description or files. - **delete**: Delete a gist. - **list**: List gists for the authenticated user.

manage_file_content

Manage File Content

Read, create, update, or delete a file in a GitHub repository. - **read**: Retrieve file contents (decoded from Base64). - **write**: Create or update a file. Provide Base64-encoded content and a commit message. - **delete**: Delete a file. Requires the file's current SHA and a commit message.

comment_on_issue

Comment on Issue

Add a comment to an existing issue or pull request. Both issues and pull requests share the same comment API.

get_user

Get User

Retrieve a GitHub user's profile. Provide a username to look up any user, or omit it to get the authenticated user's profile.

list_pull_requests

List Pull Requests

List pull requests in a GitHub repository with filtering by state, head/base branch, and sorting options.

search

Search GitHub

Search across GitHub for repositories, code, issues/pull requests, or users using GitHub's search syntax. Supports qualifiers for filtering (e.g., "language:python stars:>100" for repositories).

merge_pull_request

Merge Pull Request

Merge a pull request using the specified merge method (merge commit, squash, or rebase).

get_repository

Get Repository

Retrieve detailed information about a GitHub repository including its settings, statistics, and metadata. Use this to inspect a repository's configuration, check its visibility, default branch, language, star/fork counts, and more.

manage_labels

Manage Labels

List existing labels or create a new label in a GitHub repository. Labels can be applied to issues and pull requests for categorization.

manage_workflow

Manage Workflow

Interact with GitHub Actions workflows: list workflows, list runs, trigger a workflow dispatch, cancel or rerun a workflow run, and view run jobs.

get_issue

Get Issue

Retrieve detailed information about a specific issue, including its body, comments count, labels, assignees, and milestone.

list_issues

List Issues

List issues in a GitHub repository with filtering and sorting options. Filter by state, labels, assignee, milestone, and since date. Note: GitHub's API returns pull requests alongside issues — this tool filters them out.

create_repository

Create Repository

Create a new GitHub repository for the authenticated user or within an organization. Supports initializing with a README, gitignore template, and license.

manage_collaborators

Manage Collaborators

List, add, or remove collaborators on a GitHub repository. Control access permissions for individual users.

manage_pull_request

Manage Pull Request

Create a new pull request or update an existing one. When creating: provide head branch, base branch, and title. When updating: provide the pull request number along with fields to change.

create_commit_status

Create Commit Status

Create a status check on a specific commit. Useful for integrating CI/CD results, deployment status, or other external checks. Also supports reading the combined status of all checks for a given ref.

update_repository

Update Repository

Update settings of an existing GitHub repository. Modify name, description, visibility, feature toggles (issues, wiki, projects), default branch, and archive status.

star_repository

Star Repository

Star or unstar a GitHub repository for the authenticated user.

More integrations teams use with GitHub

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.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. 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.

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.

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.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Bitbucket

Manage Git repositories, pull requests, and CI/CD pipelines on Bitbucket Cloud. Create, fork, and configure repositories within workspaces and projects. Create, review, approve, merge, and decline pull requests with inline code comments. Browse source code, list commits, and manage branches and tags. Track issues with the built-in issue tracker. Trigger, monitor, and manage Bitbucket Pipelines. List workspace members, configure repository default reviewers and branch restrictions, create and manage repository webhooks, and search code across repositories.

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.