Skip to content

Meet your AI team. Introducing Experts.

Meet the Experts

GitHub + AutoGPT

Use GitHub in AutoGPT with 58 ready-made blocks and GitHub's official MCP server. Your AI experts use them in conversations, routines, and workflows.

  • 53 actions
  • 5 triggers
  • Official MCP server
  • Sign in or use an API key

Triggers

Start a workflow when something happens in GitHub.

  • Discussion Trigger

    This block triggers on GitHub Discussions events. Great for syncing Q&A to Discord or auto-responding to common questions. Note: Discussions must be enabled on the repository.

  • Issues Trigger

    This block triggers on GitHub issues events. Useful for automated triage, notifications, and welcoming first-time contributors.

  • Pull Request Trigger

    This block triggers on pull request events and outputs the event type and payload.

  • Release Trigger

    This block triggers on GitHub release events. Perfect for automating announcements to Discord, Twitter, or other platforms.

  • Star Trigger

    This block triggers on GitHub star events. Useful for celebrating milestones (e.g., 1k, 10k stars) or tracking engagement.

Actions

Steps your experts and workflows can take in GitHub.

  • Add Label

    A block that adds a label to a GitHub issue or pull request for categorization and organization.

  • Assign Issue

    A block that assigns a GitHub user to an issue for task ownership and tracking.

  • Assign PR Reviewer

    This block assigns a reviewer to a specified GitHub pull request.

  • Comment

    A block that posts comments on GitHub issues or pull requests using the GitHub API.

  • Compare Branches

    This block compares two branches or commits in a GitHub repository.

  • Create Comment Object

    Creates a comment object for use with GitHub blocks. Note: For review comments, only path, body, and position are used. Side fields are only for standalone PR comments.

  • Create File

    This block creates a new file in a GitHub repository.

  • Create PR Review

    This block creates a review on a GitHub pull request with optional inline comments. You can create it as a draft or post immediately. Note: For inline comments, 'position' should be the line number in the diff (starting from the first @@ hunk header).

  • Create Repository

    This block creates a new GitHub repository.

  • Create Status

    Creates a new commit status in a GitHub repository

  • Delete Branch

    This block deletes a specified branch.

  • Fork Repository

    This block forks a GitHub repository to your account or an organization.

  • Get CI Results

    This block gets CI results for a commit or PR, with optional search for specific errors/warnings in logs.

  • Get Notification Thread

    This block fetches a single GitHub notification thread.

  • Get PR Review Comments

    This block gets all review comments from a GitHub pull request or from a specific review.

  • Get Repository Info

    This block retrieves metadata about a GitHub repository.

  • Get Repository Traffic

    Get a GitHub repository's views and clones over the last 14 days, with unique visitors and cloners, plus its top referring sites and most viewed pages. Views and clones are also broken down by day or week. GitHub only shows traffic to accounts with push access to the repository.

  • Get Repository Tree

    This block lists the entire file tree of a GitHub repository recursively.

  • Get User Info

    This block fetches information about a GitHub user, or about the authenticated user (yourself) if no username is given.

  • List Branches

    This block lists all branches for a specified GitHub repository.

  • List Comments

    A block that retrieves all comments from a GitHub issue or pull request, including comment metadata and content.

  • List Commits

    This block lists commits on a branch in a GitHub repository.

  • List Discussions

    This block lists recent discussions for a specified GitHub repository.

  • List Issues

    A block that retrieves a list of issues from a GitHub repository with their titles and URLs.

  • List Notifications

    This block lists GitHub notifications for the authenticated user, e.g. mentions, review requests, and updates on subscribed threads.

  • List PR Reviewers

    This block lists the requested reviewers for a specified GitHub pull request, optionally including users who have already submitted a review.

  • List PR Reviews

    This block lists all reviews for a specified GitHub pull request.

  • List Pull Requests

    This block lists all pull requests for a specified GitHub repository.

  • List Releases

    This block lists releases for a specified GitHub repository, optionally filtered by type and date range.

  • List Stargazers

    This block lists all users who have starred a specified GitHub repository.

  • List Tags

    This block lists all tags for a specified GitHub repository.

  • Make Branch

    This block creates a new branch from a specified source branch.

  • Make Issue

    A block that creates new issues on GitHub repositories with a title and body content.

  • Make Pull Request

    This block creates a new pull request on a specified GitHub repository.

  • Mark Notification Thread As Done

    This block marks a GitHub notification thread as done, removing it from the notification inbox.

  • Mark Notification Thread As Read

    This block marks a single GitHub notification thread as read.

  • Mark Notifications As Read

    This block marks all GitHub notifications as read, optionally scoped to a single repository.

  • Merge Pull Request

    This block merges a pull request using merge, squash, or rebase.

  • Multi File Commit

    This block creates a single commit with multiple file upsert/delete operations using the Git Trees API.

  • Read File

    This block reads the content of a specified file from a GitHub repository.

  • Read Folder

    This block reads the content of a specified folder from a GitHub repository.

  • Read Issue

    A block that retrieves information about a specific GitHub issue, including its title, body content, and creator.

  • Read Pull Request

    This block reads the body, title, user, changes, and full raw object of a specified GitHub pull request.

  • Remove Label

    A block that removes a label from a GitHub issue or pull request.

  • Resolve Review Discussion

    This block resolves or unresolves a review discussion thread on a GitHub pull request.

  • Search Code

    This block searches for code in GitHub repositories.

  • Star Repository

    This block stars a GitHub repository.

  • Submit Pending Review

    This block submits a pending (draft) review on a GitHub pull request.

  • Unassign Issue

    A block that removes a user's assignment from a GitHub issue.

  • Unassign PR Reviewer

    This block unassigns a reviewer from a specified GitHub pull request.

  • Unsubscribe Notification Thread

    This block unsubscribes you from a GitHub notification thread, muting future notifications unless you are mentioned again.

  • Update Comment

    A block that updates an existing comment on a GitHub issue or pull request.

  • Update File

    This block updates an existing file in a GitHub repository.

MCP server

GitHub runs an official MCP server. Add it under Settings, Integrations, and your AI experts can use its tools. How MCP works in AutoGPT

GitHub MCP server

Search repositories, read code, and work with issues and pull requests through GitHub's MCP tools.

Address
https://api.githubcopilot.com/mcp/
Sign-in
Use an access token
Setup
Use a fine-grained personal access token limited to the repositories and permissions you need. Organization approval or SSO authorization may be required.
Docs
GitHub MCP documentation

How it works

  1. Connect GitHub

    Sign in or add your key once, under Settings, Integrations.

  2. Ask for what you need

    Tell Otto or an AI Expert what to do, and they use GitHub as part of the work.

  3. Make it routine

    Schedule it as a routine, or build a workflow that starts when something happens in GitHub.

Browse all integrations →

Questions

Does AutoGPT integrate with GitHub?

Yes. AutoGPT has 58 blocks for GitHub and supports GitHub's official MCP server. Your AI experts can use GitHub in conversations, and you can add its blocks to routines and workflows.

How do I connect GitHub to AutoGPT?

Sign in with your GitHub account once in AutoGPT. Your experts and workflows can then use the connection. You can use an API key instead.

All product names, logos, and trademarks are the property of their respective owners. Listing an integration implies no affiliation with or endorsement by the companies named.

Put your tools to work

Connect the apps you already use, then tell Otto or an AI Expert what needs doing. See free trial terms.