GitHub CI/CD MCP Server
v1.2.2GitHub CI/CD MCP server with 70 tools for repos, PRs, Actions, deployments, billing, and more.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
github_get_authenticated_user
Get the authenticated GitHub user (validates token and shows login).
github_get_rate_limit
Check REST API rate limit status for the current token.
github_create_repository
Create a new repository for the authenticated user or an organization.
| Parameter | Type | Description |
|---|---|---|
name * | string | Repository name |
auto_init | boolean | Initialize with README (default true) |
description | string | Short description |
gitignore_template | string | Gitignore template name, e.g. Node |
org | string | Organization login; omit for user account |
private | boolean | Private repo (default false) |
github_get_repository
Get repository metadata.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_list_repositories
List repositories for a user or organization.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
per_page | number | Results per page (max 100) |
type | string | For orgs: all | public | private | forks | sources | member |
github_create_branch
Create a branch from an existing ref (e.g. main).
| Parameter | Type | Description |
|---|---|---|
branch * | string | New branch name |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
from_ref | string | Source ref (branch or SHA). Default: default branch |
github_fork_repository
Fork a repository to the authenticated user or an organization.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
default_branch_only | boolean | Fork only default branch |
organization | string | Org to fork into; default: your user |
github_list_commits
List commits on a branch or for the whole repo.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
per_page | number | Results per page (max 100) |
sha | string | Branch or commit SHA to start from |
github_get_commit
Get a single commit with files changed.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
ref * | string | Commit SHA |
repo * | string | Repository name |
github_compare_commits
Compare two commits (base...head) — useful for release notes and PR scope.
| Parameter | Type | Description |
|---|---|---|
base * | string | Base ref or SHA |
head * | string | Head ref or SHA |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_create_commit
Create a commit on a branch by updating one or more files (GitHub Git API — no local clone required).
| Parameter | Type | Description |
|---|---|---|
branch * | string | Branch to commit to |
files * | string | JSON array of { "path": "src/a.ts", "content": "...", "encoding": "utf-8" | "base64" } |
message * | string | Commit message |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_get_combined_status
Get combined commit status (legacy statuses + check runs summary) for CI/CD gates.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
ref * | string | Commit SHA or ref |
repo * | string | Repository name |
github_list_check_runs_for_ref
List GitHub Actions check runs for a commit ref.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
ref * | string | Commit SHA |
repo * | string | Repository name |
github_create_pull_request
Open a pull request (base ← head).
| Parameter | Type | Description |
|---|---|---|
base * | string | Base branch (e.g. main) |
head * | string | Head branch (or user:branch for forks) |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
title * | string | |
body | string | PR description (markdown) |
draft | boolean | Create as draft PR |
github_list_pull_requests
List pull requests for a repository.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
per_page | number | Results per page (max 100) |
state | string | open | closed | all (default open) |
github_get_pull_request
Get pull request details including merge status.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
pull_number * | number | |
repo * | string | Repository name |
github_merge_pull_request
Merge a pull request when checks pass (squash, merge, or rebase).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
pull_number * | number | |
repo * | string | Repository name |
commit_message | string | |
commit_title | string | |
merge_method | string | merge | squash | rebase (default squash) |
github_update_pull_request
Update PR title, body, or state (open/closed).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
pull_number * | number | |
repo * | string | Repository name |
body | string | |
state | string | open | closed |
title | string |
github_list_pull_request_files
List files changed in a pull request.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
pull_number * | number | |
repo * | string | Repository name |
github_create_pull_request_review
Submit a PR review (comment, approve, or request changes).
| Parameter | Type | Description |
|---|---|---|
event * | string | COMMENT | APPROVE | REQUEST_CHANGES |
owner * | string | Repository owner (user or org login) |
pull_number * | number | |
repo * | string | Repository name |
body | string | Review comment |
github_list_workflows
List GitHub Actions workflows in a repository.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_list_workflow_runs
List workflow runs (filter by workflow id, branch, or status).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
branch | string | |
per_page | number | Results per page (max 100) |
status | string | queued | in_progress | completed | failure | success | etc. |
workflow_id | number | Workflow ID |
github_get_workflow_run
Get details for a single workflow run.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
run_id * | number |
github_list_workflow_jobs
List jobs for a workflow run (steps, conclusions).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
run_id * | number |
github_rerun_workflow
Re-run a failed or cancelled workflow run.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
run_id * | number |
github_cancel_workflow_run
Cancel an in-progress workflow run.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
run_id * | number |
github_dispatch_workflow
Trigger a workflow_dispatch event (manual CI run).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
ref * | string | Branch or tag to run on |
repo * | string | Repository name |
workflow_id * | string | Workflow ID or filename e.g. deploy.yml |
inputs | string | JSON object of workflow input key/value pairs |
github_list_actions_secrets
List Actions secret names (values are never returned).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_list_actions_variables
List Actions variables for a repository (non-secret config).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_list_workflow_run_artifacts
List CI build artifacts for a workflow run.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
run_id * | number |
github_download_workflow_artifact
Get download URL metadata for a workflow artifact (follow URL with auth to download zip).
| Parameter | Type | Description |
|---|---|---|
artifact_id * | number | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_list_deployments
List deployments for a repository (CD history).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
environment | string | Filter by environment name |
per_page | number | Results per page (max 100) |
github_create_deployment
Create a deployment for a ref (triggers deployment workflows / environments).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
ref * | string | Branch, tag, or SHA |
repo * | string | Repository name |
auto_merge | boolean | Merge default branch into ref |
description | string | |
environment | string | e.g. production, staging |
required_contexts | string | JSON array of status check names, or "[]" for none |
github_create_deployment_status
Update deployment status (success, failure, in_progress) for CD observability.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | number | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
state * | string | error | failure | inactive | in_progress | queued | pending | success |
description | string | |
environment_url | string | Live site URL |
github_list_environments
List deployment environments and protection rules.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_get_user_billing_actions
Get GitHub Actions billing summary for the authenticated user (minutes, included vs paid).
github_get_org_billing_actions
Get GitHub Actions billing for an organization.
| Parameter | Type | Description |
|---|---|---|
org * | string | Organization login |
github_get_org_billing_overview
Get combined billing overview for an org (Actions, Packages, shared storage).
| Parameter | Type | Description |
|---|---|---|
org * | string | Organization login |
github_get_org_billing_usage_report
Request billing usage export metadata (org plans — requires billing admin).
| Parameter | Type | Description |
|---|---|---|
org * | string | Organization login |
github_create_issue
Create an issue in a repository.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
title * | string | |
assignees | string | JSON array of GitHub usernames |
body | string | |
labels | string | JSON array of label names |
github_list_issues
List issues (excludes pull requests unless filtered).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
labels | string | Comma-separated label names |
per_page | number | Results per page (max 100) |
state | string | open | closed | all |
github_get_issue
Get issue details by number.
| Parameter | Type | Description |
|---|---|---|
issue_number * | number | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_update_issue
Update issue title, body, state, or labels.
| Parameter | Type | Description |
|---|---|---|
issue_number * | number | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
body | string | |
labels | string | JSON array of label names (replaces all labels) |
state | string | open | closed |
title | string |
github_add_issue_comment
Add a comment to an issue or pull request.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
issue_number * | number | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_list_issue_comments
List comments on an issue or PR.
| Parameter | Type | Description |
|---|---|---|
issue_number * | number | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
per_page | number | Results per page (max 100) |
github_list_releases
List releases for a repository.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
per_page | number | Results per page (max 100) |
github_get_release_by_tag
Get a release by tag name.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
tag * | string | Tag name, e.g. v1.0.0 |
github_create_release
Create a GitHub release (optionally from an existing tag).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
tag_name * | string | Tag for the release, e.g. v1.0.0 |
body | string | Release notes (markdown) |
draft | boolean | |
name | string | Release title |
prerelease | boolean | |
target_commitish | string | Branch or commit if tag is new |
github_list_tags
List git tags in a repository.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
per_page | number | Results per page (max 100) |
github_create_tag
Create a lightweight or annotated tag ref via the Git API.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
sha * | string | Commit SHA to tag |
tag * | string | Tag name, e.g. v1.0.0 |
message | string | If set, creates an annotated tag object |
github_get_branch
Get branch metadata including protection status.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_get_branch_protection
Get branch protection rules for a branch.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_update_branch_protection
Update branch protection (require PR reviews, status checks, admins).
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
allow_deletions | boolean | |
allow_force_pushes | boolean | |
enforce_admins | boolean | |
required_pull_request_reviews | string | JSON: { "required_approving_review_count": 1 } |
required_status_checks | string | JSON: { "strict": true, "contexts": ["ci/build"] } |
restrictions | string | JSON: { "users": [], "teams": [], "apps": [] } or null to disable |
github_delete_branch_protection
Remove branch protection from a branch.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_list_branches
List branches in a repository.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
per_page | number |
github_list_webhooks
List repository webhooks.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
per_page | number | Results per page (max 100) |
github_create_webhook
Create a repository webhook (e.g. for CI notifications).
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
url * | string | Payload URL |
active | boolean | |
events | string | JSON array of events, default ["push","pull_request"] |
secret | string | Webhook secret |
github_delete_webhook
Delete a repository webhook by ID.
| Parameter | Type | Description |
|---|---|---|
hook_id * | number | |
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
github_list_collaborators
List collaborators and their permissions.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
per_page | number | Results per page (max 100) |
github_add_collaborator
Invite or add a collaborator to a repository.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org login) |
repo * | string | Repository name |
username * | string | |
permission | string | pull | push | admin | maintain | triage (default push) |
github_list_teams
List teams in an organization (for CI/CD access planning).
| Parameter | Type | Description |
|---|---|---|
org * | string | |
per_page | number | Results per page (max 100) |
github_graphql_query
Run a read-only GitHub GraphQL query (https://docs.github.com/en/graphql). Variables optional.
| Parameter | Type | Description |
|---|---|---|
query * | string | GraphQL query string |
variables | string | JSON object of GraphQL variables |
github_graphql_mutation
Run a GitHub GraphQL mutation (create/update via GraphQL API). Use with care.
| Parameter | Type | Description |
|---|---|---|
query * | string | GraphQL mutation string |
variables | string | JSON object of GraphQL variables |
github_graphql_repository_overview
Quick GraphQL snapshot: repo, default branch, latest commit, open PR count.
| Parameter | Type | Description |
|---|---|---|
name * | string | Repository name |
owner * | string |
git_status
Show working tree status in a local clone (branch, staged/unstaged files).
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to git repository root |
git_commit
Stage all changes and create a local commit.
| Parameter | Type | Description |
|---|---|---|
message * | string | Commit message |
path * | string | Path to git repository root |
all | boolean | Stage all changes (default true). If false, only staged files |
git_push
Push commits to remote (set upstream on first push if needed).
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to git repository root |
branch | string | Branch to push; default current branch |
remote | string | Remote name (default origin) |
set_upstream | boolean | Use -u on push (default true for new branches) |
git_pull
Pull from remote with rebase (ff-only friendly for CI branches).
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to git repository root |
branch | string | |
rebase | boolean | Use --rebase (default true) |
remote | string | Default origin |
git_log
Recent commit log on current branch.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to git repository root |
max_count | number | Number of commits (default 10) |
git_clone
Clone a repository into a directory (uses local git, not API).
| Parameter | Type | Description |
|---|---|---|
directory * | string | Target directory path |
url * | string | HTTPS or SSH clone URL |
branch | string | Optional branch to checkout |