GitHub MCP Server
@peterparker57
About GitHub MCP Server
GitHub MCP server with enhanced file management capabilities
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
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?
A Model Context Protocol (MCP) server that provides GitHub integration through a set of tools for repository management, file operations, and commit handling. It enables developers and AI assistants to interact with GitHub repositories programmatically.
How to use GitHub MCP Server?
Install the package via npm, then add the server to your MCP settings file with the required environment variables (GITHUB_TOKEN_<N>, GITHUB_OWNER_<N>, and optionally DEFAULT_OWNER). Once configured, tools such as create_repository, push_file, pull_file, and create_commit are available for use through an MCP client.
Key features of GitHub MCP Server
- Account management (list and select multiple GitHub accounts)
- Repository creation, cloning, and renaming
- File push, pull, and bidirectional directory sync
- Commit creation and listing with filters
- Repository comparison and diffing
- Supports multiple GitHub accounts via numbered environment variables
Use cases of GitHub MCP Server
- Automate repository creation and renaming in CI/CD pipelines
- Push local files to a GitHub repository with a commit message
- Pull files from a repository for local development or analysis
- Sync entire directories between a local folder and a remote repository
- List and filter commits for auditing or release tracking
FAQ from GitHub MCP Server
What are the runtime dependencies?
The server requires Node.js and npm for installation and execution.
How do I authenticate with GitHub?
Set the GITHUB_TOKEN_<N> and GITHUB_OWNER_<N> environment variables, where <N> is a number starting from 1. Use a GitHub personal access token and the corresponding username.
Can I use multiple GitHub accounts?
Yes. Configure multiple accounts by incrementing the number in the environment variable names (e.g., GITHUB_TOKEN_1, GITHUB_TOKEN_2). Use list_accounts and select_account to switch between them.
What is the DEFAULT_OWNER environment variable for?
It sets the default GitHub account (owner) to use when a tool call does not specify an owner explicitly.
Frequently asked questions
What are the runtime dependencies?
The server requires Node.js and npm for installation and execution.
How do I authenticate with GitHub?
Set the `GITHUB_TOKEN_<N>` and `GITHUB_OWNER_<N>` environment variables, where `<N>` is a number starting from 1. Use a GitHub personal access token and the corresponding username.
Can I use multiple GitHub accounts?
Yes. Configure multiple accounts by incrementing the number in the environment variable names (e.g., `GITHUB_TOKEN_1`, `GITHUB_TOKEN_2`). Use `list_accounts` and `select_account` to switch between them.
What is the `DEFAULT_OWNER` environment variable for?
It sets the default GitHub account (owner) to use when a tool call does not specify an owner explicitly.
Basic information
More Version Control MCP servers
GitHub MCP Server Extension for Zed
LoamStudiosA GitHub MCP Server extension for Zed
Linear MCP Server
jerhadfA server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.

Github
modelcontextprotocolModel Context Protocol Servers
MCP Linear
tacticlaunchMCP server that enables AI assistants to interact with Linear project management system through natural language, allowing users to retrieve, create, and update issues, projects, and teams.
Comments