github-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | Yes | A fine-grained, read-only GitHub token used by the server to access the GitHub REST API. The token stays in the server process and never reaches the model. | |
| GITHUB_API_URL | No | Optional GitHub API base URL, used for CI/offline fake GitHub testing. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_repositoriesA | List the authenticated user's own GitHub repositories (name, description, language, stars, visibility, last push), plus the total number that match. Use for questions about WHICH repos exist, counting repos, or finding a repo by topic or language. Do NOT use for details of one named repo (use get_repository) or for issues, pull requests or commits. |
| get_repositoryA | Get metadata for ONE repository: description, primary language, stars, forks, watchers, default branch, license, topics, created/last-pushed dates. Do NOT use to count or list issues (its open_issues_and_prs mixes issues with pull requests; use list_open_issues), for pull requests (use list_pull_requests), or to see who changed what (use get_recent_commits). |
| list_open_issuesA | List the currently OPEN issues of ONE repository, newest first, optionally filtered by a single label, with the exact total of open issues. Pull requests are excluded. Use for 'what is open', 'how many open issues', or 'open bugs in X'. Do NOT use for closed issues, keyword search, or issues across all repos (use search_issues), or for pull requests (use list_pull_requests). |
| search_issuesA | Full-text search over issues (not code, not repos, not pull requests) across ALL of the user's repositories, or one repo if given. Supports open or closed state. Use when the question has a keyword ('issues mentioning auth'), asks about CLOSED issues, or spans every repo. Do NOT use to list a repo's open issues with no keyword (use list_open_issues) or to find repositories (use list_repositories). |
| list_pull_requestsA | List the pull requests (PRs) of ONE repository: number, title, author, draft flag, branches, and whether it was merged, plus the total that match. Filter by open, closed or all. Use for 'open PRs', 'what is waiting for review', or 'which PRs were merged'. Do NOT use for issues (use list_open_issues or search_issues) or for the commit history of a branch (use get_recent_commits). |
| get_recent_commitsA | List the most recent commits of ONE repository: SHA, author, date and message, optionally filtered by days back, author login, or branch. Use for 'what changed', 'who committed', 'last commit', or activity in the last N days. Do NOT use for repository metadata such as stars or language (use get_repository) or for pull requests (use list_pull_requests). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct resource plus action, and the descriptions explicitly cross-reference the alternatives ('Do NOT use... use X') for the genuinely close pairs: list_open_issues vs search_issues, and list_repositories vs get_repository. An agent can route any GitHub question to exactly one tool without guessing.
All six tools follow a strict verb_noun snake_case pattern (list_*, get_*, search_*), with verbs that accurately signal scope. The singular/plural split between get_repository and list_repositories is a deliberate and readable distinction, not an inconsistency.
Six tools is a lean but well-scoped set where every tool earns its place and none overlap. It sits at the low end for a domain as broad as GitHub, though the narrow read-only query focus justifies the restraint.
The surface is complete for browsing activity (repos, issues, PRs, commits) but stops at read-only: there is no create/update/comment on issues or PRs, no get_issue or get_pull_request for a single item's detail or diff, and no code or file content access. Agents asking 'show me issue #42' or 'comment on this PR' hit dead ends.