- Category: model context protocol
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 44
- Triggers: 0
- Slug:
GITHUB_MCP - Version: 20261018_00
Tools
Add comment to pending review
Add comment to pending review
GITHUB_MCP_ADD_COMMENT_TO_PENDING_REVIEWAdd review comment to the requester’s latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).Input Parameters
Add issue comment
Add issue comment
GITHUB_MCP_ADD_ISSUE_COMMENTAdd a comment and/or reaction to a specific issue or issue comment in a GitHub repository. Use this tool with pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add or react to review comments. At least one of body or reaction is required.Input Parameters
Add reply to pull request comment
Add reply to pull request comment
GITHUB_MCP_ADD_REPLY_TO_PULL_REQUEST_COMMENTAdd a reply and/or reaction to an existing pull request comment. This can create a new comment linked as a reply to the specified comment, add an emoji reaction to the specified comment, or do both. At least one of body or reaction is required.Input Parameters
Create branch
Create branch
Create or update file
Create or update file
GITHUB_MCP_CREATE_OR_UPDATE_FILECreate or update a single file in a GitHub repository. If updating, you should provide the SHA of the file you want to update. Use this tool to create or update a file in a GitHub repository remotely; do not use it for local file operations.To obtain the current blob SHA before updating, call the get_file_contents tool with the same owner, repo, and path, and set its ref parameter to this tool’s branch value. The first text result reports the blob SHA for the requested path.SHA MUST be provided for existing file updates.Input Parameters
Create pull request
Create pull request
Create repository
Create repository
Delete file
Delete file
Fork repository
Fork repository
Get commit
Get commit
GITHUB_MCP_GET_COMMITGet details for a commit from a GitHub repositoryInput Parameters
Get file contents
Get file contents
Get label
Get label
Get latest release
Get latest release
Get me
Get me
GITHUB_MCP_GET_MEGet details of the authenticated GitHub user. Use this when a request is about the user’s own profile for GitHub. Or when information is missing to build other tool calls.Get release by tag
Get release by tag
Get tag
Get tag
Get team members
Get team members
Get teams
Get teams
Issue read
Issue read
GITHUB_MCP_ISSUE_READGet information about a specific issue in a GitHub repository.Input Parameters
has_parent, has_children); parent and sub_issues_summary are optional relationship summaries, and closed_by_pull_requests summarizes the pull requests configured to close the issue as total_count plus up to 5 references. 2. get_comments - Get issue comments. 3. get_sub_issues - Get sub-issues (children) of the issue. 4. get_parent - Get the parent issue, if this issue is a sub-issue of another. 5. get_labels - Get labels assigned to the issue.Issue write
Issue write
GITHUB_MCP_ISSUE_WRITECreate a new or update an existing issue in a GitHub repository.Input Parameters
List branches
List branches
List commits
List commits
GITHUB_MCP_LIST_COMMITSGet list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).Input Parameters
List issue fields
List issue fields
GITHUB_MCP_LIST_ISSUE_FIELDSList issue fields for a repository or organization. Returns field definitions including name, type (text, number, date, single_select), and for single_select fields the list of valid option names. When repo is omitted, returns org-level fields directly.Input Parameters
List issues
List issues
GITHUB_MCP_LIST_ISSUESList issues in a GitHub repository. For pagination, use the ‘endCursor’ from the previous response’s ‘pageInfo’ in the ‘after’ parameter.Input Parameters
List issue types
List issue types
GITHUB_MCP_LIST_ISSUE_TYPESList supported issue types for a repository or its owner organization. When repo is omitted, returns org-level issue types directly.Input Parameters
List pull requests
List pull requests
GITHUB_MCP_LIST_PULL_REQUESTSList pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests tool instead.Input Parameters
List releases
List releases
List repository collaborators
List repository collaborators
Merge pull request
Merge pull request
Pull request read
Pull request read
GITHUB_MCP_PULL_REQUEST_READGet information on a specific pull request in GitHub repository.Input Parameters
Pull request review write
Pull request review write
GITHUB_MCP_PULL_REQUEST_REVIEW_WRITECreate and/or submit, delete review of a pull request.Available methods:- create: Create a new review of a pull request. If “event” parameter is provided, the review is submitted. If “event” is omitted, a pending review is created.
- submit_pending: Submit an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request. The “body” and “event” parameters are used when submitting the review.
- delete_pending: Delete an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request.
- resolve_thread: Resolve a review thread. Requires only “threadId” parameter with the thread’s node ID (e.g., PRRT_kwDOxxx). The owner, repo, and pullNumber parameters are not used for this method. Resolving an already-resolved thread is a no-op.
- unresolve_thread: Unresolve a previously resolved review thread. Requires only “threadId” parameter. The owner, repo, and pullNumber parameters are not used for this method. Unresolving an already-unresolved thread is a no-op.
Input Parameters
Push files
Push files
Request copilot review
Request copilot review
Run secret scanning
Run secret scanning
GITHUB_MCP_RUN_SECRET_SCANNINGScan files, content, or recent changes for secrets such as API keys, passwords, tokens, and credentials.This tool is intended for targeted scans of specific files, snippets, or diffs provided directly as content. The files parameter accepts either a single string or an array of strings containing raw file contents or diff hunks, and returns detected secrets with their locations and related secret scanning metadata. Content must not be empty. For full repository scanning, other mechanisms are available.Caveats:- Only files within the codebase should be scanned. Files outside of the codebase should not be sent.
- Files listed in .gitignore should be skipped.
Input Parameters
Search code
Search code
GITHUB_MCP_SEARCH_CODEFast and precise code search across ALL GitHub repositories using GitHub’s native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.Input Parameters
OR, NOT, and "quoted phrase" for exact match. Qualifiers: repo:owner/repo, org:, user:, language:, path:dir (prefix match), filename:exact.ext, extension:, in:file, in:path, size:, is:archived, is:fork. Max 256 chars. Examples: WithContext language:go org:github; "package main" repo:o/r; func extension:go path:cmd repo:o/r; NOT TODO language:go repo:o/r.Search commits
Search commits
GITHUB_MCP_SEARCH_COMMITSSearch for commits across GitHub repositories using GitHub’s commit search syntax. Useful for finding specific changes, authors, or messages across one or many repositories. Searches the default branch only.Input Parameters
repo:owner/repo, org:, or user: (queries without a scope qualifier match across all of GitHub and are usually not what you want). Other qualifiers: author:, committer:, author-name:, committer-name:, author-email:, committer-email:, author-date:, committer-date: (supports >, <, >=, <=, and YYYY-MM-DD..YYYY-MM-DD ranges), merge:true|false, hash:, tree:, parent:, is:public. Examples: repo:owner/repo fix panic; org:github author:defunkt committer-date:>=2024-01-01; "refactor cache" repo:o/r; hash:abc1234 repo:o/r.Search issues
Search issues
GITHUB_MCP_SEARCH_ISSUESSearch issues using natural-language semantic matching. Best for conceptual or paraphrased queries (e.g. “login fails after password reset”). Already scoped to is:issue.Input Parameters
Search pull requests
Search pull requests
GITHUB_MCP_SEARCH_PULL_REQUESTSSearch for pull requests in GitHub repositories using issues search syntax already scoped to is:prInput Parameters
Search repositories
Search repositories
GITHUB_MCP_SEARCH_REPOSITORIESFind GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.Input Parameters
Search users
Search users
GITHUB_MCP_SEARCH_USERSFind GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.Input Parameters
Sub issue write
Sub issue write
GITHUB_MCP_SUB_ISSUE_WRITEAdd a sub-issue to a parent issue in a GitHub repository.Input Parameters
add with replace_parent=true; there is no writable parent field.Update pull request
Update pull request
Update pull request branch
Update pull request branch