mewcp-github MCP Server

A Model Context Protocol (MCP) server that exposes GitHub's API for managing repositories, issues, pull requests, branches, releases, tags, branch protection, and repository rulesets.

Local server

What is the mewcp-github MCP Server?

mewcp-github is an MCP project maintained in the asthetech/mewcp-github repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that exposes GitHub's API for managing repositories, issues, pull requests, branches, releases, tags, branch protection, and repository rulesets”. Read the project documentation for the complete scope.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ownerstring, required) — Repository owner
repostring, required) — Repository name
privateboolean, optional, default: false) — Make repository private (default: False for public).
default_branchstring, optional) — Default branch name
auto_initboolean, optional, default: false) — Auto-initialize with README (default: False).
gitignore_templatestring, optional) — Gitignore template name. Example: 'Python', 'Node'.
orgstring, required) — Organization name
pathstring, optional, default: "/") — File or directory path
contentstring, required) — File content to write.
messagestring, required) — Commit message.
branchstring, required) — Branch name
shastring, required) — Commit SHA
files_jsonstring, required) — JSON array of file objects with path and content keys. Example: '[{"path": "file1.txt", "content": "hello"}]'
author_namestring, optional) — Author name (optional).
author_emailstring, optional) — Author email (optional).
querystring, required) — Search query using GitHub search syntax.
sortstring, optional, default: "created") — Sort by: created, updated, popularity, or long-running
orderstring, optional, default: "desc") — Sort order: asc or desc.
pageinteger, optional, default: 1) — Page number
perPageinteger, optional, default: 30) — Number of tags per page (1-100).
per_pageinteger, optional, default: 30) — Results per page
statestring, optional) — 'open' or 'closed' (optional)
labelsstring[], optional) — New list of labels (optional).
issue_numberinteger, required) — Issue number
titlestring, optional) — New title (optional)
bodystring, required) — Reply text
assigneesstring[], optional) — New list of assignees (optional).
milestoneinteger, optional) — Milestone ID (optional).
state_reasonstring, optional) — Reason when closing: completed, not_planned (optional).
contributor_usernamesstring, required) — GitHub username(s) to filter by. Comma-separated for multiple.
repo_typestring, optional, default: "all") — Filter by type: all, public, or private.
methodstring, required) — create, submit_pending, delete_pending, resolve_thread, or unresolve_thread
sub_issue_idinteger, required) — ID of the sub-issue
replace_parentboolean, optional, default: false) — Replace current parent when adding
after_idinteger, optional) — Sub-issue ID to position after
before_idinteger, optional) — Sub-issue ID to position before
base_refstring, optional) — Git reference to start from (optional).
custom_instructionsstring, optional) — Additional context for Copilot (optional).
pull_numberinteger, required) — Pull request number
directionstring, optional, default: "desc") — Sort direction: asc or desc
basestring, optional) — New base branch (optional)
headstring, required) — Branch containing changes
draftboolean, optional) — Mark as draft/ready (optional)
maintainer_can_modifyboolean, optional) — Allow maintainer edits (optional)
reviewersstring[], optional) — Request reviews from users (optional)
merge_methodstring, optional, default: "merge") — 'merge', 'squash', or 'rebase'
commit_titlestring, optional) — Custom commit title (optional)
commit_messagestring, optional) — Commit message details (optional)
expected_head_shastring, optional) — Expected HEAD SHA (optional)
commit_idstring, optional) — Commit SHA (required for create)
eventstring, optional) — APPROVE, REQUEST_CHANGES, or COMMENT
thread_idstring, optional) — Thread ID for thread operations
comment_idinteger, required) — ID of the comment to reply to
authorstring, optional) — Filter by author login
sincestring, optional) — ISO 8601 date: YYYY-MM-DD
untilstring, optional) — ISO 8601 date: YYYY-MM-DD
include_diffboolean, optional, default: true) — Include file changes in diff
refstring, optional) — Branch, tag, or commit SHA
tagstring, required) — Tag name (e.g., 'v1.0.0')
enforce_adminsboolean, required) — Enforce for admins
required_status_checksobject, optional) — Required status checks config
required_pull_request_reviewsobject, optional) — Required PR reviews config
restrictionsobject, optional) — User/team restrictions
required_linear_historyboolean, optional, default: false) — Require linear history
allow_force_pushesboolean, optional) — Allow force pushes
allow_deletionsboolean, optional, default: false) — Allow deletions
block_creationsboolean, optional, default: false) — Block creations
required_conversation_resolutionboolean, optional, default: false) — Require conversation resolution
lock_branchboolean, optional, default: false) — Lock branch
allow_fork_syncingboolean, optional, default: false) — Allow fork syncing
dismiss_stale_reviewsboolean, optional) — Dismiss stale reviews
require_code_owner_reviewsboolean, optional) — Require code owner reviews
required_approving_review_countinteger, optional) — Required approving reviews
require_last_push_approvalboolean, optional) — Require last push approval
dismissal_restrictionsobject, optional) — Dismissal restrictions
includes_parentsboolean, optional, default: true) — Include parent rulesets
ruleset_idinteger, required) — Ruleset ID
enforcementstring, optional) — active, evaluate, or disabled
targetstring, optional) — Updated target: branch, tag, or push
conditionsobject, optional) — Updated conditions
rulesobject[], optional) — Updated rules
bypass_actorsobject[], optional) — Updated bypass actors