GitHub Server
Overview
The GitHub server provides comprehensive integration with GitHub repositories, enabling AI assistants to manage issues, pull requests, code files, and development workflows programmatically.Getting Started
What You Can Do
Issue Management
Pull Request Workflows
Code Operations
Repository Search
Use Cases
Development Automation
Development Automation
- PR Creation: Automatically create pull requests from feature branches with proper descriptions
- Code Reviews: Generate review comments and suggestions based on code changes
- Issue Triage: Automatically label and assign issues based on content analysis
- Branch Management: Create feature branches and manage merge workflows
Project Management
Project Management
- Issue Tracking: Monitor project progress through issue creation and updates
- Status Reports: Generate project status reports from commit history and PR activity
- Team Coordination: Track team member contributions and code review assignments
- Release Management: Coordinate releases by analyzing commit history and issue resolution
Code Intelligence
Code Intelligence
- Code Search: Find similar patterns, functions, or implementations across repositories
- Documentation Updates: Automatically update documentation based on code changes
- Security Monitoring: Track and respond to security scanning alerts
- Dependency Analysis: Monitor repository dependencies and update requirements
Available Tools (39)
User Operations
User Operations
get_me
get_me
Issue Management
Issue Management
get_issue
get_issue
create_issue
create_issue
list_issues
list_issues
update_issue
update_issue
search_issues
search_issues
get_issue_comments
get_issue_comments
add_issue_comment
add_issue_comment
Pull Request Management
Pull Request Management
get_pull_request
get_pull_request
create_pull_request
create_pull_request
list_pull_requests
list_pull_requests
update_pull_request
update_pull_request
merge_pull_request
merge_pull_request
get_pull_request_files
get_pull_request_files
get_pull_request_status
get_pull_request_status
update_pull_request_branch
update_pull_request_branch
get_pull_request_comments
get_pull_request_comments
get_pull_request_reviews
get_pull_request_reviews
create_pull_request_review
create_pull_request_review
add_pull_request_review_comment
add_pull_request_review_comment
request_copilot_review
request_copilot_review
File & Code Operations
File & Code Operations
create_or_update_file
create_or_update_file
get_file_contents
get_file_contents
push_files
push_files
Repository Management
Repository Management
search_repositories
search_repositories
create_repository
create_repository
fork_repository
fork_repository
Branch & Commit Operations
Branch & Commit Operations
list_branches
list_branches
create_branch
create_branch
list_commits
list_commits
get_commit
get_commit
Search Operations
Search Operations
search_code
search_code
search_users
search_users
Security & Scanning
Security & Scanning
get_code_scanning_alert
get_code_scanning_alert
list_code_scanning_alerts
list_code_scanning_alerts
get_secret_scanning_alert
get_secret_scanning_alert
list_secret_scanning_alerts
list_secret_scanning_alerts
Resources
The GitHub server provides direct access to GitHub data through resource endpoints.Collection Endpoints
Collection Endpoints
Repositories
github://repositoriesAccess repository listings and metadata
Issues
github://issuesBrowse issues across accessible repositories
Pull Requests
github://pull-requestsView pull request data and status
Users
github://usersAccess user profiles and information
Individual Record Endpoints
Individual Record Endpoints
Repository
github://repositories/{owner}/{repo}Get specific repository details
Issue
github://issues/{owner}/{repo}/{number}Get individual issue details
Pull Request
github://pull-requests/{owner}/{repo}/{number}Get specific pull request information
User
github://users/{username}Get user profile and activity
Guardrails
In addition to the 14 universal guardrails, this server has 30 server-specific guardrails across 13 operations.| Guardrail | Operation | Timing | Description |
|---|---|---|---|
| Redact Commit Author Email | get_commit | Response | Redacts author email addresses from commit data |
| Redact Owned Private Repos Count | get_me | Response | Redacts information about owned private repositories |
| Redact Private Gists Count | get_me | Response | Redacts information about private gists |
| Redact Total Private Repos Count | get_me | Response | Redacts information about total private repositories |
| Redact User Email Addresses | get_me | Response | Redacts email addresses from user data |
| Redact User Location | get_me | Response | Redacts user location data |
| Redact User Real Name | get_me | Response | Redacts user’s real name |
| Redact Team Member Email | get_team_members | Response | Redacts email addresses from team member data |
| Restrict Team Access to Vetted Orgs | get_team_members | Request | Only allows team operations on vetted organizations |
| Redact Issue Author Information | issue_read | Response | Redacts author information from issues |
| Filter Branches to Vetted List | list_branches | Response | Redacts non-vetted branches from branch listings |
| Filter Commits to Vetted Authors | list_commits | Response | Redacts commits from non-vetted authors |
| Filter Issues to Vetted Repos | list_issues | Response | Redacts issues from non-vetted repositories |
| Filter Notifications to Vetted Repos | list_notifications | Response | Redacts notifications from non-vetted repositories |
| Filter Pull Requests to Vetted Repos | list_pull_requests | Response | Redacts pull requests from non-vetted repositories |
| Redact PR Author Information | pull_request_read | Response | Redacts author information from pull requests |
| Filter Code Search Results | search_code | Response | Redacts code results from non-vetted repositories |
| Restrict Code Search | search_code | Request | Only allows code searches within vetted repositories |
| Filter Issue Search Results | search_issues | Response | Redacts issues from non-vetted repositories in search results |
| Restrict Issue Search | search_issues | Request | Only allows searching issues within vetted repositories |
| Filter Pull Request Search Results | search_pull_requests | Response | Redacts PRs from non-vetted repositories in search results |
| Restrict Pull Request Search | search_pull_requests | Request | Only allows searching PRs within vetted repositories |
| Filter Repository Search Results | search_repositories | Response | Redacts non-vetted repositories from search results |
| Restrict Repository Search | search_repositories | Request | Only allows searching within vetted repositories |
| Filter User Search Results | search_users | Response | Redacts users outside vetted organizations from search results |
| Redact Email from User Search | search_users | Response | Redacts email addresses from user search results |
| Redact Private Repositories | (all operations) | Response | Redacts private repository information from all responses |
| Restrict to Vetted Organizations | (all operations) | Request | Only allows operations on repositories from whitelisted organizations |
| Restrict to Vetted Repositories | (all operations) | Request | Only allows operations on whitelisted repositories |

