Skip to content

GitHub

GitHub is the platform where the world builds software. AllMCP provides 102 tools across 16 categories — repositories, branches, commits, file contents, issues, pull requests, code reviews, GitHub Actions, releases, labels, gists, notifications, organizations, search, and security alerts — behind a single endpoint.

All providers How connecting works

GitHub connects with a personal access token that you create in your own GitHub account. Fine-grained tokens are recommended: you choose exactly which repositories and permissions the connection can reach.

  1. Create a personal access token

    In GitHub, open github.com/settings/personal-access-tokens (fine-grained, recommended) and click Generate new token. Grant it the repositories you want your agent to work with and the permissions the work needs — for the full tool surface: Contents, Issues, Pull requests, Actions, Administration (read), plus account-level Notifications and Gists if you want those categories. A classic token from github.com/settings/tokens with the repo, read:org, notifications, and gist scopes works too.

  2. Open the secure key-entry page

    Ask your agent to connect GitHub. It replies with a browser link to the AllMCP key-entry page — the agent never sees or handles the token itself. Paste the token there. One field is required:

    • Personal access token — the value you copied above.
  3. Start asking for work

    Once the token is saved, the GitHub tools are live on your existing AllMCP endpoint. Nothing else to install.


Once GitHub is connected, your agent can use the tools below. You never call them by name — describe the outcome you want in plain language and the agent picks the tools.

Eight categories are available the moment you connect — repositories, branches, commits, files, issues, pull requests, search and users — the everyday development loop. The remaining eight (reviews, Actions, releases, labels, gists, notifications, organizations, security) become available as soon as a request needs them.

ToolWhat it does
github_get_meGet the authenticated user’s profile (whoami for the connected PAT).
github_get_userGet a user’s (or organization account’s) public profile by login.
ToolWhat it does
github_list_repositoriesList repositories — the authenticated user’s, a user’s, or an org’s.
github_get_repositoryGet one repository’s details (default branch, visibility, counts…).
github_create_repositoryCreate a new repository for the user or an organization.
github_update_repositoryUpdate repository settings (rename, description, visibility, flags).
github_delete_repositoryPERMANENTLY delete a repository (requires an explicit confirmation).
github_fork_repositoryFork a repository (asynchronous on GitHub’s side — may take a minute).
github_list_collaboratorsList a repository’s collaborators with their permission levels.
github_add_collaboratorInvite a user as a repository collaborator (or update their role).
github_remove_collaboratorRemove a collaborator from a repository.
github_list_stargazersList the users who starred a repository.
github_list_starred_repositoriesList repositories starred by the authenticated user (or any user).
github_star_repositoryStar a repository as the authenticated user.
github_unstar_repositoryRemove the authenticated user’s star from a repository.
ToolWhat it does
github_list_branchesList a repository’s branches (name, head SHA, protected flag).
github_get_branchGet one branch: head commit and protection status.
github_create_branchCreate a new branch from another branch (or an exact commit SHA).
github_delete_branchDelete a branch (its unmerged commits become unreachable).
github_merge_branchMerge one branch into another directly (no pull request).
ToolWhat it does
github_list_commitsList commits on a branch/ref, optionally filtered by path/author/date.
github_get_commitGet one commit with its stats and changed files.
github_compare_commitsCompare two refs: ahead/behind counts, commits, and changed files.
ToolWhat it does
github_get_file_contentsRead a file’s text content, or list a directory’s entries.
github_create_or_update_fileCreate a new file or overwrite an existing one (one commit).
github_delete_fileDelete one file (one commit). The file stays in git history.
github_push_filesCommit many file writes/deletes atomically to a branch.
github_get_repository_treeList a repository’s file tree (paths, types, sizes) in one call.
ToolWhat it does
github_list_issuesList a repository’s issues with label/assignee/state filters.
github_get_issueGet one issue with its full body (also surfaces the global numeric id).
github_create_issueCreate an issue.
github_update_issueUpdate an issue (edit, label, assign, close/reopen).
github_list_issue_commentsList an issue’s (or a PR conversation’s) comments.
github_add_issue_commentComment on an issue (or a pull request’s conversation).
github_update_issue_commentEdit an issue/PR-conversation comment.
github_delete_issue_commentDelete an issue/PR-conversation comment.
github_list_sub_issuesList an issue’s sub-issues (children in the issue hierarchy).
github_add_sub_issueAttach an existing issue as a sub-issue of a parent issue.
github_remove_sub_issueDetach a sub-issue from its parent (neither issue is deleted).
ToolWhat it does
github_list_pull_requestsList a repository’s pull requests.
github_get_pull_requestGet one PR: full body, mergeability, size, head/base SHAs.
github_create_pull_requestOpen a pull request from head into base.
github_update_pull_requestEdit a PR’s title/body, close/reopen it, or retarget its base.
github_merge_pull_requestMerge a pull request — refused when not mergeable or when the head moved since review.
github_list_pull_request_filesList the files a PR changes (per-file diffs available in full mode).
github_list_pull_request_commitsList the commits that make up a pull request.
github_get_pull_request_diffGet a PR’s complete unified diff as text (capped at 200k chars).
github_update_pull_request_branchUpdate a PR’s branch with the latest base-branch commits (sync).
github_request_reviewersRequest reviews on a PR from users and/or teams.
ToolWhat it does
github_list_pull_request_reviewsList a PR’s reviews (who approved / requested changes, and when).
github_create_pull_request_reviewSubmit a PR review (approve / request changes / comment) in one call.
github_list_review_commentsList a PR’s inline review comments (file/line anchored).
github_add_review_commentAdd one inline review comment to a PR, or reply to an existing one.
ToolWhat it does
github_list_workflowsList a repository’s workflows (id, name, file path, state).
github_trigger_workflowTrigger a workflow_dispatch run.
github_list_workflow_runsList workflow runs (CI history), newest first.
github_get_workflow_runGet one workflow run (status, conclusion, timing, trigger).
github_cancel_workflow_runCancel an in-progress workflow run.
github_rerun_workflow_runRe-run a completed workflow run (all jobs, or failed jobs only).
github_list_workflow_jobsList a run’s jobs (per-job status; failed step names surfaced).
github_get_job_logsFetch a job’s plaintext log (tail — where the failure output lives).
github_list_run_artifactsList the artifacts a workflow run produced (name, size, expiry).
github_list_check_runsList the check runs on a commit/branch (the PR status checks).
ToolWhat it does
github_list_releasesList a repository’s releases (drafts included when the token may).
github_get_releaseGet one release — by id, by tag, or the latest published one.
github_create_releaseCreate (and by default publish) a release.
github_update_releaseEdit a release (also how a draft gets published: draft=False).
github_delete_releaseDelete a release (its git tag survives — delete that separately if needed via github_delete_branch’s ref sibling, /git/refs/tags).
github_list_tagsList a repository’s git tags (name + commit SHA).
ToolWhat it does
github_list_labelsList a repository’s labels.
github_create_labelCreate a label in a repository.
github_update_labelRename or restyle a label (issues keep it through the rename).
github_delete_labelDelete a label (it’s removed from every issue/PR carrying it).
github_list_milestonesList a repository’s milestones with open/closed issue counts.
github_create_milestoneCreate a milestone.
github_update_milestoneEdit, close, or reopen a milestone.
github_delete_milestoneDelete a milestone (issues keep existing, just lose the milestone).
ToolWhat it does
github_list_gistsList the authenticated user’s gists.
github_get_gistGet one gist with its files’ contents.
github_create_gistCreate a gist from one or more files.
github_update_gistUpdate a gist’s description and/or files (add, rewrite, delete).
github_delete_gistDelete a gist permanently.
ToolWhat it does
github_list_notificationsList the authenticated user’s notification threads.
github_get_notification_threadGet one notification thread’s details.
github_mark_notifications_readMark one notification thread — or the whole inbox — as read.
ToolWhat it does
github_list_my_organizationsList the organizations the authenticated user belongs to.
github_get_organizationGet an organization’s profile (repo/member counts; visible fields depend on the token’s role in the org).
github_list_organization_membersList an organization’s members.
github_list_teamsList an organization’s teams (slug is the id other tools take).
github_list_team_membersList a team’s members.
ToolWhat it does
github_search_repositoriesSearch repositories across GitHub.
github_search_codeSearch code (file matches; tightest rate limit — 10 req/min).
github_search_issuesSearch issues across GitHub (PRs excluded — see search_pull_requests).
github_search_pull_requestsSearch pull requests across GitHub.
github_search_usersSearch users and organizations across GitHub.
github_search_commitsSearch commit messages across GitHub.
ToolWhat it does
github_list_code_scanning_alertsList a repository’s code scanning alerts (CodeQL et al.).
github_get_code_scanning_alertGet one code scanning alert (rule, location, remediation state).
github_list_secret_scanning_alertsList a repository’s secret scanning alerts (leaked credentials).
github_get_secret_scanning_alertGet one secret scanning alert (metadata only — never the secret).
github_list_dependabot_alertsList a repository’s Dependabot alerts (vulnerable dependencies).
github_get_dependabot_alertGet one Dependabot alert (advisory, vulnerable range, fix version).

  • Destructive actions are gated. Repository deletion refuses to run without an explicit confirmation, and new repositories are created private by default.
  • Responses are shaped for agents. List tools return compact summary cards by default (a full mode is available), and heavyweight payloads — diffs, CI logs, big file trees — are capped and truncatable rather than dumped whole.
  • Secret-scanning alerts never expose the leaked value. Your agent sees the secret’s type, state, and validity — never the credential itself.
  • A 404 can mean “private”. GitHub deliberately answers 404 for private resources the token can’t see, so a “not found” on something that exists usually means the token’s repository grants need widening.