GitHub MCP Server
@Sami-07
About GitHub MCP Server
A Simple custom-built MCP server that provides GitHub integration features through various tools and resources.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"custom-github-mcp-server": {
"command": "python",
"args": [
"server.py"
]
}
}
}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?
A custom-built MCP server that provides GitHub integration features through various tools and resources, allowing AI assistants or clients to interact with GitHub data programmatically.
How to use GitHub MCP Server?
Install dependencies with pip install -r requirements.txt, create a .env file with your GITHUB_TOKEN, and run python server.py. The server then exposes tools and resources for interacting with GitHub (e.g., user info, repositories, issues, commit statuses).
Key features of GitHub MCP Server
- Get user information and profile details
- List user repositories and followers
- Get and create repository issues
- Get commit statuses for a specific SHA
- Retrieve owner (authenticated user) information
- Resource-based access to GitHub data via custom URI scheme
- Simple setup with a personal access token
Use cases of GitHub MCP Server
- Fetch a GitHub user’s profile and public repositories
- List followers of a given GitHub user
- Retrieve open issues from a repository, optionally with labels
- Create a new issue with title, body, and labels
- Check commit statuses (CI/CD results) for a specific commit
FAQ from GitHub MCP Server
What is GitHub MCP Server and how does it differ from the GitHub API?
It acts as a lightweight MCP wrapper around the GitHub API, providing a simple tool‑ and resource‑based interface for common operations like user info, repos, and issues, without requiring direct API calls.
What are the runtime requirements?
Python 3 and the packages listed in requirements.txt (e.g., pip install). A GitHub personal access token is required, stored in a .env file.
What permissions does the GitHub token need?
The token requires repo (full control of private repositories), read:user (read user profile data), and user:follow (follow/unfollow users). Create one at https://github.com/settings/personal-access-tokens.
How do I run the server?
After setting up the token, run python server.py. The server listens for MCP requests (likely over stdio).
Can I create a new issue using this server?
Yes, the create_issue tool allows creating issues with owner, repo, title, body, and optional labels.
Frequently asked questions
What is GitHub MCP Server and how does it differ from the GitHub API?
It acts as a lightweight MCP wrapper around the GitHub API, providing a simple tool‑ and resource‑based interface for common operations like user info, repos, and issues, without requiring direct API calls.
What are the runtime requirements?
Python 3 and the packages listed in `requirements.txt` (e.g., `pip install`). A GitHub personal access token is required, stored in a `.env` file.
What permissions does the GitHub token need?
The token requires `repo` (full control of private repositories), `read:user` (read user profile data), and `user:follow` (follow/unfollow users). Create one at https://github.com/settings/personal-access-tokens.
How do I run the server?
After setting up the token, run `python server.py`. The server listens for MCP requests (likely over stdio).
Can I create a new issue using this server?
Yes, the `create_issue` tool allows creating issues with owner, repo, title, body, and optional labels.
Basic information
More Version Control MCP servers
Integrate MCP with GitHub Copilot
skillsLearn how to use MCP Servers with GitHub Copilot
🚀 GitLab MR MCP
kopfrechnerInteract seamlessly with GitLab repositories to manage merge requests and issues. Fetch details, add comments, and streamline your code review process with ease.
Bitbucket Server MCP
garc33GitLab MCP Server
yoda-digitalProduction-grade GitLab MCP server with 86 tools — full GitLab control from any AI agent (Claude, Cursor, Zed).
Gerrit Review MCP Server
cayirtepeomerThis MCP server provides integration with Gerrit code review system, allowing AI assistants to review code changes and their details through a simple interface.
Comments