github-repo-mcp-server
Provides tools for querying GitHub data, including personal repositories, issues, pull requests, commit history, file contents, code search, workflow runs, and notifications, as well as discovering trending public repositories by topic.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@github-repo-mcp-serverwhat are the latest issues in my repo?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
github-repo-mcp-server
An MCP (Model Context Protocol) server that lets an AI assistant query GitHub on your behalf β your own repos, issues, PRs, and CI status, plus discovery of trending repos by topic across public GitHub.
See SPEC.md for the full design and development plan.
Status
π§ Under active development, built milestone by milestone. Current: M5 β prompts.
M0 β Project scaffold: TypeScript + MCP SDK, minimal
pingtool over stdioM1 β GitHub client + config (Octokit auth, repo allowlist)
M2 β Tier 1 read-only personal-repo tools (12 tools)
M3 β
search_trending_reposdiscovery toolM4 β MCP resources (README, issue/PR content)
M5 β MCP prompts (reusable templates)
M6 β Tests, hardening, docs
Related MCP server: GitHub Analytics MCP Server
Requirements
Node.js 18+ (developed against Node 20; see
.nvmrc)
Configuration
Copy
.env.exampleto.envand setGITHUB_TOKENto a fine-grained personal access token with read-onlyContents,Issues,Pull requests, andActionspermissions, scoped to the repos you want this server to access.List those repos (as
"owner/repo"strings) inconfig.jsonβ this is the allowlist personal-scope tools are restricted to. Thesearch_trending_repostool (M3) is exempt, since it queries public GitHub data rather than a specific repo.get_notificationsadditionally needs the token's Notifications account permission (separate section from repository permissions on the token creation page) β every other tool works without it.
Tools (M2 β Tier 1, read-only)
get_repo, list_repos, list_branches, list_commits,
get_file_contents, list_issues, get_issue, list_pull_requests,
get_pull_request, search_code, get_workflow_runs, get_notifications.
Each was verified against a live repo during development; see individual commit messages for what was and wasn't exercised against real data.
Tools (M3 β global discovery)
search_trending_repos β not allowlist-gated, since it searches public
GitHub data rather than a specific repo.
Resources (M4)
URI template | Content |
| The repo's README, as markdown |
| Issue title, body, and comments |
| PR title, description, diff stats |
All allowlist-gated the same as the Tier 1 tools.
Prompts (M5)
Name | What it does |
| Finds open PRs and summarizes which need attention |
| Commits, issues, PRs, and CI status from the last week |
| Trending public repos for a GitHub topic |
Getting started
npm install
npm run dev # run the server directly via tsx
npm run build # compile to dist/
npm start # run the compiled serverThe server communicates over stdio, following the MCP protocol β it's meant to be launched by an MCP-compatible host (e.g. Claude Code), not run standalone in a terminal.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceProvides access to GitHub trending projects through MCP, allowing AI assistants to query popular repositories filtered by language and time range (daily/weekly/monthly).Last updated
- Alicense-qualityDmaintenanceEnables querying and analysis of public GitHub repositories for statistics, contributor data, and commit history. It provides both a RESTful API and an MCP interface for seamless integration with AI agents.Last updatedMIT
- Alicense-qualityCmaintenanceDiscover, rank, and compare GitHub repositories from any MCP-compatible AI client. Enables searching, filtering, ranking, and evaluating open-source repositories by topic, language, stars, license, activity, and relevance.Last updatedMIT
- Alicense-qualityDmaintenanceEnables AI-powered GitHub interactions including repository analysis, code search, PR reviews, and more through the MCP protocol.Last updated4MIT
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
An MCP server that gives your AI access to the source code and docs of all public github repos
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analyβ¦
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