github_ops
Perform GitHub operations for repositories, issues, pull requests, releases, workflows, secrets, and search via the gh CLI, enabling centralized project management.
Instructions
GitHub operations via gh CLI — 66 actions. Requires: gh auth login.
REPOS: repo_list, repo_view, show_repo, repo_create, repo_fork, repo_clone, repo_rename, repo_archive, repo_edit, repo_set_topics (repo_delete: REST/webapp only, not on MCP) ISSUES: issue_list, issue_view, issue_create, issue_close, issue_comment PRs: pr_list, pr_view, pr_create, pr_merge, pr_checkout, pr_close, pr_comment RELEASES: release_list, release_view, release_create, release_delete, release_update, release_upload ACTIONS: workflow_list, workflow_run, workflow_runs, workflow_cancel, workflow_disable, workflow_enable LABELS: label_list, label_create, label_delete SECRETS: secrets_list, secrets_set, secrets_delete COLLABORATORS: collaborator_add, collaborator_remove SEARCH: search_repos, search_repos_topic, search_issues, search_code (pretty=), code_find_repos PROJECTS: project_list, project_view, project_create, project_delete, project_edit PACKAGES: package_list, package_view, package_delete GITINGEST: gitingest_link, gitingest_convert_url, gitingest_help MISC: auth_status, gist_list
Search queries take normal GitHub syntax with several qualifiers, e.g. query='user:me updated:>=2026-10-01 -label:bug'. search_issues also scopes by owner= (and repo=) and returns PRs with include_prs=True or is:pr in query.
Non-blocking: subprocess runs in thread pool, never freezes MCP server. release_delete needs confirm=True + confirm_token (red-shelf gate). repo_delete was removed from the MCP surface (webapp/CLI only).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>"
},
"name": "github_ops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| body | No | ||
| repo | No | ||
| draft | No | ||
| label | No | ||
| limit | No | ||
| owner | No | ||
| query | No | ||
| state | No | open | |
| title | No | ||
| topic | No | ||
| pretty | No | ||
| run_id | No | ||
| topics | No | ||
| clobber | No | ||
| confirm | No | ||
| private | No | ||
| subpath | No | ||
| assignee | No | ||
| category | No | ||
| homepage | No | ||
| new_name | No | ||
| tag_name | No | ||
| username | No | ||
| extension | No | ||
| operation | Yes | ||
| pr_number | No | ||
| add_topics | No | ||
| github_url | No | ||
| label_name | No | ||
| permission | No | push | |
| prerelease | No | ||
| target_dir | No | ||
| asset_files | No | ||
| base_branch | No | ||
| description | No | ||
| head_branch | No | ||
| include_prs | No | ||
| label_color | No | ||
| secret_name | No | ||
| workflow_id | No | ||
| issue_number | No | ||
| merge_method | No | merge | |
| package_name | No | ||
| package_type | No | ||
| path_pattern | No | ||
| release_name | No | ||
| search_scope | No | ||
| secret_value | No | ||
| confirm_token | No | ||
| output_format | No | markdown | |
| remove_topics | No | ||
| project_number | No | ||
| label_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||