MCP Tools
MCP Tools
The GitHub plugin provides access to all tools from the official GitHub MCP server,
including:
- Repository operations (clone, read files, search)
- Issue management (create, update, search, comment)
- Pull request operations (create, review, merge)
- Branch and commit operations
- And more…
Prerequisites
You’ll need:- GitHub Personal Access Token: A token with appropriate permissions for the operations you want to perform
- Docker (for local mode only): Docker must be installed and running if you choose to run the MCP server locally
Creating a GitHub Personal Access Token
1
Navigate to GitHub Settings
2
Generate New Token
Click “Generate new token” (classic) or “Generate new token (fine-grained)” depending on your needs.For classic tokens, grant the following scopes based on your needs:
repo
- Full control of private repositoriesread:org
- Read org and team membershipuser
- Read user profile data
3
Save the Token
Copy the generated token - you’ll need it for configuration.
Configuration
Configure the GitHub plugin by runninguv run unpage configure
or by editing
the ~/.unpage/profiles/<profile_name>/config.yaml
file:
Configuration Options
Your GitHub Personal Access Token. Can also be set via the
GITHUB_PERSONAL_ACCESS_TOKEN
environment variable.The mode to run the GitHub MCP server in:
remote
: Connect to GitHub’s hosted MCP server athttps://api.githubcopilot.com/mcp/
local
: Run the GitHub MCP server locally using Docker (ghcr.io/github/github-mcp-server
)
Whether to enable read-only mode. When
true
, agents can only read data from GitHub
but cannot make modifications (create issues, merge PRs, etc.).Tool Usage
Once configured, all tools from the GitHub MCP server become available to your agents, prefixed withgithub_
:
github_search_repositories
- Search for repositoriesgithub_create_issue
- Create a new issuegithub_create_pull_request
- Create a pull requestgithub_get_file_contents
- Read file contents from a repository- And many more…