by ildunari
A Model Context Protocol (MCP) server that provides comprehensive GitHub repository operations through a simple CLI interface.
# Run directly with npx (no installation needed) npx @ildunari/github-mcp-server --github-token YOUR_GITHUB_TOKEN # Or use environment variable export GITHUB_TOKEN=your_token_here npx @ildunari/github-mcp-server --github-token $GITHUB_TOKEN
npm install -g @ildunari/github-mcp-server @ildunari/github-mcp-server --github-token YOUR_GITHUB_TOKEN
Go to GitHub Settings → Developer settings → Personal access tokens
Generate a new token (classic) with these scopes:
repo (for private repositories)public_repo (for public repositories)read:user (for user information)Use the token with the CLI:
npx @ildunari/github-mcp-server --github-token ghp_your_token_here
github_repo_info - Get repository informationgithub_list_contents - List directory contentsgithub_get_file_content - Get file contentgithub_get_readme - Get repository READMEgithub_search_code - Search code in repositorygithub_list_issues - List repository issuesgithub_get_issue - Get specific issue detailsgithub_list_pulls - List pull requestsgithub_get_pull - Get specific pull request detailsgithub_list_branches - List repository branchesgithub_user_info - Get user informationOptions: -t, --github-token GitHub access token for API requests [required] -r, --rate-limit Rate limit delay in ms between requests [default: 100] -h, --help Show help
# Start the MCP server npx @ildunari/github-mcp-server --github-token YOUR_TOKEN # The server will run on stdio and accept MCP requests
# Slower rate limiting (500ms between requests) npx @ildunari/github-mcp-server --github-token YOUR_TOKEN --rate-limit 500
For use with Claude Desktop or other MCP clients:
*Configuration content*
All tools support two detail levels:
summary (default) - Condensed informationdetailed - Full API responseExample tool call:
*Configuration content*
The server includes comprehensive error handling for:
MIT License
ildunari
No version information available
0 contributors