github-repo-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | Yes | GitHub fine-grained personal access token with read-only Contents, Issues, Pull requests, and Actions permissions, scoped to the repos you want this server to access. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_repoB | Get metadata for a repo: description, stars, language, default branch, visibility. |
| list_reposA | List every repo in this server's allowlist, with basic metadata for each. |
| list_branchesB | List branches in a repo. |
| list_commitsA | List recent commits on a branch. |
| get_file_contentsB | Read a file's contents from a repo at a given ref. |
| list_issuesA | List issues in a repo, filterable by state, label, and assignee. |
| get_issueA | Get full detail for one issue, including its comment thread. |
| list_pull_requestsB | List pull requests in a repo, filterable by state and branch. |
| get_pull_requestA | Get detail for one PR: diff stats, mergeable state, and review status. |
| search_codeA | Search code within a single allowlisted repo. Note: GitHub's code search only indexes forks that have more stars than their parent repo, and can lag for low-activity repos - a 0-result response may mean 'not indexed yet' rather than 'no matches'. |
| get_workflow_runsA | Get recent GitHub Actions workflow run status (pass/fail) for a repo. |
| get_notificationsA | Get your unread GitHub notifications (mentions, review requests), filtered to repos in this server's allowlist. Requires the token's Notifications account permission - not required by other tools. |
| search_trending_reposA | Find trending repos for a topic across all of public GitHub, ranked by star count among repos created/pushed recently. This is a proxy for github.com/trending, which has no official API - it is not an exact match for that page's algorithm. Not restricted to the repo allowlist, since it searches public GitHub data at large. |
| pingA | Health check — returns pong plus the current server time. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| summarize_prs_for_review | Lists open PRs on a repo and summarizes what each one changes. |
| weekly_repo_digest | Summarizes a repo's commits, issues, PRs, and CI status from the last week. |
| whats_trending | Summarizes trending public repos for a GitHub topic. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/technomad641/github-repo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server