GitHub MCP Server
@jasona7
About GitHub MCP Server
A MCP Server with tools for interfacing with Discussions on Github
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp_github_discussions": {
"command": "python",
"args": [
"scripts/mcp/github/mcp_github_server.py"
]
}
}
}Tools
5Search for repositories based on various criteria
Get detailed information about a repository
Fetch issues from a repository
Fetch discussions from a repository
Get trending repositories by activity
Overview
What is GitHub MCP Server?
GitHub MCP Server is an implementation of the Model Context Protocol (MCP) that bridges AI assistants with the GitHub API. It allows AI models to search repositories, view discussions, analyze repository activity, and fetch repository statistics.
How to use GitHub MCP Server?
After installing dependencies (pip install requests) and setting the GITHUB_TOKEN environment variable, start the server with python scripts/mcp/github/mcp_github_server.py. Use the included client (python scripts/mcp/github/mcp_github_client.py) to interact via a terminal UI or call the exposed tools directly.
Key features of GitHub MCP Server
- Repository management and advanced search
- GitHub Discussions integration
- Activity analysis and trending repos
- Terminal UI client for exploration
- Configurable host and port via environment variables
Use cases of GitHub MCP Server
- Automate retrieval of repository metadata and issues
- Analyze GitHub Discussions for community insights
- Find trending repositories by recent activity or stars
- Integrate AI assistants with GitHub workflows
FAQ from GitHub MCP Server
What prerequisites are needed?
Python 3.8+ and a GitHub Personal Access Token with appropriate permissions.
How do I configure the server?
Set environment variables: GITHUB_TOKEN (required), MCP_HOST (default localhost), and MCP_PORT (default 8004).
What tools does the server provide?
search_repositories, get_repository_details, get_repository_issues, get_repository_discussions, and get_top_repos_by_activity.
How to troubleshoot connection refused errors?
Ensure the server is running and the port is not blocked by a firewall.
What about GitHub API rate limiting?
The server handles rate limits but may slow down during heavy usage.
More Version Control MCP servers
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.
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
Atlassian Data Center MCP
b1ffMCP servers for the Atlassian products (Bitbucket, Confluence, JIRA) of the Data Center version
Code Review Server
crazyrabbitLTCA MCP server for code reviews
MCP Atlassian
soopersetMCP server for Atlassian tools (Confluence, Jira)
Comments