Skip to main content
Glama
technomad641

github-repo-mcp-server

by technomad641

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 ping tool over stdio

  • M1 β€” GitHub client + config (Octokit auth, repo allowlist)

  • M2 β€” Tier 1 read-only personal-repo tools (12 tools)

  • M3 β€” search_trending_repos discovery tool

  • M4 β€” 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

  1. Copy .env.example to .env and set GITHUB_TOKEN to a 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.

  2. List those repos (as "owner/repo" strings) in config.json β€” this is the allowlist personal-scope tools are restricted to. The search_trending_repos tool (M3) is exempt, since it queries public GitHub data rather than a specific repo.

  3. get_notifications additionally 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

repo://{owner}/{repo}/readme

The repo's README, as markdown

repo://{owner}/{repo}/issues/{number}

Issue title, body, and comments

repo://{owner}/{repo}/pulls/{number}

PR title, description, diff stats

All allowlist-gated the same as the Tier 1 tools.

Prompts (M5)

Name

What it does

summarize_prs_for_review

Finds open PRs and summarizes which need attention

weekly_repo_digest

Commits, issues, PRs, and CI status from the last week

whats_trending

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 server

The 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

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

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

View all related MCP servers

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…

View all MCP Connectors

Latest Blog Posts

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