GitHub (read-only) MCP Server
by abdulmuhaiminkhanio.github.AbdulMuhaiminKhan/github-mcpv1.2.0
Read-only GitHub repos, issues, PRs and commits, with tool descriptions tuned on a benchmark.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install GitHub (read-only) MCP server
Install in Claude Code
claude mcp add github-mcp-readonly -e GITHUB_TOKEN='<github-token>' -- uvx github-mcp-readonlyInstall in Cursor
{
"mcpServers": {
"github-mcp-readonly": {
"command": "uvx",
"args": [
"github-mcp-readonly"
],
"env": {
"GITHUB_TOKEN": "<github-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"github-mcp-readonly": {
"command": "uvx",
"args": [
"github-mcp-readonly"
],
"env": {
"GITHUB_TOKEN": "<github-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"github-mcp-readonly": {
"type": "stdio",
"command": "uvx",
"args": [
"github-mcp-readonly"
],
"env": {
"GITHUB_TOKEN": "<github-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"github-mcp-readonly": {
"command": "uvx",
"args": [
"github-mcp-readonly"
],
"env": {
"GITHUB_TOKEN": "<github-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GITHUB_TOKEN | yes | yes | Fine-grained GitHub token with read-only access (Metadata, Contents, Issues, Pull requests). |
| GITHUB_MCP_TOOLSET | — | — | Tool descriptions to serve: v2 (default, optimized), v1 or v1b (benchmark baselines). |
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 1d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-10-08 · 1d ago · official registry · v1.2.0
FAQ
›How do I install the GitHub (read-only) MCP server in Claude Code?
Run: claude mcp add github-mcp-readonly -e GITHUB_TOKEN='<github-token>' -- uvx github-mcp-readonly. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does GitHub (read-only) require an API key?
Yes. It expects GITHUB_TOKEN, of which 1 is a secret.
›Can I use GitHub (read-only) as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is GitHub (read-only) in the official MCP registry?
Yes, as io.github.AbdulMuhaiminKhan/github-mcp.
Alternatives to GitHub (read-only)
Other version control MCP servers.