@this-npm-test-org/connection-github-mcp
v0.1.3
Published
MCP server for GitHub. Manage repos, issues, pull requests, and code search via the GitHub API.
Readme
GitHub
MCP server for interacting with GitHub repositories, issues, pull requests, and code search. Based on the official GitHub MCP server. Full read access to public and private repos. Write operations (create issues, comment on PRs, merge) require confirmation.
Useful for development workflows, code review automation, issue triage, release management, and any task that needs to read or write GitHub data.
Install
amodal install mcp githubTools exposed
- search_code — Search for code across repositories using GitHub code search syntax. Returns file paths, matched lines, and repository context.
- search_issues — Search issues and pull requests with filters for state, labels, assignee, milestone, and date range.
- get_issue — Get full issue details including body, labels, assignees, comments, and timeline events.
- create_issue — Create a new issue with title, body, labels, and assignees (confirmation required).
- get_pull_request — Get PR details including diff stats, review status, check results, and merge status.
- list_pull_request_files — List all files changed in a PR with patch diffs and status (added, modified, removed).
- create_pull_request_review — Submit a PR review with comments, approve, or request changes (confirmation required).
- get_file_contents — Read a file or directory from a repository at a specific ref (branch, tag, commit).
- list_commits — List commits on a branch with author, message, date, and changed file counts.
- list_branches — List branches with their latest commit and protection status.
- merge_pull_request — Merge a PR using merge commit, squash, or rebase strategy (confirmation required).
Configuration
env:
GITHUB_TOKEN: "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"GITHUB_TOKEN— GitHub personal access token or fine-grained token. Scopes needed depend on operations:repofor private repos,read:orgfor org data. Required.
Example usage
- "Find all TODO comments in the api-server repo"
- "Show me open PRs that have been waiting for review more than 3 days"
- "What changed in the last 5 commits on the main branch?"
- "Create an issue for the bug we just discussed with a reproduction steps section"
