Github
GitHub is a cloud-based Git repository hosting service that allows developers to store, manage, and track changes to their code.

Supports authentication: OAuth 2.0
Tool list
Section titled “Tool list”github_file_contents_get
Section titled “github_file_contents_get”Get the contents of a file or directory from a GitHub repository. Returns Base64 encoded content for files.
Properties | Description | Type |
---|---|---|
owner | The account owner of the repository | string |
path | The content path (file or directory path in the repository) | string |
ref | The name of the commit/branch/tag | string |
repo | The name of the repository | string |
github_file_create_update
Section titled “github_file_create_update”Create a new file or update an existing file in a GitHub repository. Content must be Base64 encoded. Requires SHA when updating existing files.
Properties | Description | Type |
---|---|---|
author | Author information object with name and email | object |
branch | The branch name | string |
committer | Committer information object with name and email | object |
content | The new file content (Base64 encoded) | string |
message | The commit message for this change | string |
owner | The account owner of the repository | string |
path | The file path in the repository | string |
repo | The name of the repository | string |
sha | The blob SHA of the file being replaced (required when updating existing files) | string |
github_issue_create
Section titled “github_issue_create”Create a new issue in a repository. Requires push access to set assignees, milestones, and labels.
Properties | Description | Type |
---|---|---|
assignees | GitHub usernames to assign to the issue | array<string> |
body | The contents of the issue | string |
labels | Labels to associate with the issue | array<string> |
milestone | Milestone number to associate with the issue | number |
owner | The account owner of the repository | string |
repo | The name of the repository | string |
title | The title of the issue | string |
type | The name of the issue type | string |
github_issues_list
Section titled “github_issues_list”List issues in a repository. Both issues and pull requests are returned as issues in the GitHub API.
Properties | Description | Type |
---|---|---|
assignee | Filter by assigned user | string |
creator | Filter by issue creator | string |
direction | Sort order | string |
labels | Filter by comma-separated list of label names | string |
milestone | Filter by milestone number or state | string |
owner | The account owner of the repository | string |
page | Page number of results to fetch | number |
per_page | Number of results per page (max 100) | number |
repo | The name of the repository | string |
since | Show issues updated after this timestamp (ISO 8601 format) | string |
sort | Property to sort issues by | string |
state | Filter by issue state | string |
github_public_repos_list
Section titled “github_public_repos_list”List public repositories for a specified user. Does not require authentication.
Properties | Description | Type |
---|---|---|
direction | Sort order | string |
page | Page number of results to fetch | number |
per_page | Number of results per page (max 100) | number |
sort | Property to sort repositories by | string |
type | Filter repositories by type | string |
username | The GitHub username to list repositories for | string |
github_pull_request_create
Section titled “github_pull_request_create”Create a new pull request in a repository. Requires write access to the head branch.
Properties | Description | Type |
---|---|---|
base | The name of the branch you want the changes pulled into | string |
body | The contents of the pull request description | string |
draft | Indicates whether the pull request is a draft | boolean |
head | The name of the branch where your changes are implemented (format: user:branch) | string |
maintainer_can_modify | Indicates whether maintainers can modify the pull request | boolean |
owner | The account owner of the repository | string |
repo | The name of the repository | string |
title | The title of the pull request | string |
github_pull_requests_list
Section titled “github_pull_requests_list”List pull requests in a repository with optional filtering by state, head, and base branches.
Properties | Description | Type |
---|---|---|
base | Filter by base branch name | string |
direction | Sort order | string |
head | Filter by head branch (format: user:ref-name) | string |
owner | The account owner of the repository | string |
page | Page number of results to fetch | number |
per_page | Number of results per page (max 100) | number |
repo | The name of the repository | string |
sort | Property to sort pull requests by | string |
state | Filter by pull request state | string |
github_repo_get
Section titled “github_repo_get”Get detailed information about a GitHub repository including metadata, settings, and statistics.
Properties | Description | Type |
---|---|---|
owner | The account owner of the repository (case-insensitive) | string |
repo | The name of the repository without the .git extension (case-insensitive) | string |
github_user_repos_list
Section titled “github_user_repos_list”List repositories for the authenticated user. Requires authentication.
Properties | Description | Type |
---|---|---|
direction | Sort order | string |
page | Page number of results to fetch | number |
per_page | Number of results per page (max 100) | number |
sort | Property to sort repositories by | string |
type | Filter repositories by type | string |