alokverma18/github-mcp
GitHub MCP Server
Platform-specific configuration:
{
"mcpServers": {
"github-mcp": {
"command": "npx",
"args": [
"-y",
"github-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A Spring Boot-based custom MCP (Model Context Protocol) server that provides GitHub API integration for any MCP-compatible IDE or AI agent.
Add to your MCP configuration:
{
"github": {
"serverUrl": "https://github-mcp.up.railway.app/mcp",
"headers": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}Create token at GitHub Settings > Developer settings > Personal access tokens with scopes: repo, read:user
githubListRepositories - List repositoriesgithubGetAuthenticatedUser - Get user profile githubGetUser - Get user by usernamegithubGetRepository - Get repository detailsgithubListBranches - List repository branchesgithubListCommits - List repository commitsgithubSearchRepositories - Search repositoriesgithubSearchCode - Search code in repositorygithubAnalyzePullRequest - Analyze PR detailsmcp://github - GitHub overviewmcp://github/user - User profilemcp://github/repositories - Repository listmcp://github/stats - Account statisticsmcp://github/dashboard - Complete dashboardIDE/Agent → HTTP POST /mcp → Spring Security → Spring AI MCP → GitHubTools → GitHub APIMulti-stage Dockerfile for production:
See LEARN.md for detailed architecture, MCP protocol, and development guide.
MIT License
Loading reviews...