github-mcp
Provides tools for managing GitHub repositories, issues, pull requests, and code browsing through the GitHub REST API.
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-mcplist open issues in vercel/next.js"
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-mcp
Thin FastMCP server exposing flat GitHub
tools (issues, PRs, code browsing) over the GitHub REST API. Built for local
LLM clients: scalar arguments, comma-separated lists instead of JSON arrays,
trimmed JSON-string responses, and failures isolated as {"error": ...}.
Why not the official github/github-mcp-server? Its default toolset alone
registers 46 tools (~10-15k tokens of schema) with rich nested arguments,
and self-hosted it is stdio-only. This server keeps 15 flat tools (~2-3k
tokens) and speaks streamable HTTP natively, which Open WebUI consumes
directly. OpenCode terminal sessions continue to use the gh CLI.
Tools
Tool | Args | Notes |
| Authenticated user | |
| query, language, min_stars, page, per_page | Sorted by stars desc; repo exploration by popularity |
| repo | Summary card: stars, forks, language, topics, license |
| repo, state, labels, page, per_page | PRs filtered out; labels comma-separated |
| query, repo, per_page | GitHub search syntax; repo adds |
| repo, number, include_comments | Body + up to 50 comments |
| repo, title, body, labels, assignees | Labels/assignees comma-separated |
| repo, number, title, body, state | state: |
| repo, number, body | |
| repo, state, page, per_page | |
| repo, number | Body, first 100 files, CI check summary |
| repo, title, head, base, body, draft | base defaults to repo default branch |
| repo, number, body | General comment, not a code review |
| repo, path, ref | Raw text, refused above 100k chars |
| query, repo, per_page | GitHub code search syntax |
repo arguments are always "owner/repo".
Related MCP server: GitHub MCP Agent Server
Auth
One fine-grained PAT in the environment (GITHUB_PERSONAL_ACCESS_TOKEN):
Issues r/w, Pull requests r/w, Contents r (also covers releases),
Checks r (CI summary in get_pull_request; without it the summary
degrades to a checks_error hint), Metadata r (auto-granted). Actions r
is not needed today, only if workflow-run tools are added later. A local
.env file is loaded if present.
Run
# stdio (default, local MCP clients)
GITHUB_PERSONAL_ACCESS_TOKEN=... uv run github-mcp
# streamable-http (Docker does this via MCP_TRANSPORT=http)
MCP_TRANSPORT=http MCP_PORT=3102 uv run github-mcp
curl -s http://localhost:3102/mcp # -> 406 (streamable-http requires MCP headers)Docker image: ghcr.io/awernick/github-mcp:main, published on every push to
main. Deployed on robusto by awernick/picolino-config
(robusto/github-mcp/, port 3102); Open WebUI registers it as an external
tool server (Type: MCP Streamable HTTP) at http://github-mcp:3102/mcp.
Development
uv sync --dev # or: pip install -e ".[dev]"
uv run pytest
uv run ruff check .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
- FlicenseAqualityBmaintenanceRefined MCP server for GitHub GraphQL API. GitHub's official MCP Server exposes dozens of low-level tools that bloat token usage and are mostly impractical for LLMs. gh-mcp achieves the best of both worlds by providing a single, powerful interface: GitHub GraphQL, wrapped with smart abstractions.2
- AlicenseBqualityAmaintenanceMCP server that exposes GitHub operations as tools for AI agents, enabling code search, issue management, and PR review.12MIT
- AlicenseBqualityDmaintenanceMCP (Model Context Protocol) server for GitHub API integration. This server provides comprehensive tools for interacting with GitHub repositories, issues, pull requests, branches, and code search through a unified interface.157MIT
- Flicense-qualityDmaintenanceA minimal MCP server that exposes a focused set of GitHub PR review tools to AI agents, enabling PR listing, detail retrieval, comment viewing, and thread management.
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
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/awernick/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server