mcp-github
v0.1.1GitHub for AI agents — repos, files, code search, issues, PRs, commits.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_repositories
Search GitHub repositories.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | number |
get_repository
Repo metadata (stars, language, default branch, …).
| Parameter | Type | Description |
|---|---|---|
repo * | string | "owner/repo" or a github URL |
list_issues
List issues (excludes PRs).
| Parameter | Type | Description |
|---|---|---|
repo * | string | "owner/repo" or a github URL |
state | string |
get_issue
Get one issue with body.
| Parameter | Type | Description |
|---|---|---|
number * | number | |
repo * | string | "owner/repo" or a github URL |
list_pull_requests
List pull requests.
| Parameter | Type | Description |
|---|---|---|
repo * | string | "owner/repo" or a github URL |
state | string |
get_pull_request
Get one PR with diff stats.
| Parameter | Type | Description |
|---|---|---|
number * | number | |
repo * | string | "owner/repo" or a github URL |
search_code
Search code across GitHub (qualifiers like repo:/language: supported).
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | number |
get_file
Read a file (or list a directory) from a repo.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
repo * | string | "owner/repo" or a github URL |
branch | string |
list_commits
Recent commits on the default branch.
| Parameter | Type | Description |
|---|---|---|
repo * | string | "owner/repo" or a github URL |
limit | number |