# GitHub — how to use (mcp.ai)

Connect your GitHub account and use 823 tools for developer tools straight from your AI agent. Connect in one click, no API key needed. GitHub is a code hosting platform for version control and collaboration, offering Git-based repository management, issue tracking, and continuous integration features.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_github?ms=1796396520000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `github_accept_repository_invitation`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/github`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://new.mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/github/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/github/accept/repository/invitation` — Accepts a PENDING repository invitation that has been issued to the authenticated user.
  - body: { invitation_id: integer }
- `POST https://api.mcp.ai/api/github/add/a/repository/collaborator` — Adds a GitHub user as a repository collaborator, or updates their permission if already a collaborator; `permission` applies to organization-owned repositories (personal ones default to 'push' and ign
  - body: { repo: string, owner: string, username: string, permission?: string }
- `POST https://api.mcp.ai/api/github/add/app/access/restrictions` — Adds GitHub Apps to the list of apps allowed to push to a protected branch. The branch must already have protection rules with restrictions enabled. This endpoint only works for organization repositor
  - body: { apps: string[], repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/add/assignees/to/an/issue` — Adds assignees to a GitHub issue. This action only adds users - it does not remove existing assignees. Changes are silently ignored if the authenticated user lacks push access to the repository.
  - body: { repo: string, owner: string, assignees?: string[], issue_number: integer }
- `POST https://api.mcp.ai/api/github/add/email/address/for/authenticated/user` — Adds one or more email addresses (which will be initially unverified) to the authenticated user's GitHub account; use this to associate new emails, noting an email verified for another account will er
  - body: { emails: string[] }
- `POST https://api.mcp.ai/api/github/add/labels/to/an/issue` — Adds labels (provided in the request body) to a repository issue; labels that do not already exist are created.
  - body: { repo: string, owner: string, labels: string[], issue_number: integer }
- `POST https://api.mcp.ai/api/github/add/or/update/team/membership/for/user` — Adds a GitHub user to a team or updates their role (member or maintainer), inviting them to the organization if not already a member; idempotent, returning current details if no change is made.
  - body: { org: string, role?: string, username: string, team_slug: string }
- `POST https://api.mcp.ai/api/github/add/or/update/team/project/permissions` — Adds a classic project to a team or updates the team's permission on it. This endpoint grants or updates permissions for a team on a specific classic project (not Projects V2). The authenticated user 
  - body: { org: string, team_slug: string, permission?: string, project_id: integer }
- `POST https://api.mcp.ai/api/github/add/or/update/team/repository/permissions` — Sets or updates a team's permission level for a repository within an organization; the team must be a member of the organization.
  - body: { org: string, repo: string, owner: string, team_slug: string, permission?: string }
- `POST https://api.mcp.ai/api/github/add/org/runner/labels` — Adds new custom labels to an existing self-hosted runner for an organization; existing labels are not removed, and duplicates are not added.
  - body: { org: string, labels: string[], runner_id: integer }
- `POST https://api.mcp.ai/api/github/add/project/collaborator` — Adds a specified GitHub user as a collaborator to an existing organization project with a given permission level. Note: This endpoint is for organization projects (classic). You must be an organizatio
  - body: { username: string, permission?: string, project_id: integer }
- `POST https://api.mcp.ai/api/github/add/repo/to/org/secret/with/selected/access` — Adds a repository to an existing organization-level GitHub Actions secret that is configured for 'selected' repository access.
  - body: { org: string, secret_name: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/add/repo/to/org/secret/with/selected/visibility` — Grants an existing repository access to an existing organization-level Dependabot secret when the secret's visibility is set to 'selected'; the repository must belong to the organization, and the call
  - body: { org: string, secret_name: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/add/repository/to/app/installation` — Adds a repository to a GitHub App installation, granting the app access; requires authenticated user to have admin rights for the repository and access to the installation.
  - body: { repository_id: integer, installation_id: integer }
- `POST https://api.mcp.ai/api/github/add/runner/labels` — Adds and appends custom labels to a self-hosted repository runner, which must be registered and active.
  - body: { repo: string, owner: string, labels: string[], runner_id: integer }
- `POST https://api.mcp.ai/api/github/add/selected/repository/to/organization/secret` — Adds a repository to an organization secret's access list when the secret's visibility is 'selected'; this operation is idempotent.
  - body: { org: string, secret_name: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/add/selected/repository/to/organization/variable` — Grants a repository access to an organization-level GitHub Actions variable, if that variable's visibility is set to 'selected_repositories'.
  - body: { org: string, name: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/add/selected/repository/to/user/secret` — Grants a specified repository access to an authenticated user's existing Codespaces secret, enabling Codespaces created for that repository to use the secret.
  - body: { secret_name: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/add/social/accounts/for/authenticated/user` — Adds one or more social media links (which must be valid, full URLs for platforms supported by GitHub) to the authenticated user's public GitHub profile.
  - body: { account_urls: string[] }
- `POST https://api.mcp.ai/api/github/add/status/check/contexts` — Adds status check contexts to a protected branch's required status checks. This action appends new status check contexts to the existing list of required status checks for a protected branch. The bran
  - body: { repo: string, owner: string, branch: string, contexts: string[] }
- `POST https://api.mcp.ai/api/github/add/team/access/restrictions` — Adds teams to the list of teams with push access to a protected branch. This action grants additional teams push access to a protected branch. Unlike 'Set team access restrictions' (PUT), this action 
  - body: { repo: string, owner: string, teams: string[], branch: string }
- `POST https://api.mcp.ai/api/github/add/user/access/restrictions` — Adds users to the list of people allowed to push to a protected branch in an organization repository. Important notes: - This action only works on organization-owned repositories (not personal repos) 
  - body: { repo: string, owner: string, users: string[], branch: string }
- `POST https://api.mcp.ai/api/github/add/users/to/codespaces/access/for/organization` — Adds organization members to the list of users granted Codespaces access billed to the organization. IMPORTANT: This endpoint requires the organization's Codespaces billing access to be set to 'select
  - body: { org: string, selected_usernames: string[] }
- `POST https://api.mcp.ai/api/github/api/root` — Retrieves a map of all top-level GitHub REST API resource URLs and their templates.
- `POST https://api.mcp.ai/api/github/approve/workflow/run/for/fork/pull/request` — Approves a workflow run from a forked repository's pull request; call this when such a run requires manual approval due to workflow configuration.
  - body: { repo: string, owner: string, run_id: integer }
- `POST https://api.mcp.ai/api/github/assign/organization/role/to/team` — Assigns an existing organization-level role (identified by `role_id`) to a team (identified by `team_slug`) within a GitHub organization (`org`), provided the organization, team, and role already exis
  - body: { org: string, role_id: integer, team_slug: string }
- `POST https://api.mcp.ai/api/github/assign/organization/role/to/user` — Assigns a specific organization role to a user who is a member or an outside collaborator in a GitHub organization, using a valid role ID.
  - body: { org: string, role_id: integer, username: string }
- `POST https://api.mcp.ai/api/github/auth/user/docker/conflict/packages/list` — List Docker packages with migration conflicts for the authenticated user. This endpoint lists all Docker packages owned by the authenticated user that encountered namespace conflicts during the Docker
- `POST https://api.mcp.ai/api/github/block/user` — Blocks an existing individual GitHub user (not an organization or your own account), preventing them from interacting with your account and repositories.
  - body: { username: string }
- `POST https://api.mcp.ai/api/github/block/user/from/organization` — Blocks a GitHub user from an organization, preventing their contributions, collaboration, and forking of the organization's repositories. Requires admin or 'Blocking users' organization permission (wr
  - body: { org: string, username: string }
- `POST https://api.mcp.ai/api/github/cancel/github/pages/deployment` — Cancels an existing, ongoing or queued GitHub Pages deployment for a repository using its `pages_deployment_id`.
  - body: { repo: string, owner: string, pages_deployment_id: integer }
- `POST https://api.mcp.ai/api/github/cancel/workflow/run` — Cancels a workflow run in a GitHub repository if it is in a cancellable state (e.g., 'in_progress' or 'queued'). Returns 202 Accepted on success.
  - body: { repo: string, owner: string, run_id: integer }
- `POST https://api.mcp.ai/api/github/check/if/gist/is/starred` — Checks if a gist is starred by the authenticated user. Returns `is_starred: true` if the gist is starred (HTTP 204), or `is_starred: false` if not starred (HTTP 404). Use this to verify star status be
  - body: { gist_id: string }
- `POST https://api.mcp.ai/api/github/check/if/pull/request/has/been/merged` — Checks if a specified GitHub pull request has been merged, indicated by a 204 HTTP status (merged) or 404 (not merged/found).
  - body: { repo: string, owner: string, pull_number: integer }
- `POST https://api.mcp.ai/api/github/check/if/user/can/be/assigned` — Verifies if a GitHub user can be assigned to issues in a repository; assignability is confirmed by an HTTP 204 (No Content) response, resulting in an empty 'data' field in the response.
  - body: { repo: string, owner: string, assignee: string }
- `POST https://api.mcp.ai/api/github/check/if/user/can/be/assigned/to/issue` — Checks if a specified GitHub user can be assigned to a given issue within a repository.
  - body: { repo: string, owner: string, assignee: string, issue_number: integer }
- `POST https://api.mcp.ai/api/github/check/if/user/follows/another/user` — Checks if a GitHub user `username` follows `target_user`; returns a 204 HTTP status if true, 404 if not or if users are invalid.
  - body: { username: string, target_user: string }
- `POST https://api.mcp.ai/api/github/check/if/user/is/blocked/by/authenticated/user` — Checks if the specified GitHub user is blocked by the authenticated user; a 204 No Content response indicates the user is blocked, while a 404 Not Found indicates they are not.
  - body: { username: string }
- `POST https://api.mcp.ai/api/github/check/if/user/is/blocked/by/organization` — Checks if a GitHub user is blocked by an organization. Returns is_blocked=True if the user is blocked (HTTP 204), or is_blocked=False if not blocked (HTTP 404). Requires 'Blocking users' organization 
  - body: { org: string, username: string }
- `POST https://api.mcp.ai/api/github/check/if/user/is/repository/collaborator` — Checks if a user is a collaborator on a specified GitHub repository, returning a 204 status if they are, or a 404 status if they are not or if the repository/user does not exist.
  - body: { repo: string, owner: string, username: string }
- `POST https://api.mcp.ai/api/github/check/private/vulnerability/reporting/status` — Checks if private vulnerability reporting is enabled for the specified repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/check/team/permissions/for/a/project` — Checks if a team has 'read', 'write', or 'admin' permissions for an organization's specific classic project, returning the project's details if access is confirmed.
  - body: { org: string, team_slug: string, project_id: integer }
- `POST https://api.mcp.ai/api/github/check/team/permissions/for/a/repository` — Checks a team's permissions for a specific repository within an organization, including permissions inherited from parent teams.
  - body: { org: string, repo: string, owner: string, team_slug: string }
- `POST https://api.mcp.ai/api/github/check/token` — Checks if a GitHub App or OAuth access_token is valid for the specified client_id and retrieves its details, typically to verify its active status and grants. NOTE: This endpoint requires Basic Authen
  - body: { client_id: string, access_token: string }
- `POST https://api.mcp.ai/api/github/clear/repository/cache/by/key` — Deletes GitHub Actions caches from a repository matching a specific `key` and an optional Git `ref`, used to manage storage or clear outdated/corrupted caches; the action succeeds even if no matching 
  - body: { key: string, ref?: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/clear/self/hosted/runner/org/labels` — Removes all custom labels from a self-hosted runner for an organization; default labels (e.g., 'self-hosted', 'linux', 'x64') will remain.
  - body: { org: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/compare/two/commits` — Compares two commit points (commits, branches, tags, or SHAs) within a repository or across forks, using `BASE...HEAD` or `OWNER:REF...OWNER:REF` format for the `basehead` parameter.
  - body: { page?: integer, repo: string, owner: string, basehead: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/configure/oidc/subject/claim/template` — Sets or updates the OIDC subject claim customization template for an existing GitHub organization by specifying which claims (e.g., 'repo', 'actor') form the OIDC token's subject (`sub`). This action 
  - body: { org: string, include_claim_keys: string[] }
- `POST https://api.mcp.ai/api/github/convert/org/member/to/outside/collaborator` — Converts an existing organization member, who is not an owner, to an outside collaborator, restricting their access to explicitly granted repositories.
  - body: { org: string, async?: boolean, username: string }
- `POST https://api.mcp.ai/api/github/create/a/blob` — Creates a Git blob in a repository, requiring content and encoding ('utf-8' or 'base64'). Requires write access to the repository.
  - body: { repo: string, owner: string, content: string, encoding?: string }
- `POST https://api.mcp.ai/api/github/create/a/check/run` — Creates a new check run for a specific commit in a repository, used by external services to report status, detailed feedback, annotations, and images directly within the GitHub UI. NOTE: This endpoint
  - body: { name: string, repo: string, owner: string, status?: string, actions?: object[], head_sha: string, conclusion?: string, started_at?: string, details_url?: string, external_id?: string, completed_at?: string, output__text?: string, output__title?: string, output__images?: object[], output__summary?: string, output__annotations?: object[] }
- `POST https://api.mcp.ai/api/github/create/a/check/suite` — Creates a new check suite for a specific commit (`head_sha`) in an original repository (not a fork). IMPORTANT: This endpoint requires a GitHub App installation access token - OAuth tokens and classic
  - body: { repo: string, owner: string, head_sha: string }
- `POST https://api.mcp.ai/api/github/create/a/codespace/for/the/authenticated/user` — Creates a GitHub Codespace for the authenticated user, requiring a JSON request body with either `repository_id` (integer) or a `pull_request` object (containing `pull_request_number` (integer) and `r
  - body: { ref?: string, pull_request?: object, repository_id?: integer }
- `POST https://api.mcp.ai/api/github/create/a/codespace/from/a/pull/request` — Creates a GitHub Codespace for an open pull request in a Codespaces-enabled repository, with options to customize its configuration.
  - body: { geo?: string, repo: string, owner: string, machine?: string, location?: string, client_ip?: string, pull_number: integer, display_name?: string, devcontainer_path?: string, working_directory?: string, idle_timeout_minutes?: integer, retention_period_minutes?: integer, multi_repo_permissions_opt_out?: boolean }
- `POST https://api.mcp.ai/api/github/create/a/codespace/in/a/repository` — Creates a GitHub Codespace for the authenticated user in a specified repository, which must be accessible and use a valid `devcontainer.json` if `devcontainer_path` is specified.
  - body: { geo?: string, ref?: string, repo: string, owner: string, machine?: string, location?: string, client_ip?: string, display_name?: string, devcontainer_path?: string, working_directory?: string, idle_timeout_minutes?: integer, retention_period_minutes?: integer, multi_repo_permissions_opt_out?: boolean }
- `POST https://api.mcp.ai/api/github/create/a/commit` — Creates a new commit in a GitHub repository; the `tree` SHA and any `parents` SHAs must already exist in the repository.
  - body: { repo: string, tree: string, owner: string, message: string, parents?: string[], signature?: string, author__date?: string, author__name?: string, author__email?: string, committer__date?: string, committer__name?: string, committer__email?: string }
- `POST https://api.mcp.ai/api/github/create/a/commit/comment` — Creates a comment on a specific commit, or on a specific line if `path` and `position` are provided.
  - body: { body: string, line?: integer, path?: string, repo: string, owner: string, position?: integer, commit_sha: string }
- `POST https://api.mcp.ai/api/github/create/a/commit/status` — Sets a commit's status (e.g., error, failure, pending, success from CI/CD) for a given SHA; max 1000 statuses per SHA/context.
  - body: { sha: string, repo: string, owner: string, state: string, context?: string, target_url?: string, description?: string }
- `POST https://api.mcp.ai/api/github/create/a/custom/organization/role` — Creates a custom role with defined permissions within a GitHub organization.
  - body: { org: string, name: string, description?: string, permissions: string[] }
- `POST https://api.mcp.ai/api/github/create/a/deploy/key` — Creates a deploy key for a repository; the repository must exist and be accessible, and the provided key must be a valid public SSH key.
  - body: { key: string, repo: string, owner: string, title?: string, read_only?: boolean }
- `POST https://api.mcp.ai/api/github/create/a/deployment` — Creates a GitHub deployment for an existing repository, targeting a specific ref (branch, tag, or SHA) that must also exist within the repository.
  - body: { ref: string, repo: string, task?: string, owner: string, payload?: string, auto_merge?: boolean, description?: string, environment?: string, required_contexts?: string[], transient_environment?: boolean, production_environment?: boolean }
- `POST https://api.mcp.ai/api/github/create/a/deployment/branch/policy` — Creates a deployment branch or tag policy for an existing environment in a GitHub repository, using a Ruby File.fnmatch pattern (where `*` doesn't match `/`) to specify which branches or tags are depl
  - body: { name: string, repo: string, type?: string, owner: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/create/a/deployment/status` — Creates a status for an existing deployment, updating its operational state, associated URLs, and description.
  - body: { repo: string, owner: string, state: string, log_url?: string, target_url?: string, description?: string, environment?: string, auto_inactive?: boolean, deployment_id: integer, environment_url?: string }
- `POST https://api.mcp.ai/api/github/create/a/discussion` — Creates a new discussion post on a specific team's page within an organization.
  - body: { org: string, body: string, title: string, private?: boolean, team_slug: string }
- `POST https://api.mcp.ai/api/github/create/a/discussion/comment` — Creates a new comment on an existing team discussion within a GitHub organization.
  - body: { org: string, body: string, team_slug: string, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/create/a/fork` — Creates a fork of an accessible repository, optionally into a specific organization, with a new name, or copying only the default branch.
  - body: { name?: string, repo: string, owner: string, organization?: string, default_branch_only?: boolean }
- `POST https://api.mcp.ai/api/github/create/a/gist` — Creates a new gist on GitHub with provided files, an optional description, and public/secret visibility.
  - body: { files: string, public?: boolean, description?: string }
- `POST https://api.mcp.ai/api/github/create/a/gist/comment` — Creates a new comment on a specified GitHub gist.
  - body: { body: string, gist_id: string }
- `POST https://api.mcp.ai/api/github/create/a/github/app/from/a/manifest` — Use this action to complete the GitHub App Manifest flow (step 3 of 3) by exchanging the temporary authorization `code` for the app's full configuration, including credentials and private key. The cod
  - body: { code: string }
- `POST https://api.mcp.ai/api/github/create/a/github/pages/deployment` — Creates a GitHub Pages deployment for a repository using a specified artifact and OIDC token, provided GitHub Pages is enabled and the artifact (containing static assets) is accessible.
  - body: { repo: string, owner: string, oidc_token: string, artifact_id?: integer, environment?: string, artifact_url?: string, pages_build_version?: string }
- `POST https://api.mcp.ai/api/github/create/a/github/pages/site` — Configures or updates GitHub Pages for a repository, setting build type and source; ensure a Pages workflow exists for 'workflow' `build_type`, or `source_branch` exists for 'legacy' or unspecified `b
  - body: { repo: string, owner: string, build_type?: string, source__path?: string, source__branch?: string }
- `POST https://api.mcp.ai/api/github/create/a/label` — Creates a new label in a specified GitHub repository, provided the repository exists and the user has write permissions.
  - body: { name: string, repo: string, color: string, owner: string, description?: string }
- `POST https://api.mcp.ai/api/github/create/a/milestone` — Creates a milestone in a GitHub repository for tracking progress on issues or pull requests; requires repository existence and user write permissions.
  - body: { repo: string, owner: string, state?: string, title: string, due_on?: string, description?: string }
- `POST https://api.mcp.ai/api/github/create/a/project/card` — Creates a project card in a GitHub project column (classic projects only). DEPRECATION NOTICE: GitHub Projects (classic) was sunset on August 23, 2024. This API only works with existing classic projec
  - body: { note?: string, column_id: integer, content_id?: integer, content_type?: string }
- `POST https://api.mcp.ai/api/github/create/a/project/column` — Creates a new column in a GitHub project (classic). DEPRECATION NOTICE: GitHub Classic Projects (V1) and its REST API were sunset on April 1, 2025. This action will return a 404 error on GitHub.com. F
  - body: { name: string, project_id: integer }
- `POST https://api.mcp.ai/api/github/create/a/pull/request` — Creates a pull request in a GitHub repository, requiring existing `base` and `head` branches; `title` or `issue` must be provided.
  - body: { base: string, body?: string, head: string, repo: string, draft?: boolean, issue?: integer, owner: string, title?: string, head_repo?: string, maintainer_can_modify?: boolean }
- `POST https://api.mcp.ai/api/github/create/a/reference` — Creates a NEW Git reference (branch or tag) in a repository. IMPORTANT: This action ONLY creates NEW references - if the reference already exists, it will fail with a 422 'Reference already exists' er
  - body: { ref: string, sha: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/create/a/registration/token/for/a/repository` — Generates a time-limited token required to register a new self-hosted runner with a specific repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/create/a/registration/token/for/an/organization` — Generates a temporary (one-hour) registration token to add a new self-hosted runner to an organization for GitHub Actions.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/create/a/release` — Creates a release in a GitHub repository for a specified tag; the tag must be unique for published releases, and if a `discussion_category_name` is given, it must already exist.
  - body: { body?: string, name?: string, repo: string, draft?: boolean, owner: string, tag_name: string, prerelease?: boolean, make_latest?: string, target_commitish?: string, generate_release_notes?: boolean, discussion_category_name?: string }
- `POST https://api.mcp.ai/api/github/create/a/remove/token/for/a/repository` — Generates a temporary (one-hour validity) token required to unregister and remove a self-hosted runner from a repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/create/a/remove/token/for/an/organization` — Generates a token, valid for one hour, to authenticate removing a self-hosted runner from an organization.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/create/a/reply/for/a/review/comment` — Posts a reply to a specific review comment on a GitHub pull request, requiring the repository, pull request, and original comment to exist, and a non-empty reply body.
  - body: { body: string, repo: string, owner: string, comment_id: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/create/a/repository/dispatch/event` — Triggers a GitHub Actions workflow or a webhook on a repository by creating a repository dispatch event, allowing programmatic triggering of workflows based on events outside of GitHub.
  - body: { repo: string, owner: string, event_type: string, client_payload?: string }
- `POST https://api.mcp.ai/api/github/create/a/repository/for/the/authenticated/user` — Creates a new repository for the authenticated user, optionally within an organization if `team_id` is specified.
  - body: { name: string, private?: boolean, team_id?: integer, has_wiki?: boolean, homepage?: string, auto_init?: boolean, has_issues?: boolean, description?: string, is_template?: boolean, has_projects?: boolean, has_downloads?: boolean, has_discussions?: boolean, allow_auto_merge?: boolean, license_template?: string, allow_merge_commit?: boolean, allow_rebase_merge?: boolean, allow_squash_merge?: boolean, gitignore_template?: string, merge_commit_title?: string, merge_commit_message?: string, delete_branch_on_merge?: boolean, squash_merge_commit_title?: string, squash_merge_commit_message?: string }
- `POST https://api.mcp.ai/api/github/create/a/repository/from/an/unpublished/codespace` — Publishes the specified codespace to a new repository, using the codespace's current state as the initial commit.
  - body: { name?: string, private?: boolean, codespace_name: string }
- `POST https://api.mcp.ai/api/github/create/a/repository/project` — Creates a new GitHub Projects V2 project board linked to a specified repository. Note: This action uses GitHub's Projects V2 GraphQL API. The legacy Projects V1 REST API has been sunset by GitHub. The
  - body: { body?: string, name: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/create/a/repository/ruleset` — Creates a uniquely named ruleset for a repository, defining rules for branches or tags with specified enforcement, conditions, and bypass actors.
  - body: { name: string, repo: string, owner: string, rules?: string, target?: string, enforcement: string, bypass_actors?: string, conditions__ref__name__exclude?: string[], conditions__ref__name__include?: string[] }
- `POST https://api.mcp.ai/api/github/create/a/repository/using/a/template` — Creates a new repository from an existing template repository; the authenticated user must have access to the template and, if creating in an organization, repository creation permissions within it.
  - body: { name: string, owner?: string, private?: boolean, description?: string, template_repo: string, template_owner: string, include_all_branches?: boolean }
- `POST https://api.mcp.ai/api/github/create/a/repository/variable` — Creates a new, unencrypted variable in a repository for GitHub Actions workflows; fails if a variable with the same name already exists.
  - body: { name: string, repo: string, owner: string, value: string }
- `POST https://api.mcp.ai/api/github/create/a/repository/webhook` — Creates a webhook for a specified repository; requires admin permissions on the repository.
  - body: { name?: string, repo: string, owner: string, active?: boolean, events?: string[], config__url?: string, config__secret?: string, config__content__type?: string, config__insecure__ssl?: string }
- `POST https://api.mcp.ai/api/github/create/a/review/comment/for/a/pull/request` — Creates a review comment on a pull request's diff, targeting a specific line, range of lines, an entire file, or replying to an existing comment.
  - body: { body: string, line?: integer, path: string, repo: string, side?: string, owner: string, position?: integer, commit_id: string, start_line?: integer, start_side?: string, in_reply_to?: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/create/a/review/for/a/pull/request` — Creates a pull request review, allowing approval, change requests, or comments; `body` is required if `event` is `REQUEST_CHANGES` or `COMMENT`, and omitting `event` makes the review `PENDING`.
  - body: { body?: string, repo: string, event?: string, owner: string, comments?: object[], commit_id?: string, pull_number: integer }
- `POST https://api.mcp.ai/api/github/create/a/scoped/access/token` — Exchanges a user-to-server token for a new, fine-grained scoped access token for a GitHub App, requiring `client_id`, `access_token`, either `target` or `target_id`, and at least one permission; for r
  - body: { target?: string, client_id: string, target_id?: integer, access_token: string, repositories?: string[], repository_ids?: integer[], permissions__pages?: string, permissions__checks?: string, permissions__issues?: string, permissions__actions?: string, permissions__members?: string, permissions__profile?: string, permissions__secrets?: string, permissions__contents?: string, permissions__metadata?: string, permissions__packages?: string, permissions__starring?: string, permissions__statuses?: string, permissions__followers?: string, permissions__gpg__keys?: string, permissions__workflows?: string, permissions__codespaces?: string, permissions__deployments?: string, permissions__environments?: string, permissions__single__file?: string, permissions__administration?: string, permissions__git__ssh__keys?: string, permissions__pull__requests?: string, permissions__email__addresses?: string, permissions__security__events?: string, permissions__repository__hooks?: string, permissions__team__discussions?: string, permissions__organization__plan?: string, permissions__dependabot__secrets?: string, permissions__interaction__limits?: string, permissions__organization__hooks?: string, permissions__organization__events?: string, permissions__repository__projects?: string, permissions__organization__secrets?: string, permissions__vulnerability__alerts?: string, permissions__organization__packages?: string, permissions__organization__projects?: string, permissions__secret__scanning__alerts?: string, permissions__organization__custom__roles?: string, permissions__organization__administration?: string, permissions__organization__user__blocking?: string, permissions__repository__custom__properties?: string, permissions__organization__custom__org__roles?: string, permissions__organization__custom__properties?: string, permissions__organization__announcement__banners?: string, permissions__organization__self__hosted__runners?: string, permissions__organization__personal__access__tokens?: string, permissions__organization__copilot__seat__management?: string, permissions__organization__personal__access__token__requests?: string }
- `POST https://api.mcp.ai/api/github/create/a/snapshot/of/dependencies/for/a/repository` — Creates a snapshot of a repository's dependencies to populate the GitHub dependency graph and enable security alerts; `sha` must be a 40-character commit ID, `ref` a fully qualified Git reference (e.g
  - body: { ref: string, sha: string, repo: string, owner: string, job__id?: string, scanned: string, version: integer, metadata?: string, manifests?: string, detector__url?: string, detector__name?: string, job__html__url?: string, job__correlator?: string, detector__version?: string }
- `POST https://api.mcp.ai/api/github/create/a/tag/object` — Creates an annotated Git tag object in a repository, pointing to an existing Git object (commit, tree, or blob) defined by its SHA and ensuring the `type` field correctly specifies the object's type.
  - body: { tag: string, repo: string, type: string, owner: string, object: string, message: string, tagger__date?: string, tagger__name?: string, tagger__email?: string }
- `POST https://api.mcp.ai/api/github/create/a/tag/protection/state/for/a/repository` — DEPRECATED: This API was sunset on August 30, 2024. Use GITHUB_CREATE_A_REPOSITORY_RULESET instead to create tag protection rules via repository rulesets.
  - body: { repo: string, owner: string, pattern: string }
- `POST https://api.mcp.ai/api/github/create/a/team` — Creates a new team in an organization, optionally with maintainers, repositories, specific privacy, notification settings, or a parent team; if `parent_team_id` is given, `privacy` must be 'closed'.
  - body: { org: string, name: string, privacy?: string, permission?: string, repo_names?: string[], description?: string, maintainers?: string[], parent_team_id?: integer, notification_setting?: string }
- `POST https://api.mcp.ai/api/github/create/a/temporary/private/fork` — Creates a temporary private fork of the specified repository to address a security vulnerability, linking the fork to a GHSA ID that must be specifically associated with this repository; the fork may 
  - body: { repo: string, owner: string, ghsa_id: string }
- `POST https://api.mcp.ai/api/github/create/a/tree` — Creates a new Git tree object in a repository, defining file/directory structure by specifying tree entries, optionally building on a `base_tree` SHA; all provided SHAs must be valid.
  - body: { repo: string, tree: object[], owner: string, base_tree?: string }
- `POST https://api.mcp.ai/api/github/create/a/user/project` — Creates a new GitHub Projects V2 project board for the authenticated user to organize and track issues, pull requests, and notes. Note: This action uses GitHub's Projects V2 GraphQL API. The legacy Pr
  - body: { body?: string, name: string }
- `POST https://api.mcp.ai/api/github/create/a/workflow/dispatch/event` — Manually triggers a GitHub Actions workflow identified by `workflow_id` at a given `ref`, if the workflow is configured to accept `workflow_dispatch` events.
  - body: { ref: string, repo: string, owner: string, inputs?: string, workflow_id: integer|string }
- `POST https://api.mcp.ai/api/github/create/an/autolink/reference/for/a/repository` — Creates a repository autolink to automatically convert text references (e.g., 'TICKET-123') into hyperlinks, using a unique `key_prefix` and a `url_template` that includes `<num>`.
  - body: { repo: string, owner: string, key_prefix: string, url_template: string, is_alphanumeric?: boolean }
- `POST https://api.mcp.ai/api/github/create/an/environment/variable` — Creates an encrypted environment variable for a pre-existing environment within a GitHub repository; will fail if the variable name already exists.
  - body: { name: string, repo: string, owner: string, value: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/create/an/issue` — Creates a new issue in a GitHub repository, requiring the repository to exist and have issues enabled; specific fields like assignees, milestone, or labels may require push access.
  - body: { body?: string, repo: string, owner: string, title: string, labels?: string[], assignee?: string, assignees?: string[], milestone?: string }
- `POST https://api.mcp.ai/api/github/create/an/issue/comment` — Creates a new comment on an existing GitHub issue or pull request within the specified repository.
  - body: { body: string, repo: string, owner: string, issue_number: integer }
- `POST https://api.mcp.ai/api/github/create/an/organization/project` — Creates a new classic project board within a specified GitHub organization. Note: This action uses GitHub's Projects (classic) REST API. The classic projects feature may be disabled in some organizati
  - body: { org: string, body?: string, name: string }
- `POST https://api.mcp.ai/api/github/create/an/organization/repository` — Creates a new repository within a specified GitHub organization, with options for detailed configuration including visibility, features, merge strategies, initial commit, and templates.
  - body: { org: string, name: string, private?: boolean, team_id?: integer, has_wiki?: boolean, homepage?: string, auto_init?: boolean, has_issues?: boolean, visibility?: string, description?: string, is_template?: boolean, has_projects?: boolean, has_downloads?: boolean, allow_auto_merge?: boolean, license_template?: string, custom_properties?: string, allow_merge_commit?: boolean, allow_rebase_merge?: boolean, allow_squash_merge?: boolean, gitignore_template?: string, merge_commit_title?: string, merge_commit_message?: string, delete_branch_on_merge?: boolean, squash_merge_commit_title?: string, squash_merge_commit_message?: string, use_squash_pr_title_as_default?: boolean }
- `POST https://api.mcp.ai/api/github/create/an/organization/variable` — Creates a new, uniquely named GitHub Actions variable for an organization, with configurable repository access visibility (all, private, or selected).
  - body: { org: string, name: string, value: string, visibility: string, selected_repository_ids?: integer[] }
- `POST https://api.mcp.ai/api/github/create/an/organization/webhook` — Creates a webhook for a GitHub organization to deliver event notifications to a configured URL.
  - body: { org: string, name?: string, active?: boolean, events?: string[], config__url: string, config__secret?: string, config__password?: string, config__username?: string, config__content__type?: string, config__insecure__ssl?: string }
- `POST https://api.mcp.ai/api/github/create/commit/signature/protection` — Enables commit signature protection for a specified branch, requiring all new commits to be signed.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/create/deployment/protection/rule` — Enables a custom deployment protection rule for an existing environment in a repository by linking a configured GitHub App (via `integration_id`) to control deployments.
  - body: { repo: string, owner: string, integration_id?: integer, environment_name: string }
- `POST https://api.mcp.ai/api/github/create/jit/runner/config` — Generates a temporary Just-In-Time (JIT) configuration for a new self-hosted GitHub Actions runner for a repository; any specified non-default `runner_group_id` must be an existing runner group access
  - body: { name: string, repo: string, owner: string, labels: string[], work_folder?: string, runner_group_id: integer }
- `POST https://api.mcp.ai/api/github/create/or/update/a/repository/secret` — Creates or updates a GitHub Actions secret within a specific repository; use `encrypted_value` and `key_id` to set or change its value.
  - body: { repo: string, owner: string, key_id?: string, secret_name: string, encrypted_value?: string }
- `POST https://api.mcp.ai/api/github/create/or/update/a/secret/for/the/authenticated/user` — Creates or updates a Codespaces secret for the authenticated user; `encrypted_value` must be encrypted with the public key (ID: `key_id`) from GitHub's 'Get public key for the authenticated user' endp
  - body: { key_id?: string, secret_name: string, secret_value?: string, encrypted_value?: string, selected_repository_ids?: integer[] }
- `POST https://api.mcp.ai/api/github/create/or/update/an/environment` — Creates a new environment or updates an existing one in a GitHub repository, allowing configuration of deployment protection rules such as wait timers and reviewers; ensure `environment_name` is URL-e
  - body: { repo: string, owner: string, reviewers?: string, wait_timer?: integer, environment_name: string, prevent_self_review?: boolean, deployment__branch__policy__protected__branches?: boolean, deployment__branch__policy__custom__branch__policies?: boolean }
- `POST https://api.mcp.ai/api/github/create/or/update/an/environment/secret` — Creates or updates an environment secret with an `encrypted_value` that was encrypted using the public key identified by `key_id` for the specified environment.
  - body: { repo: string, owner: string, key_id: string, secret_name: string, encrypted_value: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/create/or/update/an/organization/secret` — Creates or updates an organization secret for GitHub Actions, requiring its value to be pre-encrypted via LibSodium using the organization's public key.
  - body: { org: string, key_id: string, visibility: string, secret_name: string, encrypted_value: string, selected_repository_ids?: integer[] }
- `POST https://api.mcp.ai/api/github/create/or/update/custom/properties/for/an/org` — Creates new custom property schemas or updates existing ones in bulk for a specified organization; each property definition must include `property_name` and `value_type`.
  - body: { org: string, properties: string }
- `POST https://api.mcp.ai/api/github/create/or/update/custom/property/org` — Creates a new custom property (name must be unique for creation) or updates an existing one for an organization to define metadata for its repositories.
  - body: { org: string, required?: boolean, value_type: string, description?: string, default_value?: string|string[], allowed_values?: string[], values_editable_by?: string, custom_property_name: string }
- `POST https://api.mcp.ai/api/github/create/or/update/file/contents` — Creates a new file or updates an existing file in a GitHub repository; SHA can be provided to validate file updates, automatically fetched if not provided.
  - body: { sha?: string, path: string, repo: string, owner: string, branch?: string, content: string, message: string, author__date?: string, author__name?: string, author__email?: string, committer__date?: string, committer__name?: string, committer__email?: string }
- `POST https://api.mcp.ai/api/github/create/or/update/repo/secret/with/encrypted/value` — Creates or updates a Dependabot secret in a repository using an `encrypted_value` (pre-encrypted with LibSodium using the repository's Dependabot public key) and its corresponding `key_id`. This actio
  - body: { repo: string, owner: string, key_id?: string, secret_name: string, encrypted_value?: string }
- `POST https://api.mcp.ai/api/github/create/reaction/for/a/commit/comment` — Creates an emoji reaction for a commit comment; if the user has already reacted with the same content, details of the existing reaction are returned.
  - body: { repo: string, owner: string, content: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/create/reaction/for/a/pull/request/review/comment` — Adds a specified reaction to a pull request review comment within a GitHub repository.
  - body: { repo: string, owner: string, content: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/create/reaction/for/a/release` — Creates an emoji reaction for a specific, existing release in a GitHub repository.
  - body: { repo: string, owner: string, content: string, release_id: integer }
- `POST https://api.mcp.ai/api/github/create/reaction/for/a/team/discussion` — Creates a reaction for a team discussion within a GitHub organization.
  - body: { org: string, content: string, team_slug: string, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/create/reaction/for/a/team/discussion/comment` — Adds a reaction to a team discussion comment, requiring the specified organization, team, discussion, and comment to exist.
  - body: { org: string, content: string, team_slug: string, comment_number: integer, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/create/reaction/for/an/issue` — Creates a reaction for a specified issue within a GitHub repository.
  - body: { repo: string, owner: string, content: string, issue_number: integer }
- `POST https://api.mcp.ai/api/github/create/reaction/for/an/issue/comment` — Creates a reaction for a specific comment on an issue within a GitHub repository.
  - body: { repo: string, owner: string, content: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/create/update/org/secret/with/lib/sodium` — Creates or updates a Dependabot organization secret, requiring the secret value to be pre-encrypted with LibSodium using the organization's public key obtained from the 'Get an organization public key
  - body: { org: string, key_id?: string, visibility: string, secret_name: string, encrypted_value?: string, selected_repository_ids?: integer[] }
- `POST https://api.mcp.ai/api/github/decline/a/repository/invitation` — Declines a specific, pending repository invitation for the authenticated user, identified by its `invitation_id`.
  - body: { invitation_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/file` — Deletes a file by path from a GitHub repository. The file's blob SHA is automatically fetched if not provided.
  - body: { sha?: string, path: string, repo: string, owner: string, branch?: string, message: string, author__name?: string, author__email?: string, committer__name?: string, committer__email?: string }
- `POST https://api.mcp.ai/api/github/delete/a/package/version/for/the/authenticated/user` — Deletes an existing package version associated with the authenticated user.
  - body: { package_name: string, package_type: string, package_version_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/reference` — Deletes a Git reference from a repository; 'ref' must be fully qualified (e.g., 'refs/heads/branch' or 'refs/tags/tag').
  - body: { ref: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/delete/a/release` — Permanently deletes a specific release, its assets, and potentially its associated Git tag from a repository.
  - body: { repo: string, owner: string, release_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/release/asset` — Deletes a specific release asset from a GitHub repository; this action is idempotent.
  - body: { repo: string, owner: string, asset_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/release/reaction` — Deletes a reaction from a GitHub release, provided the repository, release, and reaction exist.
  - body: { repo: string, owner: string, release_id: integer, reaction_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/repository` — Permanently deletes the specified repository; this is a destructive, irreversible action that requires admin privileges for the repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/delete/a/repository/invitation` — Deletes an active repository invitation, permanently revoking a user's access to collaborate on the specified repository.
  - body: { repo: string, owner: string, invitation_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/repository/ruleset` — Permanently deletes a repository ruleset.
  - body: { repo: string, owner: string, ruleset_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/repository/secret` — Deletes a named GitHub Actions secret from a specified repository; this operation is destructive and idempotent, and requires the repository to exist.
  - body: { repo: string, owner: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/delete/a/repository/subscription` — Deletes the authenticated user's subscription to a specified repository if it exists, effectively 'unwatching' it.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/delete/a/repository/variable` — Deletes a named variable (e.g., for GitHub Actions workflows) from a repository; the repository and the variable must already exist.
  - body: { name: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/delete/a/repository/webhook` — Deletes a specific webhook from a repository.
  - body: { repo: string, owner: string, hook_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/review/comment/for/a/pull/request` — Deletes a specific pull request review comment.
  - body: { repo: string, owner: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/secret/for/the/authenticated/user` — Deletes an existing Codespaces secret for the authenticated user by `secret_name`. This is a destructive and irreversible operation. Returns 404 if the secret does not exist.
  - body: { secret_name: string }
- `POST https://api.mcp.ai/api/github/delete/a/self/hosted/runner/from/a/repository` — Removes a specific self-hosted runner (by `runner_id`) from a repository, if registered there; this is idempotent.
  - body: { repo: string, owner: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/self/hosted/runner/from/an/organization` — Forces the removal of a self-hosted runner from a GitHub organization. This endpoint can be used to completely remove the runner when the machine you were using no longer exists. The runner will be im
  - body: { org: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/tag/protection/state/for/a/repository` — DEPRECATED: This API was sunset on August 30, 2024. Use GITHUB_DELETE_A_REPOSITORY_RULESET instead to manage tag protection rules via repository rulesets.
  - body: { repo: string, owner: string, tag_protection_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/team` — Deletes a team (and any child teams) from an organization.
  - body: { org: string, team_slug: string }
- `POST https://api.mcp.ai/api/github/delete/a/thread/subscription` — Call this to mute a specific notification thread by deleting the user's subscription; notifications may still occur if the user is @mentioned, comments, or due to repository watch settings.
  - body: { thread_id: integer }
- `POST https://api.mcp.ai/api/github/delete/a/workflow/run` — Deletes a specific workflow run from a repository.
  - body: { repo: string, owner: string, run_id: integer }
- `POST https://api.mcp.ai/api/github/delete/access/restrictions` — Removes all user, team, and app-based access restrictions from a protected branch.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/delete/admin/branch/protection` — Removes admin enforcement from a protected branch (branch name cannot contain wildcard characters) in a repository.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/delete/app/authorization` — Deletes an OAuth application grant for a user, which revokes ALL OAuth tokens and their associated authorizations for the application. This endpoint is only accessible to OAuth App owners and requires
  - body: { client_id: string, access_token: string }
- `POST https://api.mcp.ai/api/github/delete/app/token` — Revokes a single OAuth access token for an OAuth App or GitHub App with OAuth authorization. IMPORTANT: This endpoint requires Basic Authentication using the OAuth App's client_id as username and clie
  - body: { client_id: string, access_token: string }
- `POST https://api.mcp.ai/api/github/delete/artifact` — Deletes a GitHub artifact by its ID within a repository, typically resulting in an empty response (HTTP 204 No Content) on success.
  - body: { repo: string, owner: string, artifact_id: integer }
- `POST https://api.mcp.ai/api/github/delete/autolink/reference` — Deletes a specific autolink reference (which automatically links external resource IDs like JIRA-123 to URLs) from the specified repository.
  - body: { repo: string, owner: string, autolink_id: integer }
- `POST https://api.mcp.ai/api/github/delete/branch/protection` — Removes all protection rules from a specific branch in a GitHub repository; the branch must currently have protection rules enabled.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/delete/code/scanning/analysis` — Deletes a specific code scanning analysis by its ID from a repository; `confirm_delete` must be `true` if it's the last analysis of its type for a given tool and reference to prevent data loss.
  - body: { repo: string, owner: string, analysis_id: integer, confirm_delete?: string }
- `POST https://api.mcp.ai/api/github/delete/codespace` — Deletes a specific codespace owned by the authenticated user; this is a destructive action and the codespace must exist.
  - body: { codespace_name: string }
- `POST https://api.mcp.ai/api/github/delete/commit/comment` — Deletes a specific commit comment, identified by its `comment_id`, from the specified repository; the comment must exist.
  - body: { repo: string, owner: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/delete/commit/comment/reaction` — Deletes a reaction from a commit comment in a GitHub repository.
  - body: { repo: string, owner: string, comment_id: integer, reaction_id: integer }
- `POST https://api.mcp.ai/api/github/delete/commit/signature/protection` — Disables GPG commit signature protection for a specific branch in a GitHub repository, meaning commits pushed to this branch no longer require GPG signing.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/delete/custom/organization/role` — Deletes a custom organization role (which should not be actively assigned) by its ID; a 204 No Content response indicates success.
  - body: { org: string, role_id: integer }
- `POST https://api.mcp.ai/api/github/delete/dependebot/secret/by/name` — Deletes a specific Dependabot secret, identified by its name, from a given repository if both the repository and secret exist.
  - body: { repo: string, owner: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/delete/deploy/key` — Deletes a specific deploy key from a repository; to change a key's properties or access scope, the existing key must be deleted and a new one created.
  - body: { repo: string, owner: string, key_id: integer }
- `POST https://api.mcp.ai/api/github/delete/deployment` — Permanently deletes a specified *inactive* deployment from a repository.
  - body: { repo: string, owner: string, deployment_id: integer }
- `POST https://api.mcp.ai/api/github/delete/deployment/branch/policy` — Deletes a specific deployment branch or tag policy, identified by its ID, from a given environment within a repository.
  - body: { repo: string, owner: string, branch_policy_id: integer, environment_name: string }
- `POST https://api.mcp.ai/api/github/delete/discussion` — Deletes a specific team discussion, identified by its number, from an organization's team.
  - body: { org: string, team_slug: string, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/delete/discussion/comment` — Deletes a specific comment from an existing team discussion within an organization, provided the specified organization, team, discussion, and comment all exist.
  - body: { org: string, team_slug: string, comment_number: integer, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/delete/email/address` — Sends an empty request body to `DELETE /user/emails` to attempt deletion of user email addresses; the API typically requires specific emails, so outcome may vary.
  - body: { emails: string[] }
- `POST https://api.mcp.ai/api/github/delete/environment` — Deletes an existing deployment environment from an existing repository.
  - body: { repo: string, owner: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/delete/environment/secret` — Deletes an existing and accessible secret from a specified environment within a GitHub repository, returning an empty dictionary on success or error details otherwise.
  - body: { repo: string, owner: string, secret_name: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/delete/environment/variable` — Deletes a named environment variable from a specified, existing environment within a GitHub repository.
  - body: { name: string, repo: string, owner: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/delete/gist` — Permanently deletes an existing GitHub gist, specified by its `gist_id`; this action is destructive and cannot be undone.
  - body: { gist_id: string }
- `POST https://api.mcp.ai/api/github/delete/gist/comment` — Deletes a specific comment from a GitHub Gist using its `gist_id` and `comment_id`.
  - body: { gist_id: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/delete/github/actions/cache/by/id` — Deletes a specific GitHub Actions cache from a repository using its unique `cache_id`.
  - body: { repo: string, owner: string, cache_id: integer }
- `POST https://api.mcp.ai/api/github/delete/github/pages/site` — Deletes the GitHub Pages site for the specified repository; completes without error if no site is currently enabled.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/delete/issue/comment` — Permanently deletes a specific comment by its ID from an issue or pull request, if the repository exists and the comment ID is valid.
  - body: { repo: string, owner: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/delete/issue/comment/reaction` — Deletes a reaction from an issue comment in a repository; the repository, comment, and reaction must exist.
  - body: { repo: string, owner: string, comment_id: integer, reaction_id: integer }
- `POST https://api.mcp.ai/api/github/delete/issue/reaction` — Permanently removes a specific reaction from an issue in a GitHub repository.
  - body: { repo: string, owner: string, reaction_id: integer, issue_number: integer }
- `POST https://api.mcp.ai/api/github/delete/label` — Permanently removes an existing label from a repository.
  - body: { name: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/delete/milestone` — Deletes the specified milestone if it exists; this operation is idempotent, typically returning a 404 if the milestone is not found or already deleted.
  - body: { repo: string, owner: string, milestone_number: integer }
- `POST https://api.mcp.ai/api/github/delete/org/codespace` — Permanently deletes a specific codespace belonging to a member of the specified organization.
  - body: { org: string, username: string, codespace_name: string }
- `POST https://api.mcp.ai/api/github/delete/org/package` — Deletes a specific package in an organization; cannot delete public packages with over 5,000 downloads.
  - body: { org: string, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/delete/organization` — Deletes a GitHub organization and its repositories; this is a destructive action and the organization name will be unavailable for reuse for approximately 90 days.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/delete/organization/secret` — Permanently deletes a secret from a GitHub organization, making it inaccessible to GitHub Actions workflows or other tools.
  - body: { org: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/delete/organization/variable` — Deletes a named GitHub Actions variable from a specified organization.
  - body: { org: string, name: string }
- `POST https://api.mcp.ai/api/github/delete/organization/webhook` — Deletes a specific webhook, identified by `hook_id`, from an existing organization.
  - body: { org: string, hook_id: integer }
- `POST https://api.mcp.ai/api/github/delete/package` — Permanently deletes a specific package owned by the authenticated user; public packages downloaded over 5,000 times cannot be deleted via this API.
  - body: { package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/delete/package/version/for/a/user` — Permanently and irreversibly deletes a specific version of a package owned by the specified user.
  - body: { username: string, package_name: string, package_type: string, package_version_id: integer }
- `POST https://api.mcp.ai/api/github/delete/package/version/for/an/organization` — Deletes a specific package version within an organization; requires admin permissions for packages with over 5,000 downloads.
  - body: { org: string, package_name: string, package_type: string, package_version_id: integer }
- `POST https://api.mcp.ai/api/github/delete/pending/review` — Deletes a pending (unsubmitted) review from a pull request; this is only possible if the review has not yet been submitted.
  - body: { repo: string, owner: string, review_id: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/delete/project` — Deletes the specified GitHub project (Projects V2) using the GraphQL API. Note: This action uses GitHub's Projects V2 GraphQL API. The legacy Projects (classic) REST API was sunset on April 1, 2025 an
  - body: { project_id: string }
- `POST https://api.mcp.ai/api/github/delete/project/column` — Deletes a project field (column) from a GitHub Projects V2 project using the GraphQL API. IMPORTANT: GitHub Classic Projects REST API was sunset on April 1, 2025. This action now uses the GitHub Proje
  - body: { field_id: string }
- `POST https://api.mcp.ai/api/github/delete/pull/request/comment/reaction` — Deletes a specific reaction from a pull request review comment, provided the comment and reaction exist on that comment within the specified repository.
  - body: { repo: string, owner: string, comment_id: integer, reaction_id: integer }
- `POST https://api.mcp.ai/api/github/delete/pull/request/review/protection` — Disables the requirement for pull request reviews before merging for a specific, existing branch in an existing repository; this action is idempotent and will succeed even if the protection is not cur
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/delete/repo/codespace/secret/by/name` — Deletes a specific Codespace secret from a repository by its name; this action is idempotent and will succeed even if the secret doesn't exist.
  - body: { repo: string, owner: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/delete/social/accounts/for/the/authenticated/user` — Deletes currently linked social media account URLs from the authenticated user's GitHub profile.
  - body: { account_urls: string[] }
- `POST https://api.mcp.ai/api/github/delete/team/discussion/comment/reaction` — Deletes a reaction from a team discussion comment, given the organization name, team slug, discussion number, comment number, and reaction ID.
  - body: { org: string, team_slug: string, reaction_id: integer, comment_number: integer, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/delete/team/discussion/reaction` — Permanently deletes a specific reaction from a team discussion within an organization.
  - body: { org: string, team_slug: string, reaction_id: integer, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/delete/user/package` — Deletes a package owned by the specified user, requiring admin permissions for the authenticated user; deletion of public packages with over 5,000 downloads may require GitHub support.
  - body: { username: string, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/delete/workflow/run/logs` — Deletes all logs for a specific workflow run in a GitHub repository, provided the repository and run exist.
  - body: { repo: string, owner: string, run_id: integer }
- `POST https://api.mcp.ai/api/github/disable/a/custom/protection/rule/for/an/environment` — Disables a specific, currently active custom deployment protection rule for an existing environment within a GitHub repository.
  - body: { repo: string, owner: string, environment_name: string, protection_rule_id: integer }
- `POST https://api.mcp.ai/api/github/disable/a/workflow` — Disables a specified workflow (by ID or filename) in a given GitHub repository, preventing new automatic triggers; any in-progress runs will continue.
  - body: { repo: string, owner: string, workflow_id: integer|string }
- `POST https://api.mcp.ai/api/github/disable/private/vuln/reporting/for/repo` — Disables private vulnerability reporting for an existing GitHub repository, preventing direct private vulnerability reports to maintainers via GitHub's interface for this repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/disable/repository/actions/in/org` — Removes a repository from the list of selected repositories enabled for GitHub Actions in an organization. Only works when the organization's `enabled_repositories` policy is set to `selected`. Requir
  - body: { org: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/dismiss/a/review/for/a/pull/request` — Dismisses an APPROVED or CHANGES_REQUESTED review on a pull request with a mandatory explanatory message. IMPORTANT: Only reviews in APPROVED or CHANGES_REQUESTED state can be dismissed. Reviews in CO
  - body: { repo: string, event?: string, owner: string, message: string, review_id: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/download/a/repository/archive/tar` — Downloads a repository's source code as a tarball (.tar.gz) archive for a specific Git reference, if the repository is accessible.
  - body: { ref: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/download/a/repository/archive/zip` — Downloads a repository's source code as a ZIP archive for a specific Git reference (branch, tag, or commit SHA). IMPORTANT SIZE LIMITATION: This action may fail with 'payload too large' errors for lar
  - body: { ref: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/download/an/artifact` — Downloads a GitHub Actions workflow artifact as a ZIP file. Returns the artifact as a downloadable file. Use GITHUB_LIST_ARTIFACTS_FOR_A_REPOSITORY or GITHUB_LIST_WORKFLOW_RUN_ARTIFACTS to get valid a
  - body: { repo: string, owner: string, artifact_id: integer, archive_format?: string }
- `POST https://api.mcp.ai/api/github/download/job/logs/for/a/workflow/run` — Downloads logs for a specific job in a GitHub Actions workflow run, contingent on the repository's existence and the job ID being valid and having produced logs.
  - body: { repo: string, owner: string, job_id: integer }
- `POST https://api.mcp.ai/api/github/download/workflow/run/attempt/logs` — Downloads a ZIP archive of logs for a specific workflow run attempt. Returns a downloadable ZIP file containing logs for all jobs and steps in the workflow run.
  - body: { repo: string, owner: string, run_id: integer, attempt_number: integer }
- `POST https://api.mcp.ai/api/github/download/workflow/run/logs` — Downloads logs for a specific GitHub Actions workflow run as a ZIP archive containing log files for each job in the workflow.
  - body: { repo: string, owner: string, run_id: integer }
- `POST https://api.mcp.ai/api/github/enable/a/workflow` — Reactivates a currently disabled GitHub Actions workflow within a repository using its workflow ID or filename.
  - body: { repo: string, owner: string, workflow_id: integer|string }
- `POST https://api.mcp.ai/api/github/enable/github/actions/in/selected/repositories` — Sets the specific repositories that can use GitHub Actions within an organization by replacing the current list; only applies if the organization's Actions policy is 'selected repositories'.
  - body: { org: string, selected_repository_ids: integer[] }
- `POST https://api.mcp.ai/api/github/enable/private/vuln/reporting/for/repo` — Enables private vulnerability reporting for a repository, allowing security researchers to privately submit vulnerability reports to maintainers.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/encrypt/and/update/dev/secret` — Creates or updates a repository's development environment secret using an `encrypted_value` and its corresponding `key_id`; the secret must be pre-encrypted with the repository's Codespaces public key
  - body: { repo: string, owner: string, key_id?: string, secret_name: string, secret_value?: string, encrypted_value?: string }
- `POST https://api.mcp.ai/api/github/encrypt/org/dev/env/secret` — Creates or updates an organization's GitHub Codespaces secret using an encrypted value and its corresponding public key ID.
  - body: { org: string, key_id?: string, visibility: string, secret_name: string, secret_value?: string, encrypted_value?: string, selected_repository_ids?: integer[] }
- `POST https://api.mcp.ai/api/github/export/a/codespace/for/the/authenticated/user` — Triggers an export of a user's specified codespace, automatically stopping it if active, and returns its export status and download URL.
  - body: { codespace_name: string }
- `POST https://api.mcp.ai/api/github/export/sbom/for/repo` — Exports the software bill of materials (SBOM) in SPDX JSON format for a repository, if its dependency graph is enabled and it has at least one commit.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/find/pull/requests` — Primary tool to find and search pull requests. Supports filtering by repository, author, state, labels, and merge status, and returns structured PR data for reliable use in workflows. GitHub search re
  - body: { page?: integer, repo?: string, sort?: string, label?: string, order?: string, owner?: string, query?: string, state?: string, author?: string, assignee?: string, language?: string, mentions?: string, per_page?: integer, is_merged?: boolean, base_branch?: string, head_branch?: string, created_since?: string, updated_since?: string, response_detail?: string, for_authenticated_user?: boolean }
- `POST https://api.mcp.ai/api/github/find/repositories` — AI-optimized repository search with smart filtering by language, stars, topics, and ownership. Builds intelligent search queries and returns clean, actionable repository data. Check `incomplete_result
  - body: { page?: integer, sort?: string, order?: string, owner?: string, query: string, topic?: string, archived?: boolean, language?: string, per_page?: integer, max_stars?: integer, min_forks?: integer, min_stars?: integer, fork_filter?: string, response_detail?: string, for_authenticated_user?: boolean }
- `POST https://api.mcp.ai/api/github/follow/user` — Allows the authenticated user to follow the GitHub user specified by `username`; this action is idempotent and the user cannot follow themselves.
  - body: { username: string }
- `POST https://api.mcp.ai/api/github/force/cancel/workflow/run` — Forcefully cancels a queued or in-progress GitHub Actions workflow run, bypassing conditions like always() that would otherwise continue execution. Only use when the standard cancel endpoint fails. Ca
  - body: { repo: string, owner: string, run_id: integer }
- `POST https://api.mcp.ai/api/github/fork/gist` — Forks a specified public gist, creating a copy under the authenticated user's account.
  - body: { gist_id: string }
- `POST https://api.mcp.ai/api/github/generate/release/notes` — Generates Markdown release notes content (listing changes, pull requests, and contributors) for a GitHub repository release, customizable via tags and a configuration file.
  - body: { repo: string, owner: string, tag_name: string, target_commitish?: string, previous_tag_name?: string, configuration_file_path?: string }
- `POST https://api.mcp.ai/api/github/get/a/blob` — Retrieves the raw, typically Base64-encoded, content of a file (blob) from a GitHub repository using its SHA hash, if the repository and blob SHA exist.
  - body: { repo: string, owner: string, file_sha: string }
- `POST https://api.mcp.ai/api/github/get/a/branch` — Retrieves detailed information for a specified branch within a GitHub repository.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/get/a/commit` — Retrieves a specific commit from a repository by its owner, name, and a valid commit reference (SHA, branch, or tag), supporting pagination for large diffs.
  - body: { ref: string, page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/get/a/milestone` — Retrieves detailed information for a specific milestone within a GitHub repository by its number.
  - body: { repo: string, owner: string, milestone_number: integer }
- `POST https://api.mcp.ai/api/github/get/a/package/for/a/user` — Retrieves metadata for a specific package owned by a GitHub user, using package type, name, and username as identifiers.
  - body: { username: string, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/get/a/package/for/an/organization` — Retrieves a specific package (by type and name) from an organization, if both the package and organization exist.
  - body: { org: string, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/get/a/package/for/the/authenticated/user` — Retrieves detailed information for a specific package owned by the authenticated user.
  - body: { package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/get/a/package/version/for/a/user` — Retrieves a specific public package version associated with a GitHub user.
  - body: { username: string, package_name: string, package_type: string, package_version_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/package/version/for/an/organization` — Retrieves detailed information for a specific version of a package within an organization.
  - body: { org: string, package_name: string, package_type: string, package_version_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/package/version/for/the/authenticated/user` — Retrieves detailed information for an existing specific package version associated with the authenticated user, identified by its type, name, and version ID.
  - body: { package_name: string, package_type: string, package_version_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/project` — Retrieves detailed information for a specific GitHub project (V2) using its project number and owner. Note: This action uses GitHub's Projects V2 REST API. The legacy Projects (classic) REST API was s
  - body: { org?: string, username?: string, project_number: integer }
- `POST https://api.mcp.ai/api/github/get/a/project/card` — Retrieves all details of a specific project card, given its unique `card_id`. DEPRECATION NOTICE: GitHub Projects (classic) REST API was sunset on April 1, 2025. This action only works with existing c
  - body: { card_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/project/column` — Retrieves detailed information for a specific project column from GitHub Projects (classic). DEPRECATION NOTICE: GitHub Classic Projects (V1) and its REST API were sunset on April 1, 2025. This action
  - body: { column_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/pull/request` — Retrieves a specific pull request from a GitHub repository using its owner, repository name, and pull request number.
  - body: { repo: string, owner: string, pull_number: integer }
- `POST https://api.mcp.ai/api/github/get/a/reference` — Retrieves a specific Git reference (e.g., a branch, tag, or fully qualified like 'heads/main') from a GitHub repository. The reference must exist in the repository; use 'list_matching_references' firs
  - body: { ref: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/a/release` — Gets a specific release from a GitHub repository, provided the repository is accessible and the release exists.
  - body: { repo: string, owner: string, release_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/release/asset` — Gets metadata for a specific release asset in a GitHub repository, including a `browser_download_url` for downloading the asset.
  - body: { repo: string, owner: string, asset_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/release/by/tag/name` — Gets a release from a GitHub repository by its tag name; the repository and a release with this tag must already exist.
  - body: { tag: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/a/repository` — Retrieves detailed information about an existing and accessible GitHub repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/a/repository/public/key` — Gets a repository's public key for encrypting secrets to be used in GitHub Actions, if the repository exists and is accessible.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/a/repository/readme` — Fetches the README file (if it exists and is accessible) from a specified GitHub repository, returning its Base64-encoded content and metadata.
  - body: { ref?: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/a/repository/readme/for/a/directory` — Retrieves the README file from a specified directory within a GitHub repository, optionally at a given commit, branch, or tag.
  - body: { dir: string, ref?: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/a/repository/rule/suite` — Gets detailed information for a specific repository rule suite by its ID, including its evaluation status and the results of its individual rules.
  - body: { repo: string, owner: string, rule_suite_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/repository/ruleset` — Retrieves a specific repository ruleset by its ID; if `includes_parents` is true, the search for this `ruleset_id` also extends to rulesets from parent organizations.
  - body: { repo: string, owner: string, ruleset_id: integer, includes_parents?: boolean }
- `POST https://api.mcp.ai/api/github/get/a/repository/secret` — Gets metadata (name, creation/update timestamps) for an existing repository secret, excluding its encrypted value.
  - body: { repo: string, owner: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/get/a/repository/subscription` — Gets the authenticated user's subscription details for a repository, indicating if they receive notifications.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/a/repository/variable` — Gets a specific GitHub Actions variable by name from an accessible repository.
  - body: { name: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/a/repository/webhook` — Returns the configuration of an existing webhook for a given repository.
  - body: { repo: string, owner: string, hook_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/review/comment/for/a/pull/request` — Retrieves a specific pull request review comment by its ID, provided the repository exists, is accessible, and the comment ID is valid.
  - body: { repo: string, owner: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/review/for/a/pull/request` — Retrieves a specific review for a pull request using its owner, repository, pull request number, and review ID.
  - body: { repo: string, owner: string, review_id: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/get/a/secret/for/the/authenticated/user` — Retrieves metadata (name, timestamps, visibility; not the value) for a specific, existing development environment secret associated with the authenticated user's GitHub Codespaces.
  - body: { secret_name: string }
- `POST https://api.mcp.ai/api/github/get/a/self/hosted/runner/for/a/repository` — Gets a specific self-hosted runner for a repository by its unique ID.
  - body: { repo: string, owner: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/self/hosted/runner/for/an/organization` — Retrieves detailed information about a specific self-hosted runner registered within a GitHub organization.
  - body: { org: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/tag` — Retrieves detailed information for a specific Git tag object from a GitHub repository, using the SHA of the tag object itself.
  - body: { repo: string, owner: string, tag_sha: string }
- `POST https://api.mcp.ai/api/github/get/a/team/by/name` — Retrieves a GitHub team by its slug from a specific organization.
  - body: { org: string, team_slug: string }
- `POST https://api.mcp.ai/api/github/get/a/thread` — Retrieves a specific GitHub notification thread using its unique `thread_id`.
  - body: { thread_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/thread/subscription/for/the/authenticated/user` — Retrieves the authenticated user's subscription details for a specific notification thread, identified by `thread_id`.
  - body: { thread_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/tree` — Browse and list all files/directories in a GitHub repository. Efficiently retrieves the complete repository structure in a single API call when used with recursive mode. Perfect for analyzing codebase
  - body: { repo: string, owner: string, tree_sha: string, recursive?: string|boolean }
- `POST https://api.mcp.ai/api/github/get/a/user` — Retrieves the public profile information for an existing GitHub user, specified by their username.
  - body: { username: string }
- `POST https://api.mcp.ai/api/github/get/a/webhook/configuration/for/a/repository` — Returns the configuration for an existing webhook on the specified repository.
  - body: { repo: string, owner: string, hook_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/webhook/configuration/for/an/organization` — Retrieves the configuration for a specific webhook associated with a GitHub organization.
  - body: { org: string, hook_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/webhook/delivery/for/an/organization/webhook` — Returns detailed information for a specific delivery attempt of a webhook configured for the specified GitHub organization.
  - body: { org: string, hook_id: integer, delivery_id: integer }
- `POST https://api.mcp.ai/api/github/get/a/workflow` — Retrieves detailed information for a specific GitHub Actions workflow in a repository, identified by either its numeric ID or its filename.
  - body: { repo: string, owner: string, workflow_id?: integer, workflow_name?: string }
- `POST https://api.mcp.ai/api/github/get/a/workflow/run` — Gets a specific workflow run by its ID from a GitHub repository.
  - body: { repo: string, owner: string, run_id: integer, exclude_pull_requests?: boolean }
- `POST https://api.mcp.ai/api/github/get/a/workflow/run/attempt` — Retrieves detailed information for a specific attempt of a workflow run in a GitHub repository, including its status, conclusion, and timings.
  - body: { repo: string, owner: string, run_id: integer, attempt_number: integer, exclude_pull_requests?: boolean }
- `POST https://api.mcp.ai/api/github/get/access/restrictions` — Lists users, teams, and GitHub Apps with push access to a branch; this branch must be protected in repository settings for detailed restrictions, otherwise expect a 404 or empty response.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/get/admin/branch/protection` — Checks if repository administrators are subject to the branch protection rules on a specific branch.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/get/all/api/versions` — Retrieves all officially supported, date-based (e.g., "2022-11-28") versions of the GitHub REST API from the /versions endpoint.
- `POST https://api.mcp.ai/api/github/get/all/contributor/commit/activity` — Retrieves commit activity (total commits, weekly additions/deletions/commits) for all contributors to a repository; may require a retry if GitHub returns 202 while preparing data.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/all/deployment/protection/rules/for/env` — Lists all enabled custom deployment protection rules for a specific environment in a repository; the environment must exist and be configured for deployments.
  - body: { repo: string, owner: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/get/an/app` — Retrieves publicly available information for an existing GitHub App, identified by its unique URL-friendly `app_slug`.
  - body: { app_slug: string }
- `POST https://api.mcp.ai/api/github/get/an/artifact` — Gets a specific artifact for a repository by `artifact_id`. This action retrieves the details of a specific artifact from a GitHub repository using the artifact's unique identifier. It allows users to
  - body: { repo: string, owner: string, artifact_id: integer }
- `POST https://api.mcp.ai/api/github/get/an/assignment` — Retrieves detailed information for a specific GitHub Classroom assignment if the authenticated user is an administrator of the classroom.
  - body: { assignment_id: integer }
- `POST https://api.mcp.ai/api/github/get/an/autolink/reference/of/a/repository` — Retrieves a specific autolink reference (which automatically hyperlinks text like 'JIRA-123' to an external system) for a repository using its unique ID; requires administrator access to the repositor
  - body: { repo: string, owner: string, autolink_id: integer }
- `POST https://api.mcp.ai/api/github/get/an/environment` — Retrieves the details of a specific deployment environment for a given repository, including its name, configurations, and current status.
  - body: { repo: string, owner: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/get/an/environment/public/key` — Retrieves the public key for a specified GitHub repository environment, used to encrypt secrets for GitHub Actions.
  - body: { repo: string, owner: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/get/an/environment/secret` — Retrieves metadata (name and timestamps) for a single secret in a GitHub Actions environment. Note: The actual secret value is never returned by this API for security reasons.
  - body: { repo: string, owner: string, secret_name: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/get/an/environment/variable` — Retrieves a specific environment variable from a GitHub Actions environment by repository owner, repository name, environment name, and variable name.
  - body: { name: string, repo: string, owner: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/get/an/issue` — Retrieves detailed information about a specific issue in a repository using the owner, repository name, and issue number.
  - body: { repo: string, owner: string, issue_number: integer }
- `POST https://api.mcp.ai/api/github/get/an/issue/comment` — Action to get an issue comment.
  - body: { repo: string, owner: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/get/an/issue/event` — Fetches details of a specific issue event for a given repository and event ID.
  - body: { repo: string, owner: string, event_id: integer }
- `POST https://api.mcp.ai/api/github/get/an/organization` — Get an organization
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/get/an/organization/public/key` — Action for `GetAnOrganizationPublicKey`.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/get/an/organization/role` — Retrieves a specific GitHub organization role by its ID.
  - body: { org: string, role_id: integer }
- `POST https://api.mcp.ai/api/github/get/an/organization/secret` — Gets an organization secret's metadata (e.g., name, creation/update dates, visibility), but not its encrypted value.
  - body: { org: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/get/an/organization/variable` — Retrieves details (name, value, visibility, timestamps) of a specific, existing variable for an existing GitHub organization.
  - body: { org: string, name: string }
- `POST https://api.mcp.ai/api/github/get/an/organization/webhook` — Retrieves the full configuration, including subscribed events and delivery settings, for an existing organization webhook.
  - body: { org: string, hook_id: integer }
- `POST https://api.mcp.ai/api/github/get/assignment/grades` — Retrieves all grades for an existing GitHub Classroom assignment.
  - body: { assignment_id: integer }
- `POST https://api.mcp.ai/api/github/get/branch/protection` — Retrieves branch protection settings for a specific, existing, and accessible branch in a GitHub repository; protection feature availability varies by GitHub product plan.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/get/check/run` — Retrieves detailed information for a specific check run within a GitHub repository.
  - body: { repo: string, owner: string, check_run_id: integer }
- `POST https://api.mcp.ai/api/github/get/check/suite` — Retrieves a specific check suite (a collection of check runs) by its ID from a repository accessible to the authenticated user.
  - body: { repo: string, owner: string, check_suite_id: integer }
- `POST https://api.mcp.ai/api/github/get/classroom` — Retrieves details for a specific GitHub Classroom. Requires the authenticated user to be an administrator of the classroom.
  - body: { classroom_id: integer }
- `POST https://api.mcp.ai/api/github/get/code/of/conduct` — Retrieves the full details of a specific GitHub code of conduct using its unique key.
  - body: { key: string }
- `POST https://api.mcp.ai/api/github/get/code/scanning/alert` — Retrieves a specific code scanning alert, which identifies potential code vulnerabilities or errors, by its number from the specified GitHub repository.
  - body: { repo: string, owner: string, alert_number: integer }
- `POST https://api.mcp.ai/api/github/get/code/scanning/analysis` — Retrieves detailed information for a specific code scanning analysis on an accessible repository, identified by its `analysis_id`.
  - body: { repo: string, owner: string, analysis_id: integer }
- `POST https://api.mcp.ai/api/github/get/code/scanning/default/setup` — Gets the default setup configuration for code scanning in a repository, including state, languages, query suite, and schedule for a repository if it exists.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/codeql/database` — Gets an existing CodeQL database (including a download URL) for a specified language in an accessible repository, if one has been successfully built for that language.
  - body: { repo: string, owner: string, language: string }
- `POST https://api.mcp.ai/api/github/get/codespace` — Call to retrieve detailed information for a `codespace_name` belonging to the authenticated user, ensuring the codespace exists and is accessible.
  - body: { codespace_name: string }
- `POST https://api.mcp.ai/api/github/get/commit/authors` — Fetches commit authors identified during a repository import, used to map authors from an external VCS to GitHub accounts. NOTE: This endpoint has been deprecated by GitHub as of April 12, 2024, and i
  - body: { repo: string, owner: string, since?: integer }
- `POST https://api.mcp.ai/api/github/get/commit/comment` — Retrieves the full details of a specific commit comment in a GitHub repository, using its unique identifier.
  - body: { repo: string, owner: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/get/commit/object` — Retrieves detailed information (including author, committer, message, tree, parents, verification) for a specific commit in a GitHub repository, identified by its SHA.
  - body: { repo: string, owner: string, commit_sha: string }
- `POST https://api.mcp.ai/api/github/get/commit/signature/protection` — Gets the commit signature protection status for a branch in a repository.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/get/community/profile/metrics` — Retrieves a repository's community profile metrics, including health percentage and the presence of key community files (e.g., README, LICENSE).
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/contextual/information/for/a/user` — Gets contextual hovercard information for a GitHub user; `subject_type` and `subject_id` can be jointly provided for more specific details.
  - body: { username: string, subject_id?: string, subject_type?: string }
- `POST https://api.mcp.ai/api/github/get/custom/deployment/protection/rule` — Retrieves a specific custom deployment protection rule (used by GitHub Apps for external validation or manual approval of deployments) for a given environment in a repository.
  - body: { repo: string, owner: string, environment_name: string, protection_rule_id: integer }
- `POST https://api.mcp.ai/api/github/get/default/attributes/for/a/codespace` — Get pre-flight data (e.g., default location, devcontainer path) for creating a Codespace in a given repository (must exist and be accessible), optionally for a specific Git ref.
  - body: { ref?: string, repo: string, owner: string, client_ip?: string }
- `POST https://api.mcp.ai/api/github/get/default/workflow/permissions/for/a/repository` — Gets the default workflow permissions (`read` or `write`) for the GITHUB_TOKEN and whether it can approve pull request reviews in an existing and accessible repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/default/workflow/permissions/for/an/organization` — Gets the default GITHUB_TOKEN workflow permissions and settings for a GitHub organization.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/get/dependency/diff` — Gets the dependency diff between two Git revisions in a repository, where 'basehead' specifies the revisions and 'name' can optionally scope to a specific manifest file.
  - body: { name?: string, repo: string, owner: string, basehead: string }
- `POST https://api.mcp.ai/api/github/get/deploy/key` — Gets a specific deploy key, identified by its `key_id`, for the GitHub repository specified by `owner` and `repo`.
  - body: { repo: string, owner: string, key_id: integer }
- `POST https://api.mcp.ai/api/github/get/deployment` — Gets a specific deployment by ID from a repository, provided the repository and deployment ID exist.
  - body: { repo: string, owner: string, deployment_id: integer }
- `POST https://api.mcp.ai/api/github/get/deployment/branch/policy` — Retrieves a specific deployment branch policy for an environment in a repository, identified by its unique ID.
  - body: { repo: string, owner: string, branch_policy_id: integer, environment_name: string }
- `POST https://api.mcp.ai/api/github/get/deployment/status` — Retrieves a specific deployment status by its ID for a given deployment within a GitHub repository.
  - body: { repo: string, owner: string, status_id: integer, deployment_id: integer }
- `POST https://api.mcp.ai/api/github/get/details/about/a/codespace/export` — Retrieves detailed information about a specific export of a codespace.
  - body: { export_id: string, codespace_name: string }
- `POST https://api.mcp.ai/api/github/get/discussion` — Fetches a specific discussion by its number from a team within an organization. This is a read-only action that retrieves discussion details including title, body, author information, comment count, a
  - body: { org: string, team_slug: string, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/get/discussion/comment` — Fetches a specific comment from a team discussion within a specific organization.
  - body: { org: string, team_slug: string, comment_number: integer, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/get/emojis` — Lists all emojis available for use on GitHub, including custom and Unicode emojis.
- `POST https://api.mcp.ai/api/github/get/feeds` — Fetches a list of available GitHub feed URLs for the authenticated user.
- `POST https://api.mcp.ai/api/github/get/gist` — Fetches a specific GitHub gist by its `gist_id`, returning comprehensive details if the gist exists.
  - body: { gist_id: string }
- `POST https://api.mcp.ai/api/github/get/gist/comment` — Retrieves a specific Gist comment by its ID and the Gist's ID.
  - body: { gist_id: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/get/gist/revision` — Retrieves a specific revision of a gist.
  - body: { sha: string, gist_id: string }
- `POST https://api.mcp.ai/api/github/get/github/actions/cache/usage/for/a/repository` — Retrieves the total count of active GitHub Actions caches and their combined size in bytes for a specified repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/github/actions/cache/usage/for/an/organization` — Retrieves total GitHub Actions cache usage statistics for an organization, including active cache count and size across all repositories.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/get/github/actions/permissions/for/a/repository` — Gets the GitHub Actions permissions policy for a repository, including its enabled status and the scope of allowed actions.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/github/actions/permissions/for/an/organization` — Gets the GitHub Actions permissions for a specified organization, detailing repository enablement and allowed actions policies.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/get/github/meta/information` — Fetches GitHub's publicly available metadata, useful for configuring network security policies or IP allow-listing.
- `POST https://api.mcp.ai/api/github/get/github/pages/build` — Retrieves detailed information about a specific GitHub Pages build for a repository, which must have GitHub Pages enabled.
  - body: { repo: string, owner: string, build_id: integer }
- `POST https://api.mcp.ai/api/github/get/gitignore/template` — Retrieves a specific .gitignore template from GitHub by its name, which must be an existing template in GitHub's collection.
  - body: { name: string }
- `POST https://api.mcp.ai/api/github/get/information/about/a/sarif/upload` — Retrieves detailed information, including processing status and results URL, about a specific SARIF (Static Analysis Results Interchange Format) upload for a repository, uniquely identified by its sar
  - body: { repo: string, owner: string, sarif_id: string }
- `POST https://api.mcp.ai/api/github/get/interaction/restrictions/for/a/repository` — Retrieves active interaction restrictions for a repository, detailing which user groups are limited from activities like commenting or creating pull requests, and when these restrictions expire.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/interaction/restrictions/for/an/organization` — Retrieves interaction restrictions for an organization, showing which GitHub user types can interact with its public repositories and when restrictions expire; returns an empty response if no restrict
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/get/interaction/restrictions/for/public/repos` — Retrieves currently active interaction restrictions for the authenticated user's public repositories.
- `POST https://api.mcp.ai/api/github/get/label` — Retrieves a specific label by its name from a specified GitHub repository.
  - body: { name: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/large/files` — Lists files larger than 100MB identified during a previous source import for the specified repository. NOTE: This endpoint has been deprecated by GitHub as of April 12, 2024, and is no longer availabl
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/latest/pages/build` — Retrieves information about the most recent GitHub Pages build for a repository, which must exist, be accessible, have GitHub Pages enabled, and have at least one prior build.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/license` — Call this action to retrieve comprehensive details for a specific software license recognized by GitHub, using its unique license key.
  - body: { license: string }
- `POST https://api.mcp.ai/api/github/get/octocat` — Fetches an ASCII art representation of GitHub's Octocat, suitable for text-based displays.
  - body: { s?: string }
- `POST https://api.mcp.ai/api/github/get/org/allowed/actions` — Gets the list of allowed actions and reusable workflows for an organization when the 'allowed_actions' policy is set to 'selected'.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/get/org/dev/environment/secret/safely` — Retrieves metadata for a specific secret available to an organization's GitHub Codespaces without exposing its encrypted value.
  - body: { org: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/get/organization/custom/property` — Retrieves the definition (schema) of a specific, existing custom property for an organization.
  - body: { org: string, custom_property_name: string }
- `POST https://api.mcp.ai/api/github/get/page/views` — Retrieves page view statistics for a repository over the last 14 days, including total views, unique visitors, and a daily or weekly breakdown.
  - body: { per?: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/pages/dns/health/check` — Retrieves the DNS health check status (e.g., CNAME/A records, HTTPS) for a GitHub Pages site; the check may be pending (HTTP 202) on initial calls or after site changes.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/pages/site` — Retrieves information for a GitHub Pages site, which must be enabled for the repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/pending/deployments/for/a/workflow/run` — Retrieves pending deployment environments for a specific workflow run that are awaiting approval due to protection rules.
  - body: { repo: string, owner: string, run_id: integer }
- `POST https://api.mcp.ai/api/github/get/project/permission/for/a/user` — Retrieves permission information for a GitHub project (classic) collaborator. Returns the permission level and full user object for a collaborator on a GitHub project (classic). The permission returne
  - body: { username: string, project_id: integer }
- `POST https://api.mcp.ai/api/github/get/public/key/for/secret/encryption` — Retrieves a repository's public key for encrypting GitHub Codespaces secrets; requires `repo` scope or equivalent read access to codespaces secrets for private repositories.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/public/key/for/the/authenticated/user` — Retrieves the authenticated user's public key for encrypting GitHub Codespaces secrets. The returned key must be used with libsodium sealed box encryption before creating or updating secrets via the A
- `POST https://api.mcp.ai/api/github/get/pull/request/review/protection` — Retrieves the pull request review protection settings for a specific branch in a GitHub repository, if such protection is configured.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/get/rate/limit/status/for/the/authenticated/user` — Retrieves the authenticated user's current GitHub API rate limit status, including usage and limits across different resource categories.
- `POST https://api.mcp.ai/api/github/get/repo/allowed/actions` — Gets the settings for allowed actions and reusable workflows in a repository. Requires the repository's `allowed_actions` policy to be set to `selected` (returns 409 if set to `all` or `local_only`).
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/repo/dev/env/secret` — Gets metadata (name, creation/update timestamps) for a specific, existing development environment secret (Codespaces secret) in a repository, without exposing its value.
  - body: { repo: string, owner: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/get/repository/clones` — Retrieves the total number of clones and a breakdown of clone activity (daily or weekly) for a specified repository over the preceding 14 days.
  - body: { per?: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/repository/content` — Retrieves a file's Base64 encoded content or lists a directory's contents from a GitHub repository.
  - body: { ref?: string, path: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/repository/permissions/for/a/user` — Retrieves a specific user's permission level ('admin', 'write', 'read', or 'none') for a given repository, where 'maintain' role is reported as 'write' and 'triage' as 'read'.
  - body: { repo: string, owner: string, username: string }
- `POST https://api.mcp.ai/api/github/get/repository/public/key/for/encryption` — Gets a repository's public key, used to encrypt secrets for Dependabot.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/repository/secret/securely` — Retrieves metadata for an existing Dependabot secret in a repository, without exposing its encrypted value.
  - body: { repo: string, owner: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/get/repository/webhook/delivery` — Retrieves a specific delivery for a repository webhook, identified by its `hook_id` and `delivery_id`.
  - body: { repo: string, owner: string, hook_id: integer, delivery_id: integer }
- `POST https://api.mcp.ai/api/github/get/rules/for/a/branch` — Retrieves all active rules for a specific branch in a GitHub repository, excluding rules in 'evaluate' or 'disabled' status.
  - body: { page?: integer, repo: string, owner: string, branch: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/get/single/org/secret/without/decryption` — Gets a single organization Dependabot secret's metadata (name, timestamps, visibility) without revealing its encrypted value. Requires admin:org scope.
  - body: { org: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/get/status/checks/protection` — Retrieves the status check protection settings for a specific branch in a GitHub repository, if status check protection is enabled for it.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/get/team/membership/for/a/user` — Retrieves a user's role and membership status within a specific team in an organization. Returns membership details including role ('member' or 'maintainer') and state ('active' or 'pending'). If the 
  - body: { org: string, username: string, team_slug: string }
- `POST https://api.mcp.ai/api/github/get/teams/with/access/to/the/protected/branch` — Lists teams with explicit push access to a protected branch, provided team restrictions are configured in the branch's protection settings; returns an empty list otherwise.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/get/the/authenticated/user` — Gets the profile information for the currently authenticated GitHub user, including potentially private details based on user settings.
- `POST https://api.mcp.ai/api/github/get/the/combined/status/for/a/specific/reference` — Retrieves the aggregated commit status (e.g., success, failure, pending) from all checks for a specific reference (SHA, branch, or tag) in a GitHub repository.
  - body: { ref: string, page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/get/the/hourly/commit/count/for/each/day` — Retrieves the 'punch card' data, showing hourly commit counts for each day of the week for an existing and accessible repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/the/last/year/of/commit/activity` — Fetches weekly commit totals and daily commit counts for the last 52 weeks for a specified GitHub repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/the/latest/release` — Fetches the latest official (non-prerelease, non-draft) release for a GitHub repository; requires at least one such published release.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/the/license/for/a/repository` — Retrieves the license file and its details for a repository, optionally from a specific Git reference (branch, tag, or commit SHA).
  - body: { ref?: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/the/review/history/for/a/workflow/run` — Retrieves the detailed approval history for a specific workflow run in a GitHub repository, detailing each review's environment, state, reviewer, and comments, to track the approval process for workfl
  - body: { repo: string, owner: string, run_id: integer }
- `POST https://api.mcp.ai/api/github/get/the/status/of/a/github/pages/deployment` — Retrieves the status of a specific GitHub Pages deployment for a repository, which must have GitHub Pages enabled.
  - body: { repo: string, owner: string, pages_deployment_id: integer|string }
- `POST https://api.mcp.ai/api/github/get/the/weekly/commit/activity` — Fetches the weekly commit activity (additions and deletions per week) for a repository over the past year; best for repositories with under 10,000 commits.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/the/weekly/commit/count` — Retrieves the weekly commit count for a repository, detailing commits by the owner and all contributors over the last 52 weeks; GitHub may return a 202 status or an empty response if statistics are be
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/the/zen/of/github` — Retrieves a random quote from GitHub's 'Zen of GitHub' collection, reflecting GitHub's design philosophies and offering humorous insights, useful for displaying GitHub wisdom or a lighthearted message
- `POST https://api.mcp.ai/api/github/get/top/referral/paths` — Fetches the top 10 most viewed content paths for a repository from the last 14 days.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/top/referral/sources` — Fetches the top 10 websites that referred traffic to a repository within the last 14 days.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/users/with/access/to/the/protected/branch` — Lists users with explicit push access to a protected branch, provided its protection rule restricts pushes to specific users.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/get/workflow/external/access` — Gets the access level settings for a private repository, determining how workflows outside this repository can use its actions and reusable workflows.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/get/workflow/run/job` — Retrieves detailed information for a specific job within a GitHub Actions workflow run, given its `job_id` which must be valid for the specified repository's workflow.
  - body: { repo: string, owner: string, job_id: integer }
- `POST https://api.mcp.ai/api/github/get/workflow/run/usage` — Gets the billable time, in milliseconds, for a specific workflow run, detailing time spent on various operating systems.
  - body: { repo: string, owner: string, run_id: integer }
- `POST https://api.mcp.ai/api/github/get/workflow/usage` — Gets the billable time (in milliseconds, broken down by runner OS) for a specific workflow within a repository for the current billing cycle.
  - body: { repo: string, owner: string, workflow_id: integer|string }
- `POST https://api.mcp.ai/api/github/is/repository/starred/by/the/user` — Use to determine if the authenticated user has starred a specific GitHub repository, which is confirmed by an HTTP 204 status (resulting in an empty dictionary in the response data); the action fails 
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/list/accepted/assignments/for/an/assignment` — Lists accepted assignments (student repositories created after acceptance) for an existing GitHub Classroom assignment, identified by its unique `assignment_id`.
  - body: { page?: integer, per_page?: integer, assignment_id: integer }
- `POST https://api.mcp.ai/api/github/list/app/installations` — Lists GitHub App installations accessible to the authenticated user via their access token, including installation details, permissions, and repository access.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/apps/with/access/to/the/protected/branch` — Lists GitHub Apps with push access to a repository's protected branch.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/list/artifacts/for/a/repository` — Lists GitHub Actions workflow artifacts for a specified repository, which must exist.
  - body: { name?: string, page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/assignees` — Lists users who can be assigned to issues in a repository, typically those with push access.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/assignments/for/a/classroom` — Lists all assignments for a given GitHub Classroom `classroom_id`; the classroom must exist and be accessible.
  - body: { page?: integer, per_page?: integer, classroom_id: integer }
- `POST https://api.mcp.ai/api/github/list/available/machine/types/for/a/repository` — Lists machine types available for GitHub Codespaces in a repository, optionally using a Git ref to check compatibility based on prebuild availability and devcontainer configurations.
  - body: { ref?: string, repo: string, owner: string, location?: string, client_ip?: string }
- `POST https://api.mcp.ai/api/github/list/branches` — List branches in a GitHub repository. Returns branch names, commit information, and protection status. Use this action when you need to retrieve all branches in a repository, optionally filtered by pr
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, protected?: boolean }
- `POST https://api.mcp.ai/api/github/list/branches/for/head/commit` — Lists branches in an accessible repository where the provided commit SHA is the head, useful for identifying development lines based on that commit.
  - body: { repo: string, owner: string, commit_sha: string }
- `POST https://api.mcp.ai/api/github/list/check/run/annotations` — Lists annotations for a specific check run in a GitHub repository, detailing issues like errors or warnings on particular code lines.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, check_run_id: integer }
- `POST https://api.mcp.ai/api/github/list/check/runs/in/a/check/suite` — Lists check runs for a specific check suite in a GitHub repository, optionally filtering by check name or status.
  - body: { page?: integer, repo: string, owner: string, filter?: string, status?: string, per_page?: integer, check_name?: string, check_suite_id: integer }
- `POST https://api.mcp.ai/api/github/list/check/suites/for/a/git/reference` — Lists check suites for a Git reference (commit SHA, branch, or tag) in a repository, optionally filtering by GitHub App ID or check run name.
  - body: { ref: string, page?: integer, repo: string, owner: string, app_id?: integer, per_page?: integer, check_name?: string }
- `POST https://api.mcp.ai/api/github/list/child/teams` — Lists the immediate child teams of a parent team within an organization.
  - body: { org: string, page?: integer, per_page?: integer, team_slug: string }
- `POST https://api.mcp.ai/api/github/list/classrooms` — Lists GitHub Classrooms to which the authenticated user has administrative access.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/code/scanning/alerts/for/a/repository` — Lists code scanning alerts for a repository, optionally filtering by tool (which must have produced scan results for the repository), Git reference, state, or severity.
  - body: { ref?: string, page?: integer, repo: string, sort?: string, owner: string, state?: string, per_page?: integer, severity?: string, direction?: string, tool_guid?: string, tool_name?: string }
- `POST https://api.mcp.ai/api/github/list/code/scanning/alerts/for/an/organization` — Lists code scanning alerts for a GitHub organization; use EITHER `tool_name` OR `tool_guid` if filtering by tool, not both.
  - body: { org: string, page?: integer, sort?: string, after?: string, state?: string, before?: string, per_page?: integer, severity?: string, direction?: string, tool_guid?: string, tool_name?: string }
- `POST https://api.mcp.ai/api/github/list/code/scanning/analyses/for/a/repository` — Lists code scanning analyses for an existing repository, optionally filtering by tool (name or GUID), Git reference, or SARIF ID.
  - body: { ref?: string, page?: integer, repo: string, sort?: string, owner: string, per_page?: integer, sarif_id?: string, direction?: string, tool_guid?: string, tool_name?: string }
- `POST https://api.mcp.ai/api/github/list/codeowners/errors` — Lists syntax errors in a repository's CODEOWNERS file, which must be located at the root, `.github/`, or `docs/` directory for the specified ref.
  - body: { ref?: string, repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/list/codeql/databases/for/a/repository` — Lists all CodeQL databases for a repository where CodeQL analysis has been previously run and completed.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/list/codes/of/conduct` — Retrieves all available codes of conduct from GitHub, often used to select one for a repository.
- `POST https://api.mcp.ai/api/github/list/codespaces/for/a/user/in/organization` — Lists all GitHub Codespaces owned by a specified member of a given organization.
  - body: { org: string, page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/codespaces/for/the/authenticated/user` — Lists GitHub Codespaces for the authenticated user, optionally filtering by repository ID and supporting pagination.
  - body: { page?: integer, per_page?: integer, repository_id?: integer }
- `POST https://api.mcp.ai/api/github/list/codespaces/for/the/organization` — Lists active/pending GitHub Codespaces for an existing organization; admins list all, members list their own.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/comments/for/a/pull/request/review` — Lists all comments for a specific review on a GitHub pull request.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, review_id: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/list/commit/comments` — Retrieves all comments for a specific commit in a GitHub repository, supporting pagination.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, commit_sha: string }
- `POST https://api.mcp.ai/api/github/list/commit/comments/for/a/repository` — Lists all commit comments for a specified repository, which must exist and be accessible.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/commits` — Lists commits for a GitHub repository. Requires 'owner' (username/org) and 'repo' (repository name) parameters. Optionally filter by SHA/branch, path, author, committer, or date range.
  - body: { sha?: string, page?: integer, path?: string, repo: string, owner: string, since?: string, until?: string, author?: string, per_page?: integer, committer?: string }
- `POST https://api.mcp.ai/api/github/list/commits/on/a/pull/request` — Lists commits for a pull request; requires the repository and pull request to exist and be accessible, and supports pagination.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/list/commonly/used/licenses` — Retrieves a list of commonly used software licenses from GitHub, optionally filtering for 'featured' licenses whose specific selection criteria by GitHub may vary.
  - body: { page?: integer, featured?: boolean, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/custom/properties/for/an/organization` — Gets the schema definitions for all custom properties configured for an organization, not the specific values assigned to repositories.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/list/deliveries/for/a/repository/webhook` — Retrieves delivery attempts for a specific repository webhook to inspect its history; ensure the webhook ID exists.
  - body: { repo: string, owner: string, cursor?: string, hook_id: integer, per_page?: integer, redelivery?: boolean }
- `POST https://api.mcp.ai/api/github/list/deliveries/for/an/organization/webhook` — Retrieves a list of webhook deliveries for a specific webhook in an organization, allowing inspection of delivery history and details.
  - body: { org: string, cursor?: string, hook_id: integer, per_page?: integer, redelivery?: boolean }
- `POST https://api.mcp.ai/api/github/list/deploy/keys` — Lists deploy SSH keys for a specified repository; the repository must exist.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/deployment/branch/policies` — Lists all deployment branch policies for a specified environment in a GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, environment_name: string }
- `POST https://api.mcp.ai/api/github/list/deployment/statuses` — Lists all statuses for a given deployment in a repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, deployment_id: integer }
- `POST https://api.mcp.ai/api/github/list/deployments` — Lists deployments for a specified repository; repository must exist.
  - body: { ref?: string, sha?: string, page?: integer, repo: string, task?: string, owner: string, per_page?: integer, environment?: string }
- `POST https://api.mcp.ai/api/github/list/discussion/comments` — Lists all comments for a specific team discussion within an organization. Note: Team discussions are deprecated as of 2023-11-28. Consider using GitHub Discussions instead. This endpoint requires the 
  - body: { org: string, page?: integer, per_page?: integer, direction?: string, team_slug: string, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/list/discussions` — Lists discussions for a specific team within an organization, with options for sorting, pagination, and filtering by pinned status. Note: Team discussions are deprecated as of 2023-11-28. Consider usi
  - body: { org: string, page?: integer, pinned?: string, per_page?: integer, direction?: string, team_slug: string }
- `POST https://api.mcp.ai/api/github/list/email/addresses/for/the/authenticated/user` — Lists all email addresses for the authenticated user, including their primary status, verification status, and visibility. This action retrieves the complete list of email addresses associated with th
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/environment/custom/deployment/rules` — Lists all custom deployment protection rule integrations for a repository environment; the `environment_name` must be URL-encoded.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, environment_name: string }
- `POST https://api.mcp.ai/api/github/list/environment/secrets` — Lists the names and metadata (not values) of secrets for a specified, existing environment within an existing GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, environment_name: string }
- `POST https://api.mcp.ai/api/github/list/environment/variables` — Lists all environment variables, which are plaintext key-value pairs for GitHub Actions workflows, for a specified environment within a GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, environment_name: string }
- `POST https://api.mcp.ai/api/github/list/environments` — Retrieves all deployment environments for a specified repository, which are used to configure protection rules and secrets for different software lifecycle stages.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/events/for/the/authenticated/user` — Lists public events for the specified GitHub user, or private events if authenticated as that user, in reverse chronological order.
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/events/received/by/the/authenticated/user` — Lists events a specific GitHub user received from followed users and watched repositories; returns private events if authenticated for `username`, otherwise public.
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/followers/of/a/user` — Lists followers for a specified, existing GitHub user.
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/followers/of/the/authenticated/user` — Lists users following the authenticated GitHub user, returning an empty list if the user has no followers.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/forks` — Lists forks for a specified repository, which must exist, with options for sorting and pagination.
  - body: { page?: integer, repo: string, sort?: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/gist/comments` — Lists comments for a specified GitHub Gist.
  - body: { page?: integer, gist_id: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/gist/commits` — Lists all commits for a specified gist.
  - body: { page?: integer, gist_id: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/gist/forks` — Lists all forks for a given GitHub gist ID.
  - body: { page?: integer, gist_id: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/gists/for/a/user` — _lists public gists for a specified GitHub user._
  - body: { page?: integer, since?: string, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/gists/for/the/authenticated/user` — Lists gists for the authenticated user, with optional filtering by update time and pagination.
  - body: { page?: integer, since?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/github/actions/caches/for/a/repository` — Lists GitHub Actions caches for a repository, with options to filter by Git reference or cache key, and to sort and paginate results.
  - body: { key?: string, ref?: string, page?: integer, repo: string, sort?: string, owner: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/github/pages/builds` — Lists GitHub Pages builds for a repository; GitHub Pages must be enabled on the repository for builds to be listed.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/gitignore/templates` — Retrieves all available .gitignore template names from GitHub (e.g., 'Python', 'Node', 'Java'), used for generating .gitignore files.
- `POST https://api.mcp.ai/api/github/list/global/security/advisories` — Lists GitHub's global security advisories, filterable by various attributes including ID, type, ecosystem, severity, and dates.
  - body: { cwes?: string[], sort?: string, type?: string, after?: string, before?: string, cve_id?: string, affects?: string[], ghsa_id?: string, updated?: string, modified?: string, per_page?: integer, severity?: string, direction?: string, ecosystem?: string, published?: string, is_withdrawn?: boolean, epss_percentage?: string, epss_percentile?: string }
- `POST https://api.mcp.ai/api/github/list/installation/requests/for/the/authenticated/app` — Lists pending installation requests made by users or organizations for the authenticated GitHub App.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/instances/of/a/code/scanning/alert` — Lists all instances of a specific code scanning alert, optionally filtered by Git ref; requires code scanning to be enabled on the repository.
  - body: { ref?: string, page?: integer, repo: string, owner: string, per_page?: integer, alert_number: integer }
- `POST https://api.mcp.ai/api/github/list/issue/comments` — Lists comments for a specified issue in a GitHub repository.
  - body: { page?: integer, repo: string, owner: string, since?: string, per_page?: integer, issue_number: integer }
- `POST https://api.mcp.ai/api/github/list/issue/comments/for/a/repository` — Lists issue comments, including those on pull requests, for an accessible repository.
  - body: { page?: integer, repo: string, sort?: string, owner: string, since?: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/issue/events` — Retrieves a list of all events for a specific issue within a GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, issue_number: integer }
- `POST https://api.mcp.ai/api/github/list/issue/events/for/a/repository` — Lists all issue events (e.g., closed, reopened, assigned) for a specified repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/issues/assigned/to/the/authenticated/user` — Lists GitHub issues for the authenticated user across visible repositories, with filtering by user relationship, state, labels, an ISO 8601 `since` timestamp (YYYY-MM-DDTHH:MM:SSZ), and sorting option
  - body: { page?: integer, sort?: string, since?: string, state?: string, filter?: string, labels?: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/jobs/for/a/workflow/run` — Lists jobs for a specific workflow run in a GitHub repository.
  - body: { page?: integer, repo: string, owner: string, filter?: string, run_id: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/jobs/for/a/workflow/run/attempt` — Lists jobs, including details like ID, status, and steps, for a specific attempt of a GitHub Actions workflow run.
  - body: { page?: integer, repo: string, owner: string, run_id: integer, per_page?: integer, attempt_number: integer }
- `POST https://api.mcp.ai/api/github/list/labels/for/a/repository` — Retrieves all labels for a specified, existing GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/labels/for/a/self/hosted/runner/for/a/repository` — Lists all labels assigned to a specific self-hosted runner registered with the given repository.
  - body: { repo: string, owner: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/list/labels/for/an/issue` — Lists all labels for a specified issue in a GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, issue_number: integer }
- `POST https://api.mcp.ai/api/github/list/labels/for/issues/in/a/milestone` — Lists all labels for issues within a specific milestone in a repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, milestone_number: integer }
- `POST https://api.mcp.ai/api/github/list/labels/for/self/hosted/runner/org` — Lists all labels assigned to a specific self-hosted runner within a GitHub organization, which are used to route workflows.
  - body: { org: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/list/machine/types/for/a/codespace` — Lists available machine types for a specific, accessible codespace, enabling it to be transitioned to a new hardware configuration.
  - body: { codespace_name: string }
- `POST https://api.mcp.ai/api/github/list/matching/references` — Lists all Git references (branches or tags) in a repository that start with the provided partial reference path (e.g., `heads/my-feature` or `tags/v1.2`).
  - body: { ref: string, page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/milestones` — Lists milestones, which track progress for groups of issues and pull requests, for an existing repository, allowing filtering by state and sorting.
  - body: { page?: integer, repo: string, sort?: string, owner: string, state?: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/notifications/for/the/authenticated/user` — DEPRECATED: Use GITHUB_LIST_NOTIFICATIONS instead. Lists notifications for the authenticated user, sorted by most recent update, with filtering and pagination options.
  - body: { all?: boolean, page?: integer, since?: string, before?: string, per_page?: integer, participating?: boolean }
- `POST https://api.mcp.ai/api/github/list/org/fine/grained/permissions` — Lists all fine-grained permissions available in a GitHub organization for use in custom organization roles. These permissions define granular access controls that can be combined when creating custom 
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/list/org/issues/for/the/authenticated/user` — Lists issues for the authenticated user within a specified GitHub organization, with options to filter by involvement type, state, labels, and to sort results.
  - body: { org: string, page?: integer, sort?: string, since?: string, state?: string, filter?: string, labels?: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/org/package/versions` — Lists all versions for a specified package, if it exists and is owned by the given GitHub organization.
  - body: { org: string, page?: integer, state?: string, per_page?: integer, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/list/org/resource/access/tokens` — Lists approved fine-grained personal access tokens (PATs) with access to resources in a GitHub organization, optionally filtering by owner, repository, permissions, or last usage time. AUTHENTICATION 
  - body: { org: string, page?: integer, sort?: string, owner?: string[], per_page?: integer, token_id?: integer[], direction?: string, permission?: string, repository?: string, last_used_after?: string, last_used_before?: string }
- `POST https://api.mcp.ai/api/github/list/org/resources/with/personal/tokens` — Lists requests from organization members to access organization resources with fine-grained personal access tokens (pending, approved, or denied). Note: This endpoint requires GitHub App authenticatio
  - body: { org: string, page?: integer, sort?: string, owner?: string[], per_page?: integer, token_id?: integer[], direction?: string, permission?: string, repository?: string, last_used_after?: string, last_used_before?: string }
- `POST https://api.mcp.ai/api/github/list/org/secrets/without/values` — Lists all Dependabot secrets (metadata like names, creation/update timestamps, but not their encrypted values) for a specified organization, which must exist.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/organization/codespaces/secrets` — Lists all Codespaces secrets available for a specified organization, which must exist.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/organization/events/for/the/authenticated/user` — Lists public events in a specified GitHub organization for the authenticated user's organization dashboard. Returns activities like repository pushes, pull requests, issues, forks, and other public ev
  - body: { org: string, page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/organization/members` — Tool to list all members of a GitHub organization. Returns a list of users who are members of the specified organization. Use this action when you need to retrieve the list of members in an organizati
  - body: { org: string, page?: integer, role?: string, filter?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/organization/projects` — Lists projects (V2) for a specified GitHub organization, with optional search query and cursor-based pagination.
  - body: { q?: string, org: string, after?: string, before?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/organization/repositories` — Retrieves a list of repositories for a specified GitHub organization, allowing filtering by type and sorting.
  - body: { org: string, page?: integer, sort?: string, type?: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/organization/roles/for/an/organization` — Lists all custom organization roles for an existing GitHub organization.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/list/organization/secrets` — Lists GitHub Actions secrets available for a specified organization.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/organization/variables` — Lists all GitHub Actions variables for a specified organization.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/organization/webhooks` — Lists all webhooks for a specified GitHub organization; the organization must exist.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/organizations` — Lists GitHub organizations for the authenticated user, sorted by ID in ascending order.
  - body: { since?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/organizations/for/a/user` — Lists public organizations for a specified GitHub user; the `username` must be a valid GitHub handle.
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/organizations/for/the/authenticated/user` — Lists organizations the authenticated GitHub user is a member of, returning details for each organization.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/outside/collaborators/for/an/organization` — Lists outside collaborators for a GitHub organization, with options to filter (e.g., by 2FA status) and paginate results.
  - body: { org: string, page?: integer, filter?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/owned/package/versions` — Lists all versions for an existing package owned by the authenticated user, identified by its type and name.
  - body: { page?: integer, state?: string, per_page?: integer, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/list/package/versions/for/a/package/owned/by/a/user` — Lists all versions of a public package owned by a specific GitHub user, identified by package type, package name, and username.
  - body: { page?: integer, per_page?: integer, username: string, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/list/packages/for/a/user` — Lists packages for a specified GitHub user, filterable by package type and visibility.
  - body: { page?: integer, per_page?: integer, username: string, visibility?: string, package_type: string }
- `POST https://api.mcp.ai/api/github/list/packages/for/an/organization` — Lists GitHub Packages for an organization, noting specific interpretations for package_type and visibility parameters.
  - body: { org: string, page?: integer, per_page?: integer, visibility?: string, package_type: string }
- `POST https://api.mcp.ai/api/github/list/packages/for/the/authenticated/user` — Lists packages of a specific type and visibility within the authenticated user's namespace on GitHub.
  - body: { page?: integer, per_page?: integer, visibility?: string, package_type: string }
- `POST https://api.mcp.ai/api/github/list/pending/team/invitations` — Lists all pending membership invitations for a specified team within an organization. The authenticated user must be an organization member with the read:org scope. The response includes invitation de
  - body: { org: string, page?: integer, per_page?: integer, team_slug: string }
- `POST https://api.mcp.ai/api/github/list/project/cards` — Lists all project cards for a given column_id in GitHub Projects (classic). DEPRECATION NOTICE: GitHub Projects (classic) and its REST API were sunset on April 1, 2025. This action will return 404 for
  - body: { page?: integer, per_page?: integer, column_id: integer, archived_state?: string }
- `POST https://api.mcp.ai/api/github/list/project/collaborators` — Lists collaborators for a GitHub Project (classic) by project ID. IMPORTANT: This action uses the Projects (classic) REST API which was sunset on April 1, 2025 for GitHub.com. The API may still be ava
  - body: { page?: integer, per_page?: integer, project_id: integer, affiliation?: string }
- `POST https://api.mcp.ai/api/github/list/project/columns` — Lists all of a GitHub project's columns (e.g., 'To Do', 'In Progress'); project_id must identify a valid, accessible project. Note: This action uses GitHub's Projects (classic) REST API. The Projects 
  - body: { page?: integer, per_page?: integer, project_id: integer }
- `POST https://api.mcp.ai/api/github/list/public/emails/for/auth/user` — Lists the public email addresses for the authenticated user.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/public/events` — Lists public GitHub events, which may be delayed by up to 5 minutes, with support for pagination.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/public/events/for/a/network/of/repositories` — Retrieves public events (up to 90 days old, newest first) for a GitHub repository network, including the repository and its forks.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/public/events/for/a/user` — Retrieves a list of public events for a specified GitHub user, in reverse chronological order.
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/public/events/received/by/a/user` — Lists public events for a specified GitHub user (e.g., activities in repositories they watch or are involved in); the target user's profile must be public, and if blocked by the authenticated user, a 
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/public/gists` — Lists public gists from GitHub, optionally filtering by a 'since' timestamp and supporting pagination; results are generally newest first.
  - body: { page?: integer, since?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/public/keys/for/a/user` — Lists the verified public SSH keys for a specified GitHub user.
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/public/organization/events` — Lists public events for a specified GitHub organization, which must exist. This action retrieves the events that are publicly accessible for the organization specified. It returns a paginated list of 
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/public/organization/members` — Lists users who have publicly declared their membership in a specified, existing GitHub organization.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/public/repositories` — Lists all public repositories on GitHub; use the `since` parameter with a repository ID from a previous result for pagination.
  - body: { since?: integer }
- `POST https://api.mcp.ai/api/github/list/pull/requests` — Lists pull requests for a GitHub repository. REQUIRES 'owner' AND 'repo' parameters - both are MANDATORY and must be provided in every call. Does NOT support filtering by assignee or date range - use 
  - body: { base?: string, head?: string, page?: integer, repo: string, sort?: string, owner: string, state?: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/pull/requests/associated/with/a/commit` — Lists pull requests for a commit; returns merged PRs that introduced the commit if on the default branch, or open PRs including the commit if on other branches.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, commit_sha: string }
- `POST https://api.mcp.ai/api/github/list/pull/requests/files` — Lists all files (including additions, modifications, and removals) associated with a specific pull request in a GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/list/reactions/for/a/commit/comment` — Lists reactions for a specific commit comment; this is a read-only operation.
  - body: { page?: integer, repo: string, owner: string, content?: string, per_page?: integer, comment_id: integer }
- `POST https://api.mcp.ai/api/github/list/reactions/for/a/pull/request/review/comment` — Lists reactions for a pull request review comment in a repository, optionally filtering by reaction type.
  - body: { page?: integer, repo: string, owner: string, content?: string, per_page?: integer, comment_id: integer }
- `POST https://api.mcp.ai/api/github/list/reactions/for/a/release` — Lists all reactions, or optionally filters reactions by a specific content type, for a given GitHub release.
  - body: { page?: integer, repo: string, owner: string, content?: string, per_page?: integer, release_id: integer }
- `POST https://api.mcp.ai/api/github/list/reactions/for/a/team/discussion` — Lists reactions for an existing team discussion within an organization. This endpoint allows you to retrieve all reactions (emoji responses) made to a specific team discussion. You can optionally filt
  - body: { org: string, page?: integer, content?: string, per_page?: integer, team_slug: string, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/list/reactions/for/a/team/discussion/comment` — Lists reactions for a specific comment in a team discussion within an organization, optionally filtering by content type.
  - body: { org: string, page?: integer, content?: string, per_page?: integer, team_slug: string, comment_number: integer, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/list/reactions/for/an/issue` — Lists reactions for a specific, existing issue within an accessible GitHub repository, optionally filtering by content type.
  - body: { page?: integer, repo: string, owner: string, content?: string, per_page?: integer, issue_number: integer }
- `POST https://api.mcp.ai/api/github/list/reactions/for/an/issue/comment` — Lists reactions for a specific issue comment in a GitHub repository, optionally filtering by content type.
  - body: { page?: integer, repo: string, owner: string, content?: string, per_page?: integer, comment_id: integer }
- `POST https://api.mcp.ai/api/github/list/release/assets` — Lists assets (e.g., compiled binaries, source code archives) for a specific GitHub release, identified by `release_id` which must be valid for an existing release in the repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, release_id: integer }
- `POST https://api.mcp.ai/api/github/list/releases` — Retrieves a list of all releases (published, draft, and prerelease) for a specified repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repo/access/by/token` — Lists repositories in an organization that a fine-grained personal access token has requested access to. Only GitHub Apps can use this endpoint. Requires 'Personal access token requests' organization 
  - body: { org: string, page?: integer, per_page?: integer, pat_request_id: integer }
- `POST https://api.mcp.ai/api/github/list/repo/codespaces` — Lists Codespaces the authenticated user can access within a specified, existing repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repo/dev/container/configs/for/user` — Lists the `devcontainer.json` configurations available in a specified repository for use with GitHub Codespaces.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repo/invitations/for/auth/user` — Lists all pending repository invitations for the authenticated user.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repo/notifications/for/auth/user` — Retrieves notifications for the authenticated user from a specified repository, to which the user must have access.
  - body: { all?: boolean, page?: integer, repo: string, owner: string, since?: string, before?: string, per_page?: integer, participating?: boolean }
- `POST https://api.mcp.ai/api/github/list/repo/secrets/without/values` — Lists all Codespaces secrets available in a specific repository, without their encrypted values.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repositories/accessible/to/the/app/installation` — Lists repositories a GitHub App installation can access. IMPORTANT: This endpoint requires a GitHub App installation access token (ghs_* prefix) for authentication. OAuth/user access tokens (gho_*) or
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repositories/for/a/user` — Lists public repositories for a specified GitHub user, who must have an existing account.
  - body: { page?: integer, sort?: string, type?: string, per_page?: integer, username: string, direction?: string }
- `POST https://api.mcp.ai/api/github/list/repositories/for/the/authenticated/user` — Lists repositories for the authenticated user; using 'type' with 'visibility' or 'affiliation' API parameters (not in this model) can cause a 422 error.
  - body: { page?: integer, sort?: string, type?: string, since?: string, before?: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/repositories/starred/by/a/user` — Lists repositories a valid and existing GitHub user has starred.
  - body: { page?: integer, sort?: string, per_page?: integer, username: string, direction?: string }
- `POST https://api.mcp.ai/api/github/list/repositories/starred/by/the/authenticated/user` — Lists repositories the authenticated user has starred, optionally sorted and paginated, including star creation timestamps via 'application/vnd.github.star+json' media type.
  - body: { page?: integer, sort?: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/repositories/watched/by/a/user` — Lists repositories a given GitHub user is watching; the username must be a valid and existing GitHub user handle.
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/repositories/watched/by/the/authenticated/user` — Lists repositories the authenticated user is watching (subscribed to for notifications). This action retrieves a list of repositories that the authenticated user is currently watching. It allows the u
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repositories/with/github/actions/cache/usage` — Retrieves a paginated list of GitHub Actions cache usage statistics for repositories within an existing GitHub organization.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/activities` — Lists activities for a GitHub repository, ensuring the repository exists and is accessible.
  - body: { ref?: string, repo: string, actor?: string, after?: string, owner: string, before?: string, per_page?: integer, direction?: string, time_period?: string, activity_type?: string }
- `POST https://api.mcp.ai/api/github/list/repository/autolinks` — Retrieves all autolinks (e.g., for JIRA issues) configured for a repository; requires admin permissions on the repository.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/list/repository/collaborators` — Lists collaborators for a specified repository, provided it exists and is accessible to the authenticated user.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, permission?: string, affiliation?: string }
- `POST https://api.mcp.ai/api/github/list/repository/contributors` — Lists contributors to a specified repository, sorted by number of contributions in descending order; the repository must exist and be accessible.
  - body: { anon?: string, page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/events` — Lists chronological events (e.g., code pushes, issue activities, PR actions, forks) for a specified, existing GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/invitations` — Retrieves all pending (unaccepted or undeclined) collaboration invitations for a specified GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/issues` — Lists issues (including pull requests) from a GitHub repository. Requires BOTH 'owner' AND 'repo' parameters (e.g., owner='octocat', repo='Hello-World' for github.com/octocat/Hello-World).
  - body: { page?: integer, repo: string, sort?: string, type?: string, owner: string, since?: string, state?: string, labels?: string, creator?: string, assignee?: string, per_page?: integer, direction?: string, mentioned?: string, milestone?: string }
- `POST https://api.mcp.ai/api/github/list/repository/languages` — Lists the programming languages used in a GitHub repository, returning a byte count for each language.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/list/repository/organization/secrets` — Lists names of organization-level secrets shared with the specified repository; actual secret values are not returned and visibility depends on token access.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/organization/variables` — Lists organization-level variables that are shared with a specific repository. The repository must belong to an organization (not a personal account).
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/projects` — Lists Projects (classic) associated with a specific repository. Note: This action lists GitHub Projects (classic), which is GitHub's legacy project management feature. If the repository has Projects (
  - body: { page?: integer, repo: string, owner: string, state?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/rule/suites` — Lists rule suite evaluations for a repository, allowing filtering by ref (non-wildcard), time period, actor, and result.
  - body: { ref?: string, page?: integer, repo: string, owner: string, per_page?: integer, actor_name?: string, time_period?: string, rule_suite_result?: string }
- `POST https://api.mcp.ai/api/github/list/repository/rulesets` — Retrieves all rulesets for a GitHub repository, which define conditions and actions for repository interactions (e.g., branch protections).
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, includes_parents?: boolean }
- `POST https://api.mcp.ai/api/github/list/repository/secrets` — Lists metadata for all secrets in a GitHub repository, excluding their encrypted values.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/secrets/without/decrypting` — Lists metadata (e.g., name, creation/update dates) for all Dependabot secrets in a repository; secret values are not included.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/tags` — Lists tags for a specified GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/teams` — Lists all teams with explicit permission to access the specified repository; the repository must exist.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/topics` — Retrieves all topics for a specified, existing, and accessible repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/variables` — Lists plain text key-value variables for GitHub Actions workflows within a specific, accessible repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/webhooks` — Retrieves a list of webhooks for a repository, which must exist and be accessible.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/repository/workflows` — Lists all GitHub Actions workflows for a specified repository, which must exist and be accessible.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/requested/reviewers/for/a/pull/request` — Gets all users and teams requested to review a specific pull request in a repository.
  - body: { repo: string, owner: string, pull_number: integer }
- `POST https://api.mcp.ai/api/github/list/review/comments/in/a/repository` — Lists all review comments on all pull requests within a specified repository.
  - body: { page?: integer, repo: string, sort?: string, owner: string, since?: string, per_page?: integer, direction?: string }
- `POST https://api.mcp.ai/api/github/list/review/comments/on/a/pull/request` — Lists all review comments on a specific pull request within a GitHub repository.
  - body: { page?: integer, repo: string, sort?: string, owner: string, since?: string, per_page?: integer, direction?: string, pull_number: integer }
- `POST https://api.mcp.ai/api/github/list/reviews/for/a/pull/request` — Lists submitted reviews chronologically for a specific pull request within a GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/list/runner/applications/for/a/repository` — Lists available self-hosted runner application binaries for a specific repository, including their OS, architecture, and download URL.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/list/runner/applications/for/an/organization` — Lists downloadable GitHub Actions runner application binaries for setting up self-hosted runners in a GitHub organization. Returns download URLs and checksums for various OS/architecture combinations 
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/list/secrets/for/the/authenticated/user` — Lists all Codespaces secrets accessible to the authenticated user for use within GitHub Codespaces.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/selected/repos/org/variable` — Lists repositories in an organization that can access a specific organization variable; supports pagination and returns an empty list if no repositories have been granted access. Note: This endpoint o
  - body: { org: string, name: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/selected/repositories/for/a/user/secret` — Lists repositories that have access to the specified user Codespaces secret. This endpoint retrieves all repositories that the authenticated user has granted access to for a specific user-level Codesp
  - body: { page?: integer, per_page?: integer, secret_name: string }
- `POST https://api.mcp.ai/api/github/list/selected/repositories/for/an/organization/secret` — Lists repositories that have been granted access to a Codespaces organization secret. Returns all repositories that have been selected when the visibility for repository access to a Codespaces secret 
  - body: { org: string, page?: integer, per_page?: integer, secret_name: string }
- `POST https://api.mcp.ai/api/github/list/self/hosted/runners/for/a/repository` — Lists all self-hosted runners configured for a repository.
  - body: { name?: string, page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/self/hosted/runners/for/an/organization` — Lists self-hosted runners for a GitHub organization, optionally filtering by name and paginating results, providing details for each runner such as OS, status, and labels.
  - body: { org: string, name?: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/social/accounts/for/a/user` — Lists social media accounts publicly linked to an existing GitHub user's profile.
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/social/accounts/for/the/authenticated/user` — Lists all social media accounts linked to the authenticated user's GitHub profile. This action retrieves the social media accounts associated with the user's GitHub profile, allowing for easy manageme
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/stargazers` — Lists users who have starred the specified GitHub repository, which must exist.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/starred/gists` — Retrieves a list of gists starred by the authenticated user.
  - body: { page?: integer, since?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/status/check/contexts` — Fetches all required status check contexts for a protected branch; returns an empty list if the branch isn't protected or has no required checks.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/list/subscriptions/for/the/authenticated/user` — Tool to list GitHub Marketplace subscriptions for the authenticated user. Use when you need to retrieve active marketplace app subscriptions including billing details, plan information, and trial stat
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/subscriptions/for/the/authenticated/user/stubbed` — Lists the authenticated user's stubbed (test/example data, not live) GitHub Marketplace subscriptions, useful for development or testing.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/tag/protection/states/for/a/repository` — DEPRECATED: Lists tag protection rules for a repository. This API was sunset on August 30, 2024. Use GITHUB_GET_ALL_REPOSITORY_RULESETS instead to view tag protection rules via repository rulesets.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/list/team/members` — Lists members of a specific team within an organization, including members of child teams.
  - body: { org: string, page?: integer, role?: string, per_page?: integer, team_slug: string }
- `POST https://api.mcp.ai/api/github/list/team/projects` — Lists GitHub projects accessible to a specific team within an organization.
  - body: { org: string, page?: integer, per_page?: integer, team_slug: string }
- `POST https://api.mcp.ai/api/github/list/team/repositories` — Lists repositories accessible to a specific team within a GitHub organization. Returns a list of repositories that the specified team has access to, including the team's permission level (admin, maint
  - body: { org: string, page?: integer, per_page?: integer, team_slug: string }
- `POST https://api.mcp.ai/api/github/list/teams` — Lists teams for a specified GitHub organization.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/teams/for/the/authenticated/user` — Lists all teams across all organizations to which the authenticated user belongs, supporting pagination.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/teams/that/are/assigned/to/an/organization/role` — Lists teams assigned to a specific role within a GitHub organization. This endpoint requires organization administrator privileges. Use this to audit which teams have been granted specific organizatio
  - body: { org: string, page?: integer, role_id: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/the/people/a/user/follows` — Lists GitHub users that a valid GitHub `username` is following, supporting pagination.
  - body: { page?: integer, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/the/people/the/authenticated/user/follows` — Lists people the authenticated user follows.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/timeline/events/for/an/issue` — Lists chronological events (e.g., comments, commits, label changes) for a specific issue in a GitHub repository.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer, issue_number: integer }
- `POST https://api.mcp.ai/api/github/list/token/access/repositories` — Lists repositories in an organization that a fine-grained personal access token has access to. Requires organization admin permissions or 'Personal access tokens' organization read permission. Only Gi
  - body: { org: string, page?: integer, pat_id: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/user/projects` — Retrieves a list of projects for a specified GitHub user, optionally filtering by state and supporting pagination; the username must be a valid GitHub handle. Note: This action uses GitHub's Projects 
  - body: { page?: integer, state?: string, per_page?: integer, username: string }
- `POST https://api.mcp.ai/api/github/list/users` — Retrieves all GitHub users (individuals and organizations) in chronological order of their sign-up date.
  - body: { since?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/users/blocked/by/an/organization` — Lists users blocked by a specified GitHub organization.
  - body: { org: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/users/blocked/by/the/authenticated/user` — Lists users blocked by the authenticated user, returning an empty list if no users are blocked.
  - body: { page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/users/that/are/assigned/to/an/organization/role` — Lists users assigned to a specific role within a GitHub organization.
  - body: { org: string, page?: integer, role_id: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/watchers` — Retrieves a list of users watching a specific repository; the repository must be accessible to the authenticated user.
  - body: { page?: integer, repo: string, owner: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/workflow/run/artifacts` — Lists artifacts (e.g., build outputs, test results) for a specific workflow run in a GitHub repository.
  - body: { name?: string, page?: integer, repo: string, owner: string, run_id: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/list/workflow/runs/for/a/repository` — Lists workflow runs for a repository, allowing filtering by actor, branch, event, status, creation date, check suite ID, or head SHA; the repository must exist and be accessible.
  - body: { page?: integer, repo: string, actor?: string, event?: string, owner: string, branch?: string, status?: string, created?: string, head_sha?: string, per_page?: integer, check_suite_id?: integer, exclude_pull_requests?: boolean }
- `POST https://api.mcp.ai/api/github/list/workflow/runs/for/a/workflow` — Lists runs for a specified, existing workflow (identified by ID or filename like `main.yml`) in a GitHub repository, with filtering options.
  - body: { page?: integer, repo: string, actor?: string, event?: string, owner: string, branch?: string, status?: string, created?: string, head_sha?: string, per_page?: integer, workflow_id: integer|string, check_suite_id?: integer, exclude_pull_requests?: boolean }
- `POST https://api.mcp.ai/api/github/lock/an/issue` — Locks an existing GitHub issue's conversation, preventing further comments; an optional reason can be specified.
  - body: { repo: string, owner: string, lock_reason?: string, issue_number: integer }
- `POST https://api.mcp.ai/api/github/manage/access/control/for/organization/codespaces` — Sets the Codespaces access control policy for a GitHub organization, determining which members can use them. This endpoint requires admin permissions on the organization. The API returns HTTP 204 No C
  - body: { org: string, visibility: string, selected_usernames?: string[] }
- `POST https://api.mcp.ai/api/github/manage/custom/properties/for/org/repos` — Creates or updates values for an organization's predefined custom properties across multiple repositories (up to 30).
  - body: { org: string, properties: string, repository_names: string[] }
- `POST https://api.mcp.ai/api/github/map/a/commit/author` — Updates Git author information (name and/or email) for an `author_id` obtained during a repository import, to correctly attribute commits. NOTE: This endpoint has been deprecated by GitHub as of April
  - body: { name?: string, repo: string, email?: string, owner: string, author_id: integer }
- `POST https://api.mcp.ai/api/github/mark/a/thread/as/done` — Marks the GitHub notification thread (identified by `thread_id`) as done or read for the authenticated user, effectively archiving it.
  - body: { thread_id: integer }
- `POST https://api.mcp.ai/api/github/mark/a/thread/as/read` — Marks an existing GitHub notification thread, identified by its `thread_id`, as read.
  - body: { thread_id: integer }
- `POST https://api.mcp.ai/api/github/mark/notifications/as/read` — Marks notifications as read or unread, optionally for those updated at or before a `last_read_at` timestamp.
  - body: { read?: boolean, last_read_at?: string }
- `POST https://api.mcp.ai/api/github/mark/repository/notifications/as/read` — Marks notifications in a repository as read; if 'last_read_at' is specified, notifications updated after this timestamp are not marked as read.
  - body: { repo: string, owner: string, last_read_at?: string }
- `POST https://api.mcp.ai/api/github/merge/a/branch` — Merges a head branch or commit SHA into a base branch in a repository; fails if there are merge conflicts requiring manual resolution.
  - body: { base: string, head: string, repo: string, owner: string, commit_message?: string }
- `POST https://api.mcp.ai/api/github/merge/a/pull/request` — Merges an open and mergeable pull request in a repository. A 405 error can occur for multiple reasons: (1) The PR is still in draft mode - convert it to ready-for-review first using GITHUB_UPDATE_A_PU
  - body: { sha?: string, repo: string, owner: string, pull_number: integer, commit_title?: string, merge_method?: string, commit_message?: string }
- `POST https://api.mcp.ai/api/github/move/a/project/card` — Moves a project card to a specified position within a column (GitHub Classic Projects). DEPRECATION NOTICE: GitHub Projects (classic) and its REST API were sunset on April 1, 2025. This action will re
  - body: { card_id: integer, position: string, column_id?: integer }
- `POST https://api.mcp.ai/api/github/move/a/project/column` — Moves a column within a GitHub project (classic) to a new position. DEPRECATION NOTICE: GitHub Classic Projects (V1) and its REST API were sunset on April 1, 2025. This action will return a 404 error 
  - body: { position: string, column_id: integer }
- `POST https://api.mcp.ai/api/github/ping/a/repository/webhook` — Pings an existing webhook on a repository to test its configuration and reachability by GitHub.
  - body: { repo: string, owner: string, hook_id: integer }
- `POST https://api.mcp.ai/api/github/ping/an/organization/webhook` — Sends a 'ping' event to a specified, existing organization webhook to test its configuration and ensure it correctly receives events.
  - body: { org: string, hook_id: integer }
- `POST https://api.mcp.ai/api/github/privately/report/a/security/vulnerability` — Privately reports a security vulnerability to a repository's maintainers. IMPORTANT: You cannot report vulnerabilities to repositories you own - this API is for third-party security researchers to rep
  - body: { repo: string, owner: string, cwe_ids?: string[], summary: string, severity?: string, description: string, vulnerabilities?: string, cvss_vector_string?: string, start_private_fork?: boolean }
- `POST https://api.mcp.ai/api/github/re/run/a/job/from/a/workflow/run` — Re-runs a specific job and any dependent jobs from a GitHub Actions workflow run in the specified repository, optionally enabling debug logging.
  - body: { repo: string, owner: string, job_id: integer, enable_debug_logging?: boolean }
- `POST https://api.mcp.ai/api/github/re/run/a/workflow` — Re-runs a specific GitHub Actions workflow run identified by its owner, repository, and run ID, optionally enabling debug logging.
  - body: { repo: string, owner: string, run_id: integer, enable_debug_logging?: boolean }
- `POST https://api.mcp.ai/api/github/re/run/failed/jobs/from/a/workflow/run` — Re-runs all failed jobs and their dependent jobs from a specified workflow run if the run contains previously failed jobs.
  - body: { repo: string, owner: string, run_id: integer, enable_debug_logging?: boolean }
- `POST https://api.mcp.ai/api/github/redeliver/a/delivery/for/a/repository/webhook` — Redelivers a specific, previously made webhook delivery (`delivery_id`) for a repository's webhook (`hook_id`).
  - body: { repo: string, owner: string, hook_id: integer, delivery_id: integer }
- `POST https://api.mcp.ai/api/github/redeliver/a/delivery/for/an/organization/webhook` — Redelivers a specific webhook delivery for a webhook within an organization, to resend an event that previously failed or was not processed.
  - body: { org: string, hook_id: integer, delivery_id: integer }
- `POST https://api.mcp.ai/api/github/remove/a/custom/property/for/an/organization` — Deletes a custom property, specified by `custom_property_name`, from an existing organization (`org`) for which the property is currently defined, preventing its future assignment to repositories.
  - body: { org: string, custom_property_name: string }
- `POST https://api.mcp.ai/api/github/remove/a/label/from/an/issue` — Removes a label currently applied to a specific issue in a repository.
  - body: { name: string, repo: string, owner: string, issue_number: integer }
- `POST https://api.mcp.ai/api/github/remove/a/project/from/a/team` — Removes a project from a team within an organization; this action requires the project to be currently associated with the team.
  - body: { org: string, team_slug: string, project_id: integer }
- `POST https://api.mcp.ai/api/github/remove/a/repository/collaborator` — Removes a collaborator from a specified GitHub repository, provided the repository exists and the user is an existing collaborator.
  - body: { repo: string, owner: string, username: string }
- `POST https://api.mcp.ai/api/github/remove/a/repository/from/a/team` — Disassociates a repository from a team; team members may lose access permissions, but the repository and team are not deleted.
  - body: { org: string, repo: string, owner: string, team_slug: string }
- `POST https://api.mcp.ai/api/github/remove/a/repository/from/an/app/installation` — Removes a repository from a GitHub App installation for the authenticated user, given a valid `installation_id` and the `repository_id` of a repository currently linked to that installation; this oper
  - body: { repository_id: integer, installation_id: integer }
- `POST https://api.mcp.ai/api/github/remove/a/selected/repository/from/a/user/secret` — Removes a selected repository's access to a user's Codespaces secret; the secret must exist and the repository must have previously been granted access.
  - body: { secret_name: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/remove/all/labels/from/an/issue` — Removes all labels from a specified issue in a GitHub repository; this operation is idempotent.
  - body: { repo: string, owner: string, issue_number: integer }
- `POST https://api.mcp.ai/api/github/remove/all/organization/roles/for/a/team` — Revokes all organization roles for a team in an organization; this is destructive and succeeds even if the team initially has no roles.
  - body: { org: string, team_slug: string }
- `POST https://api.mcp.ai/api/github/remove/all/organization/roles/for/a/user` — Revokes all assigned organization-level roles from a specified user (who must be a member of the organization) within a GitHub organization, without removing the user from the organization or affectin
  - body: { org: string, username: string }
- `POST https://api.mcp.ai/api/github/remove/an/organization/member` — Removes a member from a GitHub organization. This action permanently removes a user's membership from the specified organization, revoking their access to all organization resources, repositories, and
  - body: { org: string, username: string }
- `POST https://api.mcp.ai/api/github/remove/an/organization/role/from/a/team` — Revokes an organization role that a team currently possesses within an organization.
  - body: { org: string, role_id: integer, team_slug: string }
- `POST https://api.mcp.ai/api/github/remove/an/organization/role/from/a/user` — Removes a custom organization role from a user within a GitHub organization, provided the organization exists, the user is a member, and the role_id corresponds to a valid custom role in that organiza
  - body: { org: string, role_id: integer, username: string }
- `POST https://api.mcp.ai/api/github/remove/app/access/restrictions` — Removes all GitHub App access restrictions from a protected branch in a repository; the branch must have protection rules configured, and this action does not alter user or team restrictions.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/remove/assignees/from/an/issue` — Removes specified assignees from a GitHub issue; requires push access, and invalid removal attempts are silently ignored.
  - body: { repo: string, owner: string, assignees?: string[], issue_number: integer }
- `POST https://api.mcp.ai/api/github/remove/custom/label/from/repo/runner` — Removes a custom label from a repository's self-hosted runner; this operation is idempotent.
  - body: { name: string, repo: string, owner: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/remove/custom/label/from/self/hosted/runner` — Removes a currently assigned custom label (`name`) from a self-hosted runner (`runner_id`) in an organization (`org`). This action allows the organization to manage the labels associated with their ru
  - body: { org: string, name: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/remove/custom/labels/from/self/hosted/repo/runner` — Removes all custom labels from a self-hosted runner registered at the repository level, leaving only its default labels and any labels inherited from its runner group or organization.
  - body: { repo: string, owner: string, runner_id: integer }
- `POST https://api.mcp.ai/api/github/remove/interaction/restrictions/for/a/repository` — Removes all interaction restrictions for a repository, enabling all users to comment, open issues, and create pull requests by lifting any existing temporary interaction limits.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/remove/interaction/restrictions/for/an/organization` — Removes all interaction restrictions from public repositories in the specified GitHub organization, allowing all users to resume interactions.
  - body: { org: string }
- `POST https://api.mcp.ai/api/github/remove/org/dev/env/secret/by/name` — Deletes a GitHub Codespaces secret from an organization by its name; this operation is idempotent.
  - body: { org: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/remove/org/secret/by/name` — Permanently removes a specific Dependabot secret, by its `secret_name`, from the GitHub `org`, making it unavailable to Dependabot for that organization.
  - body: { org: string, secret_name: string }
- `POST https://api.mcp.ai/api/github/remove/outside/collaborator/from/an/organization` — Removes a user, who must be an outside collaborator, from the specified GitHub organization, revoking their access to all its repositories.
  - body: { org: string, username: string }
- `POST https://api.mcp.ai/api/github/remove/public/org/membership` — Removes the authenticated user's public organization membership, making it private. The user remains a member of the organization but their membership is no longer publicly visible. This operation is 
  - body: { org: string, username: string }
- `POST https://api.mcp.ai/api/github/remove/public/repo/interaction/restrictions` — Removes all interaction restrictions (limitations on comments, issues, or pull requests) from all public repositories owned by the authenticated user.
- `POST https://api.mcp.ai/api/github/remove/repo/from/org/dev/env/secret` — Removes a repository's access to an organization-level Codespaces secret, if it was previously granted.
  - body: { org: string, secret_name: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/remove/repo/from/org/secret/with/selected/visibility` — Revokes a specific repository's access to an organization-level Dependabot secret, applicable only when the secret has 'selected' visibility and the specified repository currently has access.
  - body: { org: string, secret_name: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/remove/requested/reviewers/from/a/pull/request` — Removes currently assigned user logins and/or team slugs from a GitHub pull request's list of requested reviewers.
  - body: { repo: string, owner: string, reviewers: string[], pull_number: integer, team_reviewers?: string[] }
- `POST https://api.mcp.ai/api/github/remove/selected/repo/from/org/secret` — Removes a specific repository's access to an organization-level secret; the repository must have been previously granted access to this secret.
  - body: { org: string, secret_name: string, repository_id: integer }
- `POST https://api.mcp.ai/api/github/remove/status/check/contexts` — Removes specified status check contexts from a protected branch's required status checks. This action removes the specified status check contexts from the existing list of required status checks for a
  - body: { repo: string, owner: string, branch: string, contexts: string[] }
- `POST https://api.mcp.ai/api/github/remove/status/check/protection` — Removes status check protection from a branch, disabling required status checks for merging pull requests; will only have an effect if status check protection is currently configured on the branch.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/remove/team/access/restrictions` — Removes specified teams from push access to a protected branch. This action removes teams from the list of teams with push access to a protected branch. Removing a team will also remove push access fo
  - body: { repo: string, owner: string, teams: string[], branch: string }
- `POST https://api.mcp.ai/api/github/remove/team/membership/for/a/user` — Removes a user from a specific team within an organization. This action requires admin:org scope permissions. It will fail if: - Team synchronization with an Identity Provider (IdP) is enabled (403 Fo
  - body: { org: string, username: string, team_slug: string }
- `POST https://api.mcp.ai/api/github/remove/user/access/restrictions` — Removes specified users from the list of people allowed to push to a protected branch. Important notes: - This action only works on organization-owned repositories (not personal repos) - The branch mu
  - body: { repo: string, owner: string, users: string[], branch: string }
- `POST https://api.mcp.ai/api/github/remove/user/as/a/collaborator` — Removes a user as a collaborator from an organization project (classic). IMPORTANT: This action uses the Projects (classic) REST API which is being deprecated. The Projects (classic) feature was sunse
  - body: { username: string, project_id: integer }
- `POST https://api.mcp.ai/api/github/remove/users/codespaces/access/org` — Removes selected users from GitHub Codespaces billing access for an existing organization.
  - body: { org: string, selected_usernames: string[] }
- `POST https://api.mcp.ai/api/github/rename/a/branch` — Renames an existing branch in a GitHub repository; the new name must be unique and adhere to GitHub's naming conventions, and the current branch name cannot contain wildcard characters.
  - body: { repo: string, owner: string, branch: string, new_name: string }
- `POST https://api.mcp.ai/api/github/render/a/markdown/document` — Renders Markdown to HTML; for 'gfm' mode, provide 'context' (owner/repo) to correctly link issues, pull requests, and user mentions.
  - body: { mode?: string, text: string, context?: string }
- `POST https://api.mcp.ai/api/github/replace/all/repository/topics` — Replaces all topics of a repository.
  - body: { repo: string, names: string[], owner: string }
- `POST https://api.mcp.ai/api/github/replace/org/secret/visibility/to/selected` — Replaces the list of repositories that can access a Dependabot organization secret when the secret's visibility is already set to 'selected'.
  - body: { org: string, secret_name: string, selected_repository_ids: integer[] }
- `POST https://api.mcp.ai/api/github/replace/repo/access/on/org/dev/env/secret/set` — Replaces the list of repositories that can access an organization-level Codespaces secret. This operation completely replaces the existing list of repositories with the provided list. The secret must 
  - body: { org: string, secret_name: string, selected_repository_ids: integer[] }
- `POST https://api.mcp.ai/api/github/request/a/github/pages/build` — Manually triggers a GitHub Pages build for a repository if GitHub Pages is enabled, useful for deployments not automatically built or for retrying failed builds.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/request/reviewers/for/a/pull/request` — Adds reviewers to a specific pull request identified by owner, repo, and pull_number. This is NOT a search action - it operates on an already-known PR number. Requires `owner`, `repo`, `pull_number`, 
  - body: { repo: string, owner: string, reviewers?: string[], pull_number: integer, team_reviewers?: string[] }
- `POST https://api.mcp.ai/api/github/rerequest/a/check/run` — Triggers a re-run of a specific check run in a GitHub repository, resetting its status to 'queued', clearing its conclusion, and triggering the `check_run` webhook with `rerequested` action. IMPORTANT
  - body: { repo: string, owner: string, check_run_id: integer }
- `POST https://api.mcp.ai/api/github/rerequest/a/check/suite` — Triggers a new run of an existing check suite within a repository, resetting its status to 'queued', clearing its conclusion, and triggering the `check_suite` webhook with `rerequested` action. IMPORT
  - body: { repo: string, owner: string, check_suite_id: integer }
- `POST https://api.mcp.ai/api/github/reset/a/token` — Invalidates the provided OAuth `access_token` and generates a new one for the GitHub OAuth App identified by `client_id`. Used for token rotation when a token may be compromised or for regular securit
  - body: { client_id: string, access_token: string }
- `POST https://api.mcp.ai/api/github/restore/a/package/for/a/user` — Restores a user-owned package previously deleted from GitHub Packages, if restorable under GitHub's data retention policy (typically within 30 days of deletion).
  - body: { token?: string, username: string, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/restore/a/package/for/an/organization` — Restores a package in an organization, provided it was deleted within the last 30 days.
  - body: { org: string, token?: string, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/restore/a/package/for/the/authenticated/user` — Restores a package deleted by the authenticated user within the last 30 days, if its namespace and version are still available.
  - body: { token?: string, package_name: string, package_type: string }
- `POST https://api.mcp.ai/api/github/restore/a/package/version/for/the/authenticated/user` — Restores a package version that was deleted by the authenticated user within the last 30 days.
  - body: { package_name: string, package_type: string, package_version_id: integer }
- `POST https://api.mcp.ai/api/github/restore/package/version/for/a/user` — Restores a specific, user-owned package version if it was deleted within the last 30 days and its original namespace and version name are still available.
  - body: { username: string, package_name: string, package_type: string, package_version_id: integer }
- `POST https://api.mcp.ai/api/github/restore/package/version/for/an/organization` — Restores a package version for an organization, provided it was deleted within the last 30 days.
  - body: { org: string, package_name: string, package_type: string, package_version_id: integer }
- `POST https://api.mcp.ai/api/github/review/access/with/personal/token` — Approves or denies a pending fine-grained personal access token request for organization resources; must be performed by a GitHub App.
  - body: { org: string, action: string, reason?: string, pat_request_id: integer }
- `POST https://api.mcp.ai/api/github/review/deployment/protection/rules` — Approves or rejects pending custom deployment protection rules for a workflow run. This endpoint allows GitHub Apps to review their own pending custom deployment protection rules for a specific workfl
  - body: { repo: string, owner: string, state: string, run_id: integer, comment?: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/review/pending/deployments/for/a/workflow/run` — Approves or rejects pending deployments for a specific workflow run that are in a 'waiting' state within specified, configured environments.
  - body: { repo: string, owner: string, state: string, run_id: integer, comment: string, environment_ids: integer[] }
- `POST https://api.mcp.ai/api/github/review/resource/requests/with/fine/grained/tokens` — Approves or denies multiple fine-grained personal access token requests for an organization in bulk. This endpoint processes multiple PAT request approvals or denials in a single API call. All specifi
  - body: { org: string, action: string, reason?: string, pat_request_ids: integer[] }
- `POST https://api.mcp.ai/api/github/revoke/an/installation/access/token` — Revokes the GitHub App's current installation access token, immediately invalidating it for API authentication. IMPORTANT: This endpoint requires a GitHub App installation access token (ghs_* prefix) 
- `POST https://api.mcp.ai/api/github/search/code` — Searches code file contents and paths on the default branch of GitHub repositories using a query string; searches only files under 384KB, returns max 1000 results by best match, and is optimized for p
  - body: { q: string, page?: integer, sort?: string, order?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/search/commits` — Finds commits on GitHub using a query string (q) supporting keywords and qualifiers, with options for sorting and pagination.
  - body: { q: string, page?: integer, sort?: string, order?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/search/issues/and/pull/requests` — Searches GitHub for issues and pull requests. Supports keywords, qualifiers (repo:, org:, user:, state:, label:, author:, assignee:, mentions:, etc.), and type filters (is:issue, is:pr). Type filters 
  - body: { q: string, page?: integer, sort?: string, order?: string, per_page?: integer, response_detail?: string }
- `POST https://api.mcp.ai/api/github/search/labels` — Searches for labels within a GitHub repository by keywords in their names or descriptions.
  - body: { q: string, page?: integer, sort?: string, order?: string, per_page?: integer, repository_id: integer }
- `POST https://api.mcp.ai/api/github/search/repositories` — Searches GitHub repositories using a flexible query (keywords, qualifiers) with sorting, ordering, and pagination. IMPORTANT: The 'q' parameter (search query) is REQUIRED and must always be provided.
  - body: { q: string, page?: integer, sort?: string, order?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/search/topics` — Finds topics on GitHub using keywords and qualifiers with GitHub's search syntax, supporting pagination.
  - body: { q: string, page?: integer, per_page?: integer }
- `POST https://api.mcp.ai/api/github/search/users` — Searches for users on GitHub by criteria like username, email, location, followers, or repository associations, using a flexible query string `q`.
  - body: { q: string, page?: integer, sort?: string, order?: string, per_page?: integer }
- `POST https://api.mcp.ai/api/github/set/a/repository/subscription` — Sets the authenticated user's notification subscription for a repository.
  - body: { repo: string, owner: string, ignored?: boolean, subscribed?: boolean }
- `POST https://api.mcp.ai/api/github/set/a/thread/subscription` — Sets whether a GitHub notification thread is ignored (muted) or unignored (unmuted), for a `thread_id` that must identify an existing notification thread.
  - body: { ignored?: boolean, thread_id: integer }
- `POST https://api.mcp.ai/api/github/set/admin/branch/protection` — Enables administrator enforcement on a branch, making existing protection rules also apply to administrators; branch protection rules must already be configured.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/set/app/access/restrictions` — Replaces the list of GitHub Apps permitted to push to a protected branch. This action completely replaces the existing list of apps with push access - it does not add to or merge with the current list
  - body: { apps: string[], repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/set/default/workflow/permissions/for/a/repository` — Sets the default permissions for the GITHUB_TOKEN within a repository and configures whether GitHub Actions can approve pull requests.
  - body: { repo: string, owner: string, default_workflow_permissions?: string, can_approve_pull_request_reviews?: boolean }
- `POST https://api.mcp.ai/api/github/set/default/workflow/permissions/for/an/organization` — Updates an organization's default GITHUB_TOKEN permissions for workflows and whether GitHub Actions can approve pull requests; note that allowing Actions to approve pull requests (`can_approve_pull_re
  - body: { org: string, default_workflow_permissions?: string, can_approve_pull_request_reviews?: boolean }
- `POST https://api.mcp.ai/api/github/set/email/visibility` — Sets the visibility ('public' or 'private') of the authenticated user's primary email address on GitHub, if one is configured.
  - body: { visibility: string }
- `POST https://api.mcp.ai/api/github/set/github/actions/permissions/for/a/repository` — Sets GitHub Actions permissions for a repository, enabling/disabling Actions and defining the policy for allowed actions and reusable workflows.
  - body: { repo: string, owner: string, enabled: boolean, allowed_actions?: string }
- `POST https://api.mcp.ai/api/github/set/github/actions/permissions/for/an/organization` — Sets the GitHub Actions permissions policy for an organization, specifying which repositories can run Actions and which actions/workflows are allowed; if 'selected' is chosen for either, manage the sp
  - body: { org: string, allowed_actions?: string, enabled_repositories: string, sha_pinning_required?: boolean }
- `POST https://api.mcp.ai/api/github/set/interaction/restrictions/for/a/repository` — Temporarily limits which GitHub users (e.g., existing_users, contributors_only) can interact (comment, open issues, create pull requests) in a repository for a specified duration.
  - body: { repo: string, limit: string, owner: string, expiry?: string }
- `POST https://api.mcp.ai/api/github/set/interaction/restrictions/for/an/organization` — Limits interactions (comments, new issues, PRs) in an organization's public repositories by user type and duration, typically to mitigate high traffic or unwanted activity.
  - body: { org: string, limit: string, expiry?: string }
- `POST https://api.mcp.ai/api/github/set/interaction/restrictions/for/your/public/repos` — Sets or updates temporary interaction restrictions for all public repositories owned by the authenticated user, overriding any repository-specific limits.
  - body: { limit: string, expiry?: string }
- `POST https://api.mcp.ai/api/github/set/labels/for/an/issue` — Replaces all existing labels on a GitHub issue with a new set of labels.
  - body: { repo: string, owner: string, labels: string[], issue_number: integer }
- `POST https://api.mcp.ai/api/github/set/oidc/subject/claim/template` — Sets the OpenID Connect (OIDC) subject claim template for a GitHub repository, allowing use of the default template or a custom one defined by `include_claim_keys` if `use_default` is `false`.
  - body: { repo: string, owner: string, use_default: boolean, include_claim_keys?: string[] }
- `POST https://api.mcp.ai/api/github/set/org/allowed/actions` — Sets the GitHub Actions permissions for an existing organization, specifying allowed GitHub-owned actions, verified creator actions, and action/workflow patterns from public repositories.
  - body: { org: string, patterns_allowed?: string[], verified_allowed?: boolean, github_owned_allowed?: boolean }
- `POST https://api.mcp.ai/api/github/set/org/runner/labels` — Sets the custom labels for a self-hosted runner in an organization; this operation does not affect default system-assigned labels (e.g., 'self-hosted', 'linux', 'x64').
  - body: { org: string, labels: string[], runner_id: integer }
- `POST https://api.mcp.ai/api/github/set/repo/allowed/actions` — Sets allowed GitHub Actions and reusable workflows for a repository, managing permissions for GitHub-owned, verified creator, or specific pattern-matched actions/workflows (note: `patterns_allowed` ap
  - body: { repo: string, owner: string, patterns_allowed?: string[], verified_allowed?: boolean, github_owned_allowed?: boolean }
- `POST https://api.mcp.ai/api/github/set/repo/runner/labels` — Replaces all custom labels for a specific self-hosted runner in a repository; an empty list for `labels` removes all existing custom labels.
  - body: { repo: string, owner: string, labels: string[], runner_id: integer }
- `POST https://api.mcp.ai/api/github/set/selected/repos/for/org/variable` — Replaces the list of repositories that can access an organization-level variable; the variable's visibility must be 'selected'.
  - body: { org: string, name: string, selected_repository_ids: integer[] }
- `POST https://api.mcp.ai/api/github/set/selected/repositories/for/a/user/secret` — Defines the list of repositories permitted to access a specific Codespaces secret for the authenticated user.
  - body: { secret_name: string, selected_repository_ids: integer[] }
- `POST https://api.mcp.ai/api/github/set/selected/repositories/for/an/organization/secret` — Replaces the list of repositories that can access an organization secret; only effective if the secret's visibility is 'selected'. Prerequisites: - The organization secret must already exist - The sec
  - body: { org: string, secret_name: string, selected_repository_ids: integer[] }
- `POST https://api.mcp.ai/api/github/set/status/check/contexts` — Replaces required status check contexts for a protected branch, requiring admin permissions; an empty `contexts` array removes all checks.
  - body: { repo: string, owner: string, branch: string, contexts: string[] }
- `POST https://api.mcp.ai/api/github/set/team/access/restrictions` — Replaces the list of teams with push access to a protected branch. This action sets (replaces) the teams that have push access to a protected branch. Unlike 'Add team access restrictions' (POST), this
  - body: { repo: string, owner: string, teams: string[], branch: string }
- `POST https://api.mcp.ai/api/github/set/user/access/restrictions` — Replaces the list of users with push access to a protected branch in an organization repository. Important notes: - This action only works on organization-owned repositories (not personal repos) - The
  - body: { repo: string, owner: string, users: string[], branch: string }
- `POST https://api.mcp.ai/api/github/set/workflow/external/access` — Sets the access level for workflows outside a repository to use actions and reusable workflows within that repository.
  - body: { repo: string, owner: string, access_level: string }
- `POST https://api.mcp.ai/api/github/star/a/gist` — Stars a GitHub gist identified by `gist_id`; this action is idempotent and returns a 204 No Content status upon success, even if the gist is already starred.
  - body: { gist_id: string }
- `POST https://api.mcp.ai/api/github/star/a/repository/for/the/authenticated/user` — Stars a specified repository (identified by owner and repo name) for the authenticated user; this action is idempotent and succeeds even if the repository is already starred. Requires explicit reposit
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/start/a/codespace/for/the/authenticated/user` — Initiates the startup process for an existing GitHub Codespace (identified by `codespace_name`) if it's in a startable state like 'Available' or 'Stopped'.
  - body: { codespace_name: string }
- `POST https://api.mcp.ai/api/github/stop/a/codespace/for/an/organization/user` — Stops a running codespace for an organization member. This action allows organization administrators to stop a codespace that belongs to a member of their organization. The codespace must be in a runn
  - body: { org: string, username: string, codespace_name: string }
- `POST https://api.mcp.ai/api/github/stop/a/codespace/for/the/authenticated/user` — Stops a running or available Codespace for the authenticated user, pausing its execution and billing.
  - body: { codespace_name: string }
- `POST https://api.mcp.ai/api/github/submit/a/review/for/a/pull/request` — Finalizes a pending pull request review (identified by `review_id`) with a required `event` (APPROVE, REQUEST_CHANGES, COMMENT) and an optional `body`.
  - body: { body?: string, repo: string, event: string, owner: string, review_id: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/sync/fork/branch/with/upstream` — Synchronizes a branch in a forked GitHub repository with its upstream counterpart, assuming the repository is a fork, the branch exists, an upstream is configured, and the merge is conflict-free.
  - body: { repo: string, owner: string, branch: string }
- `POST https://api.mcp.ai/api/github/test/repository/webhook` — Triggers a simulated push event to test a repository's push webhook; a test event is only delivered if the webhook is subscribed to 'push' events, otherwise, it returns 204 No Content without sending 
  - body: { repo: string, owner: string, hook_id: integer }
- `POST https://api.mcp.ai/api/github/transfer/a/repository` — Initiates a repository transfer to a new owner (who must accept the request); if the new owner is an organization, it must be configured to allow transfers.
  - body: { repo: string, owner: string, new_name?: string, team_ids?: integer[], new_owner: string }
- `POST https://api.mcp.ai/api/github/unblock/a/user` — Unblocks a GitHub user, provided they are currently blocked by the authenticated user.
  - body: { username: string }
- `POST https://api.mcp.ai/api/github/unblock/user/from/organization` — Unblocks a user from an organization, allowing renewed interaction with its resources, provided the user is currently blocked (otherwise, a 404 error may occur).
  - body: { org: string, username: string }
- `POST https://api.mcp.ai/api/github/unfollow/a/user` — Unfollows an existing GitHub user; this action is idempotent, succeeding even if the authenticated user is not currently following them.
  - body: { username: string }
- `POST https://api.mcp.ai/api/github/unlock/an/issue` — Unlocks a currently locked GitHub issue in the specified repository, allowing new comments and interactions.
  - body: { repo: string, owner: string, issue_number: integer }
- `POST https://api.mcp.ai/api/github/unlock/organization/repository` — Unlocks a repository that was locked for migration within a GitHub organization. This action is part of the organization migrations workflow. When you start a migration with `lock_repositories=true`, 
  - body: { org: string, repo_name: string, migration_id: integer }
- `POST https://api.mcp.ai/api/github/unlock/user/repository` — Unlocks a repository (`repo_name`) that was locked as part of a user migration (`migration_id`), making it usable or deletable; this action requires the repository to be currently locked.
  - body: { repo_name: string, migration_id: integer }
- `POST https://api.mcp.ai/api/github/unstar/a/gist` — Removes a star from the specified gist; the action is idempotent and will not error if the gist was not previously starred by the user.
  - body: { gist_id: string }
- `POST https://api.mcp.ai/api/github/unstar/repository` — Removes the authenticated user's star from a specified repository, which must already be starred by the user.
  - body: { repo: string, owner: string }
- `POST https://api.mcp.ai/api/github/update/a/check/run` — Updates an existing check run for a specific commit in a repository, allowing modifications to its status, conclusion, output, and other details. NOTE: This endpoint requires GitHub App authentication
  - body: { name?: string, repo: string, owner: string, status?: string, actions?: string, conclusion?: string, started_at?: string, details_url?: string, external_id?: string, check_run_id: integer, completed_at?: string, output__text?: string, output__title?: string, output__images?: string, output__summary?: string, output__annotations?: string }
- `POST https://api.mcp.ai/api/github/update/a/code/scanning/alert` — Updates a specific code scanning alert in a GitHub repository, primarily to change its state (e.g., 'open' or 'dismissed').
  - body: { repo: string, owner: string, state: string, alert_number: integer, dismissed_reason?: string, dismissed_comment?: string }
- `POST https://api.mcp.ai/api/github/update/a/commit/comment` — Changes the body of an existing commit comment.
  - body: { body: string, repo: string, owner: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/update/a/custom/organization/role` — Updates an existing custom role in an organization by modifying its name, description, or permissions; at least one of these fields must be provided.
  - body: { org: string, name?: string, role_id: integer, base_role?: string, description?: string, permissions?: string[] }
- `POST https://api.mcp.ai/api/github/update/a/deployment/branch/policy` — Updates the name pattern of an existing deployment branch policy for a specific environment in a repository.
  - body: { name: string, repo: string, owner: string, branch_policy_id: integer, environment_name: string }
- `POST https://api.mcp.ai/api/github/update/a/discussion` — Updates the title and/or body of a specific team discussion within an organization.
  - body: { org: string, body?: string, title?: string, team_slug: string, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/update/a/discussion/comment` — Updates the body of a comment in a team's discussion within an organization.
  - body: { org: string, body: string, team_slug: string, comment_number: integer, discussion_number: integer }
- `POST https://api.mcp.ai/api/github/update/a/gist` — Updates a gist's description, and/or its files (including content, filename changes, or deletion).
  - body: { files?: string, gist_id: string, description?: string }
- `POST https://api.mcp.ai/api/github/update/a/gist/comment` — Updates an existing comment on a specified gist.
  - body: { body: string, gist_id: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/update/a/label` — Updates an existing label's name, color, or description within a specified repository.
  - body: { name: string, repo: string, color?: string, owner: string, new_name?: string, description?: string }
- `POST https://api.mcp.ai/api/github/update/a/milestone` — Updates a milestone in a repository, identified by `owner`, `repo`, and `milestone_number`, by allowing modification of its `title`, `state`, `description`, or `due_on`; at least one of these four att
  - body: { repo: string, owner: string, state?: string, title?: string, due_on?: string, description?: string, milestone_number: integer }
- `POST https://api.mcp.ai/api/github/update/a/project` — Updates an existing GitHub project (V2) attributes like title, description, visibility, and state. Note: This action uses GitHub's Projects V2 GraphQL API. The legacy Projects (classic) REST API was s
  - body: { org?: string, title?: string, closed?: boolean, public?: boolean, readme?: string, username?: string, project_number: integer, short_description?: string }
- `POST https://api.mcp.ai/api/github/update/a/pull/request` — Updates an existing pull request, allowing changes to attributes like title, body, state, base branch, and maintainer modification settings.
  - body: { base?: string, body?: string, repo: string, owner: string, state?: string, title?: string, pull_number: integer, maintainer_can_modify?: boolean }
- `POST https://api.mcp.ai/api/github/update/a/pull/request/branch` — Updates an open pull request's head branch by merging the latest changes from its base branch, if mergeable and repository merging is enabled; operates asynchronously.
  - body: { repo: string, owner: string, pull_number: integer, expected_head_sha?: string }
- `POST https://api.mcp.ai/api/github/update/a/reference` — Updates an existing Git reference (e.g., a branch or tag) to point to a specific commit SHA. By default, only allows fast-forward updates (where the new commit is a descendant of the current one). Set
  - body: { ref: string, sha: string, repo: string, force?: boolean, owner: string }
- `POST https://api.mcp.ai/api/github/update/a/release` — Updates an existing release in a GitHub repository, allowing modification of its attributes; if linking a discussion, the `discussion_category_name` must refer to an existing category in the repositor
  - body: { body?: string, name?: string, repo: string, draft?: boolean, owner: string, tag_name?: string, prerelease?: boolean, release_id: integer, make_latest?: string, target_commitish?: string, discussion_category_name?: string }
- `POST https://api.mcp.ai/api/github/update/a/release/asset` — Updates the name, label, or state of a release asset in a GitHub repository, requiring at least one of these properties to be provided for modification.
  - body: { name?: string, repo: string, label?: string, owner: string, state?: string, asset_id: integer }
- `POST https://api.mcp.ai/api/github/update/a/repository` — Updates settings for an existing GitHub repository, such as name, description, visibility, merge strategies, and security configurations.
  - body: { name?: string, repo: string, owner: string, private?: boolean, archived?: boolean, has_wiki?: boolean, homepage?: string, has_issues?: boolean, visibility?: string, description?: string, is_template?: boolean, has_projects?: boolean, allow_forking?: boolean, default_branch?: string, allow_auto_merge?: boolean, allow_merge_commit?: boolean, allow_rebase_merge?: boolean, allow_squash_merge?: boolean, merge_commit_title?: string, allow_update_branch?: boolean, merge_commit_message?: string, delete_branch_on_merge?: boolean, squash_merge_commit_title?: string, squash_merge_commit_message?: string, web_commit_signoff_required?: boolean, use_squash_pr_title_as_default?: boolean, security__and__analysis__secret__scanning__status?: string, security__and__analysis__advanced__security__status?: string, security__analysis__secret__scanning__push__protection__status?: string }
- `POST https://api.mcp.ai/api/github/update/a/repository/invitation` — Updates an active repository invitation to modify the invited user's permissions; the specified repository and invitation must exist.
  - body: { repo: string, owner: string, permissions?: string, invitation_id: integer }
- `POST https://api.mcp.ai/api/github/update/a/repository/ruleset` — Updates an existing repository ruleset, identified by `ruleset_id` for a given repository, allowing partial updates to its configuration such as name, target, enforcement, bypass actors, conditions, a
  - body: { name?: string, repo: string, owner: string, rules?: string, target?: string, ruleset_id: integer, enforcement?: string, bypass_actors?: string, conditions__ref__name__exclude?: string[], conditions__ref__name__include?: string[] }
- `POST https://api.mcp.ai/api/github/update/a/repository/variable` — Updates the name and/or value of an existing GitHub Actions variable in a repository.
  - body: { name: string, repo: string, owner: string, value?: string, new_name?: string }
- `POST https://api.mcp.ai/api/github/update/a/repository/webhook` — Updates the URL, content type, secret, SSL verification, events, or active status for an existing repository webhook, specified by `owner`, `repo`, and `hook_id`.
  - body: { repo: string, owner: string, active?: boolean, events?: string[], hook_id: integer, add_events?: string[], config__url?: string, remove_events?: string[], config__secret?: string, config__content__type?: string, config__insecure__ssl?: string }
- `POST https://api.mcp.ai/api/github/update/a/team` — Updates a team's settings (e.g., name, description, privacy, parent team) within a GitHub organization, identified by its slug and organization name.
  - body: { org: string, name?: string, privacy?: string, team_slug: string, permission?: string, description?: string, parent_team_id?: integer, notification_setting?: string }
- `POST https://api.mcp.ai/api/github/update/an/environment/variable` — Updates an existing environment variable's name and/or value in a specific GitHub repository environment; requires providing either a new name or a new value.
  - body: { name: string, repo: string, owner: string, value?: string, new_name?: string, environment_name: string }
- `POST https://api.mcp.ai/api/github/update/an/issue` — Updates an existing GitHub issue's title, body, state, milestone, labels, or assignees; `state_reason` is only processed if `state` also changes, and use `null` or `[]` to clear applicable fields.
  - body: { body?: string, repo: string, owner: string, state?: string, title?: string, labels?: string[], assignee?: string, assignees?: string[], milestone?: string, issue_number: integer, state_reason?: string }
- `POST https://api.mcp.ai/api/github/update/an/issue/comment` — Updates an existing comment on an issue or pull request within a specified repository. You can only update comments that the authenticated user has permission to edit. The comment_id can be obtained f
  - body: { body: string, repo: string, owner: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/update/an/organization` — Updates an organization's settings; changing security-related fields requires admin, owner, or security manager permissions.
  - body: { org: string, blog?: string, name?: string, email?: string, company?: string, location?: string, description?: string, billing_email?: string, twitter_username?: string, has_repository_projects?: boolean, members_can_create_pages?: boolean, has_organization_projects?: boolean, web_commit_signoff_required?: boolean, default_repository_permission?: string, members_can_create_public_pages?: boolean, members_can_create_repositories?: boolean, members_can_create_private_pages?: boolean, members_can_fork_private_repositories?: boolean, members_can_create_public_repositories?: boolean, members_can_create_private_repositories?: boolean, members_allowed_repository_creation_type?: string, members_can_create_internal_repositories?: boolean, secret_scanning_push_protection_custom_link?: string, secret_scanning_enabled_for_new_repositories?: boolean, dependency_graph_enabled_for_new_repositories?: boolean, advanced_security_enabled_for_new_repositories?: boolean, dependabot_alerts_enabled_for_new_repositories?: boolean, secret_scanning_push_protection_custom_link_enabled?: boolean, dependabot_security_updates_enabled_for_new_repositories?: boolean, secret_scanning_push_protection_enabled_for_new_repositories?: boolean }
- `POST https://api.mcp.ai/api/github/update/an/organization/variable` — Updates an existing GitHub Actions organization variable's name, value, or visibility (`all`, `private`, `selected`), requiring `selected_repository_ids` with valid repository IDs if visibility is `se
  - body: { org: string, name: string, value?: string, new_name?: string, visibility?: string, selected_repository_ids?: integer[] }
- `POST https://api.mcp.ai/api/github/update/an/organization/webhook` — Updates the configuration (URL, content type, secret, SSL verification), subscribed events, active status, or name of an existing webhook for a specified organization.
  - body: { org: string, name?: string, active?: boolean, events?: string[], hook_id: integer, config__url?: string, config__secret?: string, config__content__type?: string, config__insecure__ssl?: string }
- `POST https://api.mcp.ai/api/github/update/branch/protection` — Updates the protection settings for an existing branch in a repository, which must not contain wildcard characters.
  - body: { repo: string, owner: string, branch: string, lock_branch?: boolean, enforce_admins?: boolean, allow_deletions?: boolean, block_creations?: boolean, allow_force_pushes?: boolean, allow_fork_syncing?: boolean, restrictions__apps?: string[], restrictions__teams?: string[], restrictions__users?: string[], required_linear_history?: boolean, required__status__checks__checks?: object[], required__status__checks__strict?: boolean, required_conversation_resolution?: boolean, required__status__checks__contexts?: string[], required__pull__request__reviews__dismiss__stale__reviews?: boolean, required__pull_request__reviews__approving__review__count?: integer, required__pull_request__reviews__bypass__allowances__apps?: string[], required__pull_request__reviews__bypass__allowances__teams?: string[], required__pull_request__reviews__bypass__allowances__users?: string[], required__pull_request__reviews__dismiss__restrictions__apps?: string[], required__pull_request__reviews__dismiss__restrictions__teams?: string[], required__pull_request__reviews__dismiss__restrictions__users?: string[], required__pull_request__reviews__require__code__owner__reviews?: boolean, required__pull_request__reviews__require__last__push__approval?: boolean }
- `POST https://api.mcp.ai/api/github/update/code/scanning/default/setup` — Updates the default setup configuration for code scanning in a repository; GitHub Advanced Security must be enabled for the repository.
  - body: { repo: string, owner: string, state?: string, languages?: string[], query_suite?: string, runner_type?: string, runner_label?: string }
- `POST https://api.mcp.ai/api/github/update/codespace` — Updates an existing GitHub Codespace's machine type, display name, or recent folders for the authenticated user; machine type changes take effect on the next start.
  - body: { machine?: string, display_name?: string, codespace_name: string, recent_folders?: string[] }
- `POST https://api.mcp.ai/api/github/update/git/lfs/preference` — Sets the Git Large File Storage (LFS) preference for a repository during a source import. NOTE: This endpoint has been deprecated by GitHub as of April 12, 2024, and is no longer available. The Source
  - body: { repo: string, owner: string, use_lfs: string }
- `POST https://api.mcp.ai/api/github/update/organization/webhook/configuration` — Updates the configuration (URL, content type, secret, SSL verification) for an existing webhook within a specified organization.
  - body: { org: string, url?: string, secret?: string, hook_id: integer, content_type?: string, insecure_ssl?: string }
- `POST https://api.mcp.ai/api/github/update/pull/request/review` — Updates the body text of an existing pull request review.
  - body: { body: string, repo: string, owner: string, review_id: integer, pull_number: integer }
- `POST https://api.mcp.ai/api/github/update/pull/request/review/comment` — Updates the body of an existing review comment on a pull request.
  - body: { body: string, repo: string, owner: string, comment_id: integer }
- `POST https://api.mcp.ai/api/github/update/pull/request/review/protection` — Updates pull request review protection settings (e.g., required approvals, review dismissal, bypass allowances) for a branch; branch protection features must be available for the repository.
  - body: { repo: string, owner: string, branch: string, dismiss_stale_reviews?: boolean, require_code_owner_reviews?: boolean, require_last_push_approval?: boolean, dismissal__restrictions__apps?: string[], dismissal__restrictions__teams?: string[], dismissal__restrictions__users?: string[], required_approving_review_count?: integer, bypass__pull__request__allowances__apps?: string[], bypass__pull__request__allowances__teams?: string[], bypass__pull__request__allowances__users?: string[] }
- `POST https://api.mcp.ai/api/github/update/repository/preferences/for/check/suites` — Updates repository preferences for automatic Check Suite creation on code pushes, allowing configuration for specific GitHub Apps that must be installed on the repository with `checks:write` permissio
  - body: { repo: string, owner: string, auto_trigger_checks?: string }
- `POST https://api.mcp.ai/api/github/update/repository/webhook/configuration` — Updates the configuration (e.g., payload URL, content type, secret, SSL verification) for an existing webhook in a specified repository.
  - body: { url?: string, repo: string, owner: string, secret?: string, hook_id: integer, content_type?: string, insecure_ssl?: string }
- `POST https://api.mcp.ai/api/github/update/resource/access/with/tokens` — Revokes organization access for the personal access tokens identified by `pat_ids`; this action must be performed by a GitHub App, and `pat_ids` must be valid and associated with the organization. AUT
  - body: { org: string, action: string, pat_ids: integer[] }
- `POST https://api.mcp.ai/api/github/update/status/check/protection` — Updates required status checks for a branch, optionally requiring it to be up-to-date before merging.
  - body: { repo: string, owner: string, branch: string, checks?: object[], strict?: boolean, contexts?: string[] }
- `POST https://api.mcp.ai/api/github/update/the/authenticated/user` — Updates the authenticated user's GitHub profile; a new public email must be verified, and existing private emails remain private even if specified.
  - body: { bio?: string, blog?: string, name?: string, email?: string, company?: string, hireable?: boolean, location?: string, twitter_username?: string }
- `POST https://api.mcp.ai/api/github/update/token/org/access` — Revokes a fine-grained personal access token's access to an organization. IMPORTANT: This endpoint can ONLY be called by GitHub Apps with 'Personal access tokens' organization permissions (write). Per
  - body: { org: string, action?: string, pat_id: integer }
- `POST https://api.mcp.ai/api/github/upload/sarif/analysis` — Uploads a gzipped and Base64 encoded SARIF file to a GitHub repository for a specific commit and reference; use `checkout_uri` if SARIF paths are absolute.
  - body: { ref: string, repo: string, owner: string, sarif: string, validate?: boolean, tool_name?: string, commit_sha: string, started_at?: string, checkout_uri?: string }
- `POST https://api.mcp.ai/api/github/upsert/repo/custom/property/values` — Creates or updates up to 30 custom property values for a repository; custom properties must be predefined at the organization or repository level, and setting a property's value to `null` removes it.
  - body: { repo: string, owner: string, properties: string }
- `POST https://api.mcp.ai/api/github/verify/dev/container/permissions/accepted` — Verifies if the authenticated user has accepted permissions for a specific devcontainer configuration in a repository, typically to ensure awareness before a codespace is created or used.
  - body: { ref: string, repo: string, owner: string, devcontainer_path: string }

## Example prompts
- "What can I do in GitHub?"
- "Show me a summary of my GitHub account"

## More
- Page: https://new.mcp.ai/github
- Agent spec (llms.txt): https://new.mcp.ai/github/llms.txt
- Postman collection: https://new.mcp.ai/github/postman.json
