Provides tools for listing pull requests, getting commit details, and comparing changes on GitHub repositories.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub MCP Serverlist open pull requests in facebook/react"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub MCP Server
A Model Context Protocol (MCP) server for GitHub operations. This server provides tools for listing PRs, getting commit details, and comparing changes - useful for understanding what changed in a build or investigating test failures.
Installation
npm install -g @bugzy-ai/github-mcp-serverOr use with npx:
npx @bugzy-ai/github-mcp-serverRelated MCP server: GitHub MCP Server
Configuration
Set the GITHUB_TOKEN environment variable with a token that has repo scope:
export GITHUB_TOKEN=ghp_your_token_hereAvailable Tools
github_list_prs
List pull requests in a repository with optional filters.
Parameters:
owner(required): Repository ownerrepo(required): Repository namestate(optional): Filter by state - "open", "closed", or "all" (default: "all")base(optional): Filter by base branchsort(optional): Sort by "created", "updated", "popularity", or "long-running"direction(optional): Sort direction - "asc" or "desc"per_page(optional): Results per page (max 100)page(optional): Page number
github_get_pr
Get detailed information about a specific pull request.
Parameters:
owner(required): Repository ownerrepo(required): Repository namepull_number(required): Pull request number
github_list_commits
List commits on a branch with optional date range filters.
Parameters:
owner(required): Repository ownerrepo(required): Repository namesha(optional): Branch name, tag, or commit SHAsince(optional): Only commits after this date (ISO 8601)until(optional): Only commits before this date (ISO 8601)per_page(optional): Results per page (max 100)page(optional): Page number
github_get_commit
Get detailed information about a specific commit.
Parameters:
owner(required): Repository ownerrepo(required): Repository nameref(required): Commit SHA, branch name, or tag name
github_compare_commits
Compare two commits, branches, or tags.
Parameters:
owner(required): Repository ownerrepo(required): Repository namebase(required): Base ref (branch, tag, or SHA)head(required): Head ref (branch, tag, or SHA)per_page(optional): Results per page (max 100)page(optional): Page number
MCP Configuration
Add to your .mcp.json:
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@bugzy-ai/github-mcp-server"],
"env": {
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
}
}License
Apache-2.0
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bugzy-ai/github-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
