Claude Desktop Configuration
Add this to your Claude Desktop configuration file:
{
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your-github-token-here"
}
}
}
Requirements
- Node.js 18 or higher
- GitHub Personal Access Token
- Claude Desktop installed
Setup Steps
- 1Create a GitHub Personal Access Token with repo access
- 2Install the server: npm install -g @modelcontextprotocol/server-github
- 3Add the configuration with your token
- 4Test the connection with a simple command
List repository issues
Managing and reviewing GitHub issues
Prompt:
Show me open issues in owner/repo
Expected Output:
A list of open issues with titles, numbers, and descriptions
Create a pull request
Automating pull request creation
Prompt:
Create a PR from feature-branch to main with title "Add new feature"
Expected Output:
Confirmation of PR creation with the PR URL
Detailed Metrics
Popularity
Stars54,633
Forks6,249
Watchers54,633
Quality
Documentation✓ Good
LicenseMIT License
LanguageJavaScript
Maintenance
Last CommitToday
Open Issues478
Contributors1
Repository
Size3.7 MB
CreatedNov 2024
Live data • Updated 8:40:00 AM
Quality Factors
Documentation
✓ Has READMERepository has a README with description
License
✓ MIT LicenseOpen source license for legal clarity
Test Coverage
Coming SoonAutomated tests ensure reliability
TypeScript
Coming SoonType safety for better developer experience
NPM Downloads
Coming SoonWeekly download statistics from NPM
Security Scan
Coming SoonVulnerability detection and alerts