GitHub MCP Server
@jomejia23
About GitHub MCP Server
using git_hub_mcp_server
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"github_mcp_server": {
"command": "npx",
"args": [
"@modelcontextprotocol/server-github"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is GitHub MCP Server?
The GitHub MCP Server provides a standardized way to interact with GitHub's API using the Model Context Protocol (MCP), enabling automated interactions between AI models and GitHub repositories.
How to use GitHub MCP Server?
Install the package (npm install @modelcontextprotocol/server-github), set your GitHub Personal Access Token as the environment variable GITHUB_PERSONAL_ACCESS_TOKEN, then start the server with npx @modelcontextprotocol/server-github. Configuration can be done through the claude_desktop_config.json file.
Key features of GitHub MCP Server
- GitHub API Integration
- Authentication using Personal Access Tokens
- Repository Management
- Issue and Pull Request Handling
- File Operations
- Branch Management
Use cases of GitHub MCP Server
- Automate issue tracking and triage across repositories.
- Manage pull request reviews and merges programmatically.
- Perform file read/write operations on repository files.
- Create, list, and switch branches via AI models.
FAQ from GitHub MCP Server
How do I install the GitHub MCP Server?
Install the npm package: npm install @modelcontextprotocol/server-github.
How do I configure authentication?
Set your GitHub Personal Access Token as the environment variable GITHUB_PERSONAL_ACCESS_TOKEN.
How do I start the GitHub MCP Server?
Run the command npx @modelcontextprotocol/server-github.
Where can I configure the server settings?
The server can be configured through the claude_desktop_config.json file, which should include the necessary GitHub authentication tokens and server settings.
Frequently asked questions
How do I install the GitHub MCP Server?
Install the npm package: `npm install @modelcontextprotocol/server-github`.
How do I configure authentication?
Set your GitHub Personal Access Token as the environment variable `GITHUB_PERSONAL_ACCESS_TOKEN`.
How do I start the GitHub MCP Server?
Run the command `npx @modelcontextprotocol/server-github`.
Where can I configure the server settings?
The server can be configured through the `claude_desktop_config.json` file, which should include the necessary GitHub authentication tokens and server settings.
Basic information
More Version Control MCP servers
GitMCP
idosalPut an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
Atlassian Bitbucket MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.
MCP Git Ingest
adhikaspA Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

GitLab
modelcontextprotocolModel Context Protocol Servers

Github
modelcontextprotocolModel Context Protocol Servers
Comments