-
Notifications
You must be signed in to change notification settings - Fork 0
Available Tools
GitHub CLI MCP provides access to various GitHub CLI tools through the Model Context Protocol. Here's a comprehensive list of the available tools organized by category.
Lists pull requests in a repository.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
state(optional): State of PRs to list (open, closed, merged, all) -
assignee(optional): Filter by assignee -
author(optional): Filter by author -
label(optional): Filter by label(s) -
limit(optional): Maximum number of items to fetch -
search(optional): Search query
View a specific pull request.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
number(required): Pull request number -
web(optional): Open in the browser -
comments(optional): Show PR comments
Create a new pull request.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
title(optional): Title for the PR -
body(optional): Body content for the PR -
body_file(optional): Path to a file containing the body content -
base(optional): Base branch name -
head(optional): Head branch name -
draft(optional): Create as a draft PR -
reviewer(optional): Reviewer(s) to request
Close a pull request.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
number(required): Pull request number -
comment(optional): Add a closing comment -
delete_branch(optional): Delete the local and remote branch after close
List issues in a repository.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
state(optional): State of issues to list (open, closed, all) -
assignee(optional): Filter by assignee -
author(optional): Filter by author -
label(optional): Filter by label(s) -
limit(optional): Maximum number of items to fetch -
search(optional): Search query -
milestone(optional): Filter by milestone -
project(optional): Filter by project
View a specific issue.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
number(required): Issue number -
web(optional): Open in the browser -
comments(optional): Show issue comments
Create a new issue.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
title(optional): Title for the issue -
body(optional): Body content for the issue -
body_file(optional): Path to a file containing the body content
Close an issue.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
number(required): Issue number -
comment(optional): Add a closing comment
View a repository.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
web(optional): Open in the browser
List repositories.
Parameters:
-
limit(optional): Maximum number of repositories to list -
owner(optional): Filter by owner -
language(optional): Filter by language -
visibility(optional): Filter by visibility (public, private)
View a project.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
number(required): Project number -
web(optional): Open in the browser
List projects.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
limit(optional): Maximum number of projects to list -
format(optional): Format output with a Go template
Create a new project.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
title(required): Title for the project -
body(optional): Description for the project
Edit a project.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
number(required): Project number -
title(optional): New title for the project -
body(optional): New description for the project
List workflows in a repository.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
all(optional): Show all workflows, including disabled ones
View a workflow.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
name(required): Name or ID of the workflow -
yaml(optional): View the workflow YAML file
Run a workflow.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
name(required): Name or ID of the workflow -
ref(optional): Branch or tag name to run the workflow on
Disable a workflow.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
name(required): Name or ID of the workflow
Enable a workflow.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
name(required): Name or ID of the workflow
List releases in a repository.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
limit(optional): Maximum number of releases to fetch
View a release.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
tag(optional): Tag name of the release -
web(optional): Open the release in the browser
Create a new release.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
tag(required): Tag name for the release -
title(optional): Title for the release -
notes(optional): Release notes -
draft(optional): Create as a draft release -
prerelease(optional): Mark as a prerelease
Delete a release.
Parameters:
-
repo(optional): Repository name with owner (e.g., owner/repo) -
tag(required): Tag name of the release to delete -
yes(optional): Skip the confirmation prompt
GitHub CLI MCP - Making GitHub CLI accessible to AI assistants via Model Context Protocol