GitHub MCP Server
Enables querying GitHub repositories for pull requests, commits, and comparisons to understand code changes.
README
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-server
Or use with npx:
npx @bugzy-ai/github-mcp-server
Configuration
Set the GITHUB_TOKEN environment variable with a token that has repo scope:
export GITHUB_TOKEN=ghp_your_token_here
Available 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.