GitHub MCP Server
Provides tools for searching repositories, getting repository details and contents, creating and listing issues, and managing labels via the GitHub API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub MCP Serverfind repositories about machine learning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub MCP Server
A Model Context Protocol (MCP) server that provides GitHub API integration.
Features
🔍 Search repositories
📁 Get repository details and contents
🐛 Create and list issues
🏷️ Manage labels and states
Related MCP server: github-mcp-tool
Setup
Install dependencies:
npm installCreate a GitHub Personal Access Token:
Click "Generate new token (classic)"
Select scopes:
repo,read:userCopy the token
Configure environment:
cp .env.example .env # Edit .env and add your GitHub tokenRun the server:
npm start
Available Tools
search_repositories
Search for GitHub repositories.
Parameters:
query(required): Search querysort: Sort field (stars, forks, updated)order: Sort order (asc, desc)per_page: Results per page (max 100)
get_repository
Get details about a specific repository.
Parameters:
owner(required): Repository ownerrepo(required): Repository name
get_repository_contents
Get contents of a file or directory in a repository.
Parameters:
owner(required): Repository ownerrepo(required): Repository namepath(required): Path to file or directoryref: Branch, tag, or commit SHA
create_issue
Create a new issue in a repository.
Parameters:
owner(required): Repository ownerrepo(required): Repository nametitle(required): Issue titlebody: Issue bodylabels: Array of label names
list_issues
List issues in a repository.
Parameters:
owner(required): Repository ownerrepo(required): Repository namestate: Issue state (open, closed, all)labels: Comma-separated list of labelsper_page: Results per page (max 100)
Integration with SplitCosts
This GitHub MCP server can be used alongside your SplitCosts project to:
Track issues related to cost splitting features
Search for similar open-source projects
Manage project documentation and collaboration
Automate GitHub workflows related to your project
Usage Examples
With Claude Desktop
Add this to your Claude Desktop configuration:
{
"mcpServers": {
"github": {
"command": "node",
"args": ["/path/to/github-mcp-server/index.js"]
}
}
}Standalone Testing
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | node index.jsThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables interaction with GitHub repositories through the GitHub API using fastMCP. Supports repository information retrieval and management with secure token-based authentication.Last updated
- Flicense-qualityDmaintenanceEnables managing GitHub repositories, files, and user information through MCP, with support for creating, updating, and deleting repository contents, as well as fetching user profiles.Last updated1
- Alicense-qualityDmaintenanceEnables AI-powered GitHub interactions including repository analysis, code search, PR reviews, and more through the MCP protocol.Last updated4MIT
- Alicense-qualityDmaintenanceMCP (Model Context Protocol) server for GitHub API integration. This server provides comprehensive tools for interacting with GitHub repositories, issues, pull requests, branches, and code search through a unified interface.Last updated17MIT
Related MCP Connectors
GitHub Private MCP Pack — access private repos, org data via OAuth.
An MCP server that gives your AI access to the source code and docs of all public github repos
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mdabdullahfaruque/github-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server