github
v1.0.0GitHub MCP Server - List PRs, issues, repo info, and search code
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
github_pr_list
List pull requests for a GitHub repository with filtering options
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (username or organization) |
repo * | string | Repository name |
base | string | Filter by base branch |
direction | string | Sort direction |
head | string | Filter by head branch (format: user:branch) |
page | number | Page number |
per_page | number | Results per page (max 100) |
sort | string | Sort field |
state | string | Filter by PR state |
github_pr_view
View details of a specific pull request including optional diff
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
pull_number * | number | Pull request number |
repo * | string | Repository name |
include_diff | boolean | Include the diff content |
github_issue_list
List issues for a GitHub repository with filtering options
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
assignee | string | Filter by assignee username |
creator | string | Filter by creator username |
direction | string | Sort direction |
labels | string | Comma-separated list of label names |
page | number | Page number |
per_page | number | Results per page |
sort | string | Sort field |
state | string | Filter by issue state |
github_issue_view
View details of a specific issue including optional comments
| Parameter | Type | Description |
|---|---|---|
issue_number * | number | Issue number |
owner * | string | Repository owner |
repo * | string | Repository name |
include_comments | boolean | Include issue comments |
github_repo_info
Get detailed information and statistics about a GitHub repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_search_code
Search for code across GitHub repositories using GitHub code search syntax
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (GitHub code search syntax) |
order | string | Sort order |
page | number | Page number |
per_page | number | Results per page |
sort | string | Sort field |