rriesco-mcp-github

v0.1.5
rriesco-mcp-github Checked 12 hours ago Published 10 months ago

MCP server for GitHub API operations - issues, PRs, CI, milestones

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

batch_update_issues

Update multiple GitHub issues in parallel (max 50 per batch). Each update object: {issue_number (required), title, body, state, labels, milestone, assignees} Note: labels/assignees replace existing (not append). Returns: {total, successful, failed, success_rate, execution_time_seconds, results}

ParameterTypeDescription
updates *array
max_workersinteger
ownerstring
repostring

batch_add_labels

Add labels to multiple issues in parallel. Labels are ADDED (not replaced). Each operation: {issue_number (required), labels (required)} Returns: {total, successful, failed, success_rate, execution_time_seconds, results}

ParameterTypeDescription
operations *array
max_workersinteger
ownerstring
repostring

check_ci_status

Check CI workflow status for a branch. Returns overall and per-workflow status. Returns: {overall_status, overall_conclusion, branch, workflows: [{name, status, conclusion, url, jobs}]} If no CI runs found, returns status="no_runs".

ParameterTypeDescription
branch *string
ownerstring
repostring

get_ci_logs

Get CI workflow logs for debugging failed jobs. Provide either branch OR run_id (not both). Optional filters: - job_name: filter by job name (e.g., "test", "lint") - status: "failure" (default), "success", or "all" - max_lines: tail N lines of logs (default: 200) Returns: {run_id, run_url, branch, status, conclusion, jobs: [{job_id, name, status, conclusion, logs, log_url}]}

ParameterTypeDescription
branch
job_name
max_linesinteger
ownerstring
repostring
run_id
statusstring

create_issues

Create GitHub issues (1 or more). Parallel execution for multiple. Each issue: {title (required), body, labels, milestone, assignees} Options: - max_workers: parallel workers (default: 5, max: 10) Returns: {total, successful, failed, results: [{index, success, data/error}]}

ParameterTypeDescription
issues *array
max_workersinteger
ownerstring
repostring

get_issue

Retrieve full GitHub issue details including body content. Returns: {number, title, body, state, labels, milestone, created_at, updated_at, url}

ParameterTypeDescription
issue_number *integer
ownerstring
repostring

list_issues

List and filter GitHub issues with pagination. Optional filters: - state: "open" (default), "closed", or "all" - labels: filter by label names - milestone: filter by milestone title (not number) - assignee: filter by username, or "none" for unassigned - sort: "created" (default), "updated", or "comments" - limit: max issues to return (default: 30, max: 100) Returns: {total, count, issues: [{number, title, state, labels, milestone, assignee, url}]}

ParameterTypeDescription
assignee
directionstring
labels
limitinteger
milestone
ownerstring
repostring
sortstring
statestring

close_issue

Close a GitHub issue with optional comment and reason. Optional: - comment: add closing comment before closing - state_reason: "completed" or "not_planned" Returns: {number, state, state_reason, comment_added, url}

ParameterTypeDescription
issue_number *integer
comment
ownerstring
repostring
state_reason

create_milestone

Create a GitHub milestone. Optional: - description: markdown description - due_date: ISO 8601 format (e.g., "2025-12-31T23:59:59Z") - state: "open" (default) or "closed" Returns: {number, title, description, state, due_on, url}

ParameterTypeDescription
title *string
descriptionstring
due_date
ownerstring
repostring
statestring

list_milestones

List repository milestones with filtering and sorting. Options: - state: "open" (default), "closed", or "all" - sort: "due_on" (default) or "completeness" - direction: "asc" (default) or "desc" Returns: {total, milestones: [{number, title, state, open_issues, closed_issues, due_on, url}]}

ParameterTypeDescription
directionstring
ownerstring
repostring
sortstring
statestring

create_pr_with_content

Create a GitHub PR with structured content. Auto-detects current branch as head. Required content: - problem: why this change is needed (2-4 sentences) - solution: how it works (4-8 sentences) - key_changes: bulleted markdown list of changes Optional: - issue: GitHub issue number to close (adds "Closes #N" to PR) Returns: {pr_number, url, state, head, base, created_at}

ParameterTypeDescription
key_changes *string
problem *string
solution *string
title *string
basestring
issue
ownerstring
repostring

get_pull_request

Get PR details including mergeable status and statistics. Returns: {number, title, state, merged, mergeable, mergeable_state, draft, head, base, commits, additions, deletions, changed_files, created_at, updated_at, merged_at, url} mergeable_state: "clean", "dirty", "unstable", "blocked", or "unknown"

ParameterTypeDescription
pr_number *integer
ownerstring
repostring

update_pr

Update PR metadata. Only provided fields are updated; None values ignored. Optional updates: - title: new PR title - body: new PR description - base: change base branch - state: "open" or "closed" Returns: {number, title, state, updated_fields, url} Note: Cannot update merged PRs.

ParameterTypeDescription
pr_number *integer
base
body
ownerstring
repostring
state
title

merge_pr

Merge a PR after checking mergeable status. Options: - merge_method: "squash" (default), "merge", or "rebase" - commit_title/commit_message: custom merge commit text (squash/merge only) - delete_branch: delete head branch after merge (default: True) Returns: {merged, sha, message, branch_deleted}

ParameterTypeDescription
pr_number *integer
commit_message
commit_title
delete_branchboolean
merge_methodstring
ownerstring
repostring