mcp-github
Provides tools for interacting with the GitHub REST API, including listing repos, PRs, issues, branches, commits, code search, and optionally creating PRs, reviews, issues, comments, and merging PRs.
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., "@mcp-githubfind issues with the label 'bug'"
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.
mcp-github
MCP server for the GitHub REST API — repos, PRs, issues, branches, commits, reviews, and code search.
Usage
bun run src/mcp/cli.ts --stdio # stdio mode (for MCP integration)
bun run src/mcp/cli.ts --port 3845 # HTTP modeEnv Vars
Variable | Required | Description |
| Yes | PAT with |
| No | Set |
| No | Set |
| No | Cache directory (default: |
Tools
Read-only (always available):
GET /github/repos— List repos for user or orgGET /github/repos/:owner/:repo— Get repo detailsGET /github/repos/:owner/:repo/pulls— List PRsGET /github/repos/:owner/:repo/pulls/:number— Get PR detailsGET /github/repos/:owner/:repo/issues— List issuesGET /github/repos/:owner/:repo/branches— List branchesGET /github/repos/:owner/:repo/commits— List commitsGET /github/search/code— Search codeGET /github/search/issues— Search issues/PRs
Write (requires GITHUB_ALLOW_WRITES=true):
POST /github/repos/:owner/:repo/pulls— Create PRPOST /github/repos/:owner/:repo/pulls/:number/reviews— Submit reviewPOST /github/repos/:owner/:repo/issues— Create issuePOST /github/repos/:owner/:repo/issues/:number/comments— Add comment
Destructive (requires GITHUB_ALLOW_DESTRUCTIVE=true):
PUT /github/repos/:owner/:repo/pulls/:number/merge— Merge PR
Architecture
Built on edge.libx.js RouterWrapper + describeMCP. Read-only by default with explicit opt-in for writes. Results spooled to disk via spool().
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
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/Livshitz/mcp-github'
If you have feedback or need assistance with the MCP directory API, please join our Discord server