Purpose
Use this MCP to:- List repositories and branches
- View and manage pull requests
- Create and update issues
- Search code across repositories
- Review PR changes and comments
Setup
Get GitHub Copilot access
This MCP requires an active GitHub Copilot subscription. Subscribe at github.com/features/copilot.
Get your Copilot token
- Sign in to GitHub with Copilot enabled
- Generate a Copilot API token from your account settings
- Copy the token (starts with
ghu_)
Available tools
list_repos
List repositories you have access to.list_pull_requests
List pull requests in a repository.get_pull_request
Get detailed information about a specific PR.create_issue
Create a new issue in a repository.search_code
Search for code across repositories.Usage examples
Review open PRs
Create issue from user story
Find implementation details
Common workflows
PR review workflow
- List open PRs with
list_pull_requests - Get PR details with
get_pull_request - Review changes and files
- Comment or approve the PR
Bug tracking workflow
- Create issue in GitHub with
create_issue - Link to ClickUp user story
- Notify team in Slack
Code exploration
- Search for specific functions or patterns
- Navigate to file locations
- Understand implementation details
Integration with ClickUp
You can link GitHub issues and PRs to ClickUp tasks:Best practices
Use specific repository names
Use specific repository names
Always specify the owner and repo name to avoid ambiguity. For example:
PropHero-Tech/orders-agent instead of just orders-agent.Include context in issues
Include context in issues
When creating issues, include relevant context from ClickUp initiatives and epics so the issue is self-contained.
Link PRs to tasks
Link PRs to tasks
Reference ClickUp task IDs in PR descriptions to maintain traceability between code and product work.
Search before creating
Search before creating
Before creating a new issue, search existing issues to avoid duplicates.
Troubleshooting
Authentication failed
Authentication failed
Verify your GitHub Copilot token is valid and hasn’t expired. Generate a new token if needed.
No access to repository
No access to repository
Make sure your GitHub account has access to the organization and repository you’re trying to query.
Rate limit errors
Rate limit errors
GitHub API has rate limits. If you hit the limit, wait a few minutes before retrying.