Hosted MCP server · #93 most used on Smithery · ✓ verified

GitHub

github

Connect your AI agents to GitHub — manage repos, issues, PRs, workflows, and more

Uses
5.9k
Tools
86
Runs
Hosted
Prompts
2
Listed
12mo ago

Get started

Add it to your agent

npx -y @smithery/cli@latest install github --client claude

Swap --client claude for cursor, vscode, windsurf or another client. The CLI asks for any required settings.

What it can do

80 of 86 tools

actions_get4 paramsGet details about specific GitHub Actions resources. Use this tool to get details about individual workflows, workflow runs, jobs, and ar…

Get details about specific GitHub Actions resources. Use this tool to get details about individual workflows, workflow runs, jobs, and artifacts by their unique IDs.

ParameterTypeDescription
repostringRepository name
ownerstringRepository owner
methodstringThe method to execute
resource_idstringThe unique identifier of the resource. This will vary based on the "method" provided, so ensure you provide the correct ID: - Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'get_workfl
actions_list8 paramsTools for listing GitHub Actions resources. Use this tool to list workflows in a repository, or list workflow runs, jobs, and artifacts f…

Tools for listing GitHub Actions resources. Use this tool to list workflows in a repository, or list workflow runs, jobs, and artifacts for a specific workflow or workflow run.

ParameterTypeDescription
pagenumberPage number for pagination (default: 1)
repostringRepository name
ownerstringRepository owner
methodstringThe action to perform
per_pagenumberResults per page for pagination (default: 30, max: 100)
resource_idstringThe unique identifier of the resource. This will vary based on the "method" provided, so ensure you provide the correct ID: - Do not provide any resource ID for 'list_workflows' method. - Provide a wo
workflow_jobs_filterobjectFilters for workflow jobs. **ONLY** used when method is 'list_workflow_jobs'
workflow_runs_filterobjectFilters for workflow runs. **ONLY** used when method is 'list_workflow_runs'
actions_run_trigger7 paramsTrigger GitHub Actions workflow operations, including running, re-running, cancelling workflow runs, and deleting workflow run logs.
ParameterTypeDescription
refstringThe git reference for the workflow. The reference can be a branch or tag name. Required for 'run_workflow' method.
repostringRepository name
ownerstringRepository owner
inputsobjectInputs the workflow accepts. Only used for 'run_workflow' method.
methodstringThe method to execute
run_idnumberThe ID of the workflow run. Required for all methods except 'run_workflow'.
workflow_idstringThe workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml). Required for 'run_workflow' method.
add_comment_to_pending_review10 paramsAdd review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check wit…

Add 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).

ParameterTypeDescription
bodystringThe text of the review comment
linenumberThe line of the blob in the pull request diff that the comment applies to. For multi-line comments, the last line of the range
pathstringThe relative path to the file that necessitates a comment
repostringRepository name
sidestringThe side of the diff to comment on. LEFT indicates the previous state, RIGHT indicates the new state
ownerstringRepository owner
startLinenumberFor multi-line comments, the first line of the range that the comment applies to
startSidestringFor multi-line comments, the starting side of the diff that the comment applies to. LEFT indicates the previous state, RIGHT indicates the new state
pullNumbernumberPull request number
subjectTypestringThe level at which the comment is targeted
add_issue_comment4 paramsAdd a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull …

Add a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.

ParameterTypeDescription
bodystringComment content
repostringRepository name
ownerstringRepository owner
issue_numbernumberIssue number to comment on
add_reply_to_pull_request_comment5 paramsAdd a reply to an existing pull request comment. This creates a new comment that is linked as a reply to the specified comment.
ParameterTypeDescription
bodystringThe text of the reply
repostringRepository name
ownerstringRepository owner
commentIdnumberThe ID of the comment to reply to
pullNumbernumberPull request number
assign_copilot_to_issue5 paramsAssign Copilot to a specific issue in a GitHub repository. This tool can help with the following outcomes: - a Pull Request created with …

Assign Copilot to a specific issue in a GitHub repository. This tool can help with the following outcomes: - a Pull Request created with source code changes to resolve the issue More information can be found at: - https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot

ParameterTypeDescription
repostringRepository name
ownerstringRepository owner
base_refstringGit reference (e.g., branch) that the agent will start its work from. If not specified, defaults to the repository's default branch
issue_numbernumberIssue number
custom_instructionsstringOptional custom instructions to guide the agent beyond the issue body. Use this to provide additional context, constraints, or guidance that is not captured in the issue description
create_branch4 paramsCreate a new branch in a GitHub repository
ParameterTypeDescription
repostringRepository name
ownerstringRepository owner
branchstringName for new branch
from_branchstringSource branch (defaults to repo default)
create_gist4 paramsCreate a new gist
ParameterTypeDescription
publicbooleanWhether the gist is public
contentstringContent for simple single-file gist creation
filenamestringFilename for simple single-file gist creation
descriptionstringDescription of the gist
create_or_update_file7 paramsCreate 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 t…

Create 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. In order to obtain the SHA of original file version before updating, use the following git command: git rev-parse <branch>:<path to file> SHA MUST be provided for existing file updates.

ParameterTypeDescription
shastringThe blob SHA of the file being replaced. Required if the file already exists.
pathstringPath where to create/update the file
repostringRepository name
ownerstringRepository owner (username or organization)
branchstringBranch to create/update the file in
contentstringContent of the file
messagestringCommit message
create_pull_request8 paramsCreate a new pull request in a GitHub repository.
ParameterTypeDescription
basestringBranch to merge into
bodystringPR description
headstringBranch containing changes
repostringRepository name
draftbooleanCreate as draft PR
ownerstringRepository owner
titlestringPR title
maintainer_can_modifybooleanAllow maintainer edits
create_pull_request_with_copilot5 paramsDelegate a task to GitHub Copilot coding agent to perform in the background. The agent will create a pull request with the implementation…

Delegate a task to GitHub Copilot coding agent to perform in the background. The agent will create a pull request with the implementation. You should use this tool if the user asks to create a pull request to perform a specific task, or if the user asks Copilot to do something.

ParameterTypeDescription
repostringRepository name. You can guess the repository name, but confirm it with the user before proceeding.
ownerstringRepository owner. You can guess the owner, but confirm it with the user before proceeding.
titlestringTitle for the pull request that will be created
base_refstringGit reference (e.g., branch) that the agent will start its work from. If not specified, defaults to the repository's default branch
problem_statementstringDetailed description of the task to be performed (e.g., 'Implement a feature that does X', 'Fix bug Y', etc.)
create_repository5 paramsCreate a new GitHub repository in your account or specified organization
ParameterTypeDescription
namestringRepository name
privatebooleanWhether repo should be private
autoInitbooleanInitialize with README
descriptionstringRepository description
organizationstringOrganization to create the repository in (omit to create in your personal account)
delete_file5 paramsDelete a file from a GitHub repository
ParameterTypeDescription
pathstringPath to the file to delete
repostringRepository name
ownerstringRepository owner (username or organization)
branchstringBranch to delete the file from
messagestringCommit message
dismiss_notification2 paramsDismiss a notification by marking it as read or done
ParameterTypeDescription
statestringThe new state of the notification (read/done)
threadIDstringThe ID of the notification thread
fork_repository3 paramsFork a GitHub repository to your account or specified organization
ParameterTypeDescription
repostringRepository name
ownerstringRepository owner
organizationstringOrganization to fork to
get_code_scanning_alert3 paramsGet details of a specific code scanning alert in a GitHub repository.
ParameterTypeDescription
repostringThe name of the repository.
ownerstringThe owner of the repository.
alertNumbernumberThe number of the alert.
get_commit6 paramsGet details for a commit from a GitHub repository
ParameterTypeDescription
shastringCommit SHA, branch name, or tag name
pagenumberPage number for pagination (min 1)
repostringRepository name
ownerstringRepository owner
perPagenumberResults per page for pagination (min 1, max 100)
include_diffbooleanWhether to include file diffs and stats in the response. Default is true.
get_copilot_job_status3 paramsGet the status of a GitHub Copilot coding agent job. Use this to check if a previously submitted task has completed and to get the pull r…

Get the status of a GitHub Copilot coding agent job. Use this to check if a previously submitted task has completed and to get the pull request URL once it's created. Provide the job ID (from create_pull_request_with_copilot) or pull request number (from assign_copilot_to_issue), or any pull request you want agent sessions for.

ParameterTypeDescription
idstringJob ID or pull request number
repostringRepository name
ownerstringRepository owner
get_copilot_space2 paramsThis tool can be used to provide additional context to the chat from a specific Copilot space. If the user mentions the keyword 'Copilot …

This tool can be used to provide additional context to the chat from a specific Copilot space. If the user mentions the keyword 'Copilot space' with the name and owner of the space, execute this tool. The response includes a table of contents (TOC) listing all documents in the space, followed by the full content of each document. Documents are separated by markers in the format: '--- Document N: path (size) ---'. When searching for specific information, use grep (or equivalent command) to search

ParameterTypeDescription
namestringThe name of the space
ownerstringThe owner of the space
get_dependabot_alert3 paramsGet details of a specific dependabot alert in a GitHub repository.
ParameterTypeDescription
repostringThe name of the repository.
ownerstringThe owner of the repository.
alertNumbernumberThe number of the alert.
get_discussion3 paramsGet a specific discussion by ID
ParameterTypeDescription
repostringRepository name
ownerstringRepository owner
discussionNumbernumberDiscussion Number
get_discussion_comments5 paramsGet comments from a discussion
ParameterTypeDescription
repostringRepository name
afterstringCursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs.
ownerstringRepository owner
perPagenumberResults per page for pagination (min 1, max 100)
discussionNumbernumberDiscussion Number
get_file_contents5 paramsGet the contents of a file or directory from a GitHub repository
ParameterTypeDescription
refstringAccepts optional git refs such as `refs/tags/{tag}`, `refs/heads/{branch}` or `refs/pull/{pr_number}/head`
shastringAccepts optional commit SHA. If specified, it will be used instead of ref
pathstringPath to file/directory
repostringRepository name
ownerstringRepository owner (username or organization)
get_gist1 paramGet gist content of a particular gist, by gist ID
ParameterTypeDescription
gist_idstringThe ID of the gist
get_global_security_advisory1 paramGet a global security advisory
ParameterTypeDescription
ghsaIdstringGitHub Security Advisory ID (format: GHSA-xxxx-xxxx-xxxx).
get_job_logs7 paramsGet logs for GitHub Actions workflow jobs. Use this tool to retrieve logs for a specific job or all failed jobs in a workflow run. For si…

Get logs for GitHub Actions workflow jobs. Use this tool to retrieve logs for a specific job or all failed jobs in a workflow run. For single job logs, provide job_id. For all failed jobs in a run, provide run_id with failed_only=true.

ParameterTypeDescription
repostringRepository name
ownerstringRepository owner
job_idnumberThe unique identifier of the workflow job. Required when getting logs for a single job.
run_idnumberThe unique identifier of the workflow run. Required when failed_only is true to get logs for all failed jobs in the run.
tail_linesnumberNumber of lines to return from the end of the log
failed_onlybooleanWhen true, gets logs for all failed jobs in the workflow run specified by run_id. Requires run_id to be provided.
return_contentbooleanReturns actual log content instead of URLs
get_label3 paramsGet a specific label from a repository.
ParameterTypeDescription
namestringLabel name.
repostringRepository name
ownerstringRepository owner (username or organization name)
get_latest_release2 paramsGet the latest release in a GitHub repository
ParameterTypeDescription
repostringRepository name
ownerstringRepository owner
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 …

Get 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_notification_details1 paramGet detailed information for a specific GitHub notification, always call this tool when the user asks for details about a specific notifi…

Get detailed information for a specific GitHub notification, always call this tool when the user asks for details about a specific notification, if you don't know the ID list notifications first.

ParameterTypeDescription
notificationIDstringThe ID of the notification
get_release_by_tag3 paramsGet a specific release by its tag name in a GitHub repository
ParameterTypeDescription
tagstringTag name (e.g., 'v1.0.0')
repostringRepository name
ownerstringRepository owner
get_repository_tree5 paramsGet the tree structure (files and directories) of a GitHub repository at a specific ref or SHA
ParameterTypeDescription
repostringRepository name
ownerstringRepository owner (username or organization)
tree_shastringThe SHA1 value or ref (branch or tag) name of the tree. Defaults to the repository's default branch
recursivebooleanSetting this parameter to true returns the objects or subtrees referenced by the tree. Default is false
path_filterstringOptional path prefix to filter the tree results (e.g., 'src/' to only show files in the src directory)
get_secret_scanning_alert3 paramsGet details of a specific secret scanning alert in a GitHub repository.
ParameterTypeDescription
repostringThe name of the repository.
ownerstringThe owner of the repository.
alertNumbernumberThe number of the alert.
get_tag3 paramsGet details about a specific git tag in a GitHub repository
ParameterTypeDescription
tagstringTag name
repostringRepository name
ownerstringRepository owner
get_team_members2 paramsGet member usernames of a specific team in an organization. Limited to organizations accessible with current credentials
ParameterTypeDescription
orgstringOrganization login (owner) that contains the team.
team_slugstringTeam slug
get_teams1 paramGet details of the teams the user is a member of. Limited to organizations accessible with current credentials
ParameterTypeDescription
userstringUsername to get teams for. If not provided, uses the authenticated user.
github_support_docs_search1 paramRetrieve documentation relevant to answer GitHub product and support questions. Support topics include: GitHub Actions Workflows, Authent…

Retrieve documentation relevant to answer GitHub product and support questions. Support topics include: GitHub Actions Workflows, Authentication, GitHub Support Inquiries, Pull Request Practices, Repository Maintenance, GitHub Pages, GitHub Packages, GitHub Discussions, Copilot Spaces

ParameterTypeDescription
querystringInput from the user about the question they need answered. This is the latest raw unedited user message. You should ALWAYS leave the user message as it is, you should never modify it.
issue_read6 paramsGet information about a specific issue in a GitHub repository.
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
repostringThe name of the repository
ownerstringThe owner of the repository
methodstringThe read operation to perform on a single issue. Options are: 1. get - Get details of a specific issue. 2. get_comments - Get issue comments. 3. get_sub_issues - Get sub-issues of the issue. 4. get_la
perPagenumberResults per page for pagination (min 1, max 100)
issue_numbernumberThe number of the issue
issue_write12 paramsCreate a new or update an existing issue in a GitHub repository.
ParameterTypeDescription
bodystringIssue body content
repostringRepository name
typestringType of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit
ownerstringRepository owner
statestringNew state
titlestringIssue title
labelsarrayLabels to apply to this issue
methodstringWrite operation to perform on a single issue. Options are: - 'create' - creates a new issue. - 'update' - updates an existing issue.
assigneesarrayUsernames to assign to this issue
milestonenumberMilestone number
duplicate_ofnumberIssue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'.
issue_numbernumberIssue number to update
label_write7 paramsPerform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.
ParameterTypeDescription
namestringLabel name - required for all operations
repostringRepository name
colorstringLabel color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'.
ownerstringRepository owner (username or organization name)
methodstringOperation to perform: 'create', 'update', or 'delete'
new_namestringNew name for the label (used only with 'update' method to rename)
descriptionstringLabel description text. Optional for 'create' and 'update'.
list_branches4 paramsList branches in a GitHub repository
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
repostringRepository name
ownerstringRepository owner
perPagenumberResults per page for pagination (min 1, max 100)
list_code_scanning_alerts6 paramsList code scanning alerts in a GitHub repository.
ParameterTypeDescription
refstringThe Git reference for the results you want to list.
repostringThe name of the repository.
ownerstringThe owner of the repository.
statestringFilter code scanning alerts by state. Defaults to open
severitystringFilter code scanning alerts by severity
tool_namestringThe name of the tool used for code scanning.
list_commits6 paramsGet 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…

Get 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).

ParameterTypeDescription
shastringCommit SHA, branch or tag name to list commits of. If not provided, uses the default branch of the repository. If a commit SHA is provided, will list commits up to that SHA.
pagenumberPage number for pagination (min 1)
repostringRepository name
ownerstringRepository owner
authorstringAuthor username or email address to filter commits by
perPagenumberResults per page for pagination (min 1, max 100)
list_copilot_spacesRetrieves the list of Copilot Spaces accessible to the user, including their names and owners.
list_dependabot_alerts4 paramsList dependabot alerts in a GitHub repository.
ParameterTypeDescription
repostringThe name of the repository.
ownerstringThe owner of the repository.
statestringFilter dependabot alerts by state. Defaults to open
severitystringFilter dependabot alerts by severity
list_discussion_categories2 paramsList discussion categories with their id and name, for a repository or organisation.
ParameterTypeDescription
repostringRepository name. If not provided, discussion categories will be queried at the organisation level.
ownerstringRepository owner
list_discussions7 paramsList discussions for a repository or organisation.
ParameterTypeDescription
repostringRepository name. If not provided, discussions will be queried at the organisation level.
afterstringCursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs.
ownerstringRepository owner
orderBystringOrder discussions by field. If provided, the 'direction' also needs to be provided.
perPagenumberResults per page for pagination (min 1, max 100)
categorystringOptional filter by discussion category ID. If provided, only discussions with this category are listed.
directionstringOrder direction.
list_gists4 paramsList gists for a user
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
sincestringOnly gists updated after this time (ISO 8601 timestamp)
perPagenumberResults per page for pagination (min 1, max 100)
usernamestringGitHub username (omit for authenticated user's gists)
list_global_security_advisories11 paramsList global security advisories from GitHub.
ParameterTypeDescription
cwesarrayFilter by Common Weakness Enumeration IDs (e.g. ["79", "284", "22"]).
typestringAdvisory type.
cveIdstringFilter by CVE ID.
ghsaIdstringFilter by GitHub Security Advisory ID (format: GHSA-xxxx-xxxx-xxxx).
affectsstringFilter advisories by affected package or version (e.g. "package1,package2@1.0.0").
updatedstringFilter by update date or date range (ISO 8601 date or range).
modifiedstringFilter by publish or update date or date range (ISO 8601 date or range).
severitystringFilter by severity.
ecosystemstringFilter by package ecosystem.
publishedstringFilter by publish date or date range (ISO 8601 date or range).
isWithdrawnbooleanWhether to only return withdrawn advisories.
list_issue_types1 paramList supported issue types for repository owner (organization).
ParameterTypeDescription
ownerstringThe organization owner of the repository
list_issues9 paramsList issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.
ParameterTypeDescription
repostringRepository name
afterstringCursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs.
ownerstringRepository owner
sincestringFilter by date (ISO 8601 timestamp)
statestringFilter by state, by default both open and closed issues are returned when not provided
labelsarrayFilter by labels
orderBystringOrder issues by field. If provided, the 'direction' also needs to be provided.
perPagenumberResults per page for pagination (min 1, max 100)
directionstringOrder direction. If provided, the 'orderBy' also needs to be provided.
list_label2 paramsList labels from a repository
ParameterTypeDescription
repostringRepository name - required for all operations
ownerstringRepository owner (username or organization name) - required for all operations
list_notifications7 paramsLists all GitHub notifications for the authenticated user, including unread notifications, mentions, review requests, assignments, and up…

Lists all GitHub notifications for the authenticated user, including unread notifications, mentions, review requests, assignments, and updates on issues or pull requests. Use this tool whenever the user asks what to work on next, requests a summary of their GitHub activity, wants to see pending reviews, or needs to check for new updates or tasks. This tool is the primary way to discover actionable items, reminders, and outstanding work on GitHub. Always call this tool when asked what to work on

ParameterTypeDescription
pagenumberPage number for pagination (min 1)
repostringOptional repository name. If provided with owner, only notifications for this repository are listed.
ownerstringOptional repository owner. If provided with repo, only notifications for this repository are listed.
sincestringOnly show notifications updated after the given time (ISO 8601 format)
beforestringOnly show notifications updated before the given time (ISO 8601 format)
filterstringFilter notifications to, use default unless specified. Read notifications are ones that have already been acknowledged by the user. Participating notifications are those that the user is directly invo
perPagenumberResults per page for pagination (min 1, max 100)
list_org_repository_security_advisories4 paramsList repository security advisories for a GitHub organization.
ParameterTypeDescription
orgstringThe organization login.
sortstringSort field.
statestringFilter by advisory state.
directionstringSort direction.
list_pull_requests9 paramsList pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests to…

List 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.

ParameterTypeDescription
basestringFilter by base branch
headstringFilter by head user/org and branch
pagenumberPage number for pagination (min 1)
repostringRepository name
sortstringSort by
ownerstringRepository owner
statestringFilter by state
perPagenumberResults per page for pagination (min 1, max 100)
directionstringSort direction
list_releases4 paramsList releases in a GitHub repository
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
repostringRepository name
ownerstringRepository owner
perPagenumberResults per page for pagination (min 1, max 100)
list_repository_security_advisories5 paramsList repository security advisories for a GitHub repository.
ParameterTypeDescription
repostringThe name of the repository.
sortstringSort field.
ownerstringThe owner of the repository.
statestringFilter by advisory state.
directionstringSort direction.
list_secret_scanning_alerts5 paramsList secret scanning alerts in a GitHub repository.
ParameterTypeDescription
repostringThe name of the repository.
ownerstringThe owner of the repository.
statestringFilter by state
resolutionstringFilter by resolution
secret_typestringA comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter.
list_starred_repositories5 paramsList starred repositories
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
sortstringHow to sort the results. Can be either 'created' (when the repository was starred) or 'updated' (when the repository was last pushed to).
perPagenumberResults per page for pagination (min 1, max 100)
usernamestringUsername to list starred repositories for. Defaults to the authenticated user.
directionstringThe direction to sort the results by.
list_tags4 paramsList git tags in a GitHub repository
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
repostringRepository name
ownerstringRepository owner
perPagenumberResults per page for pagination (min 1, max 100)
manage_notification_subscription2 paramsManage a notification subscription: ignore, watch, or delete a notification thread subscription.
ParameterTypeDescription
actionstringAction to perform: ignore, watch, or delete the notification subscription.
notificationIDstringThe ID of the notification thread.
manage_repository_notification_subscription3 paramsManage a repository notification subscription: ignore, watch, or delete repository notifications subscription for the provided repository.
ParameterTypeDescription
repostringThe name of the repository.
ownerstringThe account owner of the repository.
actionstringAction to perform: ignore, watch, or delete the repository notification subscription.
mark_all_notifications_read3 paramsMark all notifications as read
ParameterTypeDescription
repostringOptional repository name. If provided with owner, only notifications for this repository are marked as read.
ownerstringOptional repository owner. If provided with repo, only notifications for this repository are marked as read.
lastReadAtstringDescribes the last point that notifications were checked (optional). Default: Now
merge_pull_request6 paramsMerge a pull request in a GitHub repository.
ParameterTypeDescription
repostringRepository name
ownerstringRepository owner
pullNumbernumberPull request number
commit_titlestringTitle for merge commit
merge_methodstringMerge method
commit_messagestringExtra detail for merge commit
projects_get8 paramsGet details about specific GitHub Projects resources. Use this tool to get details about individual projects, project fields, and project…

Get details about specific GitHub Projects resources. Use this tool to get details about individual projects, project fields, and project items by their unique IDs.

ParameterTypeDescription
ownerstringThe owner (user or organization login). The name is not case sensitive.
fieldsarraySpecific list of field IDs to include in the response when getting a project item (e.g. ["102589", "985201", "169875"]). If not provided, only the title field is included. Only used for 'get_project_i
methodstringThe method to execute
item_idnumberThe item's ID. Required for 'get_project_item' method.
field_idnumberThe field's ID. Required for 'get_project_field' method.
owner_typestringOwner type (user or org). If not provided, will be automatically detected.
project_numbernumberThe project's number.
status_update_idstringThe node ID of the project status update. Required for 'get_project_status_update' method.
projects_list9 paramsTools for listing GitHub Projects resources. Use this tool to list projects for a user or organization, or list project fields and items …

Tools for listing GitHub Projects resources. Use this tool to list projects for a user or organization, or list project fields and items for a specific project.

ParameterTypeDescription
afterstringForward pagination cursor from previous pageInfo.nextCursor.
ownerstringThe owner (user or organization login). The name is not case sensitive.
querystringFilter/query string. For list_projects: filter by title text and state (e.g. "roadmap is:open"). For list_project_items: advanced filtering using GitHub's project filtering syntax.
beforestringBackward pagination cursor from previous pageInfo.prevCursor (rare).
fieldsarrayField IDs to include when listing project items (e.g. ["102589", "985201"]). CRITICAL: Always provide to get field values. Without this, only titles returned. Only used for 'list_project_items' method
methodstringThe action to perform
per_pagenumberResults per page (max 50)
owner_typestringOwner type (user or org). If not provided, will automatically try both.
project_numbernumberThe project's number. Required for 'list_project_fields', 'list_project_items', and 'list_project_status_updates' methods.
projects_write12 paramsAdd, update, or delete project items, or create status updates in a GitHub Project.
ParameterTypeDescription
bodystringThe body of the status update (markdown). Used for 'create_project_status_update' method.
ownerstringThe project owner (user or organization login). The name is not case sensitive.
methodstringThe method to execute
statusstringThe status of the project. Used for 'create_project_status_update' method.
item_idnumberThe project item ID. Required for 'update_project_item' and 'delete_project_item' methods.
item_repostringThe name of the repository containing the issue or pull request. Required for 'add_project_item' method.
item_typestringThe item's type, either issue or pull_request. Required for 'add_project_item' method.
item_ownerstringThe owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method.
owner_typestringOwner type (user or org). If not provided, will be automatically detected.
start_datestringThe start date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method.
target_datestringThe target date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method.
issue_numbernumberThe issue number (use when item_type is 'issue' for 'add_project_item' method). Provide either issue_number or pull_request_number.
pull_request_read6 paramsGet information on a specific pull request in GitHub repository.
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
repostringRepository name
ownerstringRepository owner
methodstringAction to specify what pull request data needs to be retrieved from GitHub. Possible options: 1. get - Get details of a specific pull request. 2. get_diff - Get the diff of a pull request. 3. get_stat
perPagenumberResults per page for pagination (min 1, max 100)
pullNumbernumberPull request number
pull_request_review_write7 paramsCreate and/or submit, delete review of a pull request. Available methods: - create: Create a new review of a pull request. If "event" par…

Create 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 e

ParameterTypeDescription
bodystringReview comment text
repostringRepository name
eventstringReview action to perform.
ownerstringRepository owner
methodstringThe write operation to perform on pull request review.
commitIDstringSHA of commit to review
pullNumbernumberPull request number
push_files5 paramsPush multiple files to a GitHub repository in a single commit
ParameterTypeDescription
repostringRepository name
filesarrayArray of file objects to push, each object with path (string) and content (string)
ownerstringRepository owner
branchstringBranch to push to
messagestringCommit message
request_copilot_review3 paramsRequest a GitHub Copilot code review for a pull request. Use this for automated feedback on pull requests, usually before requesting a hu…

Request a GitHub Copilot code review for a pull request. Use this for automated feedback on pull requests, usually before requesting a human reviewer.

ParameterTypeDescription
repostringRepository name
ownerstringRepository owner
pullNumbernumberPull request number
run_secret_scanning3 paramsScan files, content, or recent changes for secrets such as API keys, passwords, tokens, and credentials. This tool is intended for target…

Scan 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. It accepts file contents or diffs 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

ParameterTypeDescription
repostringRepository name
filesarrayArray of file contents, snippets, or diff hunks to scan for secrets. These must be raw contents, not repository file paths.
ownerstringRepository owner
search_code5 paramsFast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, function…

Fast 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.

ParameterTypeDescription
pagenumberPage number for pagination (min 1)
sortstringSort field ('indexed' only)
orderstringSort order for results
querystringSearch query using GitHub's powerful code search syntax. Examples: 'content:Skill language:Java org:github', 'NOT is:archived language:Python OR language:go', 'repo:github/github-mcp-server'. Supports
perPagenumberResults per page for pagination (min 1, max 100)
search_issues7 paramsSearch for issues in GitHub repositories using issues search syntax already scoped to is:issue
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
repostringOptional repository name. If provided with owner, only issues for this repository are listed.
sortstringSort field by number of matches of categories, defaults to best match
orderstringSort order
ownerstringOptional repository owner. If provided with repo, only issues for this repository are listed.
querystringSearch query using GitHub issues search syntax
perPagenumberResults per page for pagination (min 1, max 100)
search_orgs5 paramsFind GitHub organizations by name, location, or other organization metadata. Ideal for discovering companies, open source foundations, or…

Find GitHub organizations by name, location, or other organization metadata. Ideal for discovering companies, open source foundations, or teams.

ParameterTypeDescription
pagenumberPage number for pagination (min 1)
sortstringSort field by category
orderstringSort order
querystringOrganization search query. Examples: 'microsoft', 'location:california', 'created:>=2025-01-01'. Search is automatically scoped to type:org.
perPagenumberResults per page for pagination (min 1, max 100)
search_pull_requests7 paramsSearch for pull requests in GitHub repositories using issues search syntax already scoped to is:pr
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
repostringOptional repository name. If provided with owner, only pull requests for this repository are listed.
sortstringSort field by number of matches of categories, defaults to best match
orderstringSort order
ownerstringOptional repository owner. If provided with repo, only pull requests for this repository are listed.
querystringSearch query using GitHub pull request search syntax
perPagenumberResults per page for pagination (min 1, max 100)
search_repositories6 paramsFind GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or …

Find GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.

ParameterTypeDescription
pagenumberPage number for pagination (min 1)
sortstringSort repositories by field, defaults to best match
orderstringSort order
querystringRepository search query. Examples: 'machine learning in:name stars:>1000 language:python', 'topic:react', 'user:facebook'. Supports advanced search syntax for precise filtering.
perPagenumberResults per page for pagination (min 1, max 100)
minimal_outputbooleanReturn minimal repository information (default: true). When false, returns full GitHub API repository objects.
search_users5 paramsFind GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.
ParameterTypeDescription
pagenumberPage number for pagination (min 1)
sortstringSort users by number of followers or repositories, or when the person joined GitHub.
orderstringSort order
querystringUser search query. Examples: 'john smith', 'location:seattle', 'followers:>100'. Search is automatically scoped to type:user.
perPagenumberResults per page for pagination (min 1, max 100)
star_repository2 paramsStar a GitHub repository
ParameterTypeDescription
repostringRepository name
ownerstringRepository owner

Ready-made

Prompts

  • AssignCodingAgentAssign GitHub Coding Agent to multiple tasks in a GitHub repository.
  • issue_to_fix_workflowCreate an issue for a problem and then generate a pull request to fix it