Read-only GitHub repos, issues, PRs and commits, with tool descriptions tuned on a benchmark.
registry version 1.2.0
Python
uvx github-mcp-readonlyPython
uvx github-mcp-readonly@1.2.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"github-mcp-3": {
"command": "uvx",
"args": [
"github-mcp-readonly"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}{
"mcpServers": {
"github-mcp-3": {
"command": "uvx",
"args": [
"github-mcp-readonly@1.2.0"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env GITHUB_TOKEN=<YOUR_GITHUB_TOKEN> github-mcp-3 -- uvx github-mcp-readonly
claude mcp add --env GITHUB_TOKEN=<YOUR_GITHUB_TOKEN> github-mcp-3 -- uvx github-mcp-readonly@1.2.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"github-mcp-3": {
"command": "uvx",
"args": [
"github-mcp-readonly"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}{
"mcpServers": {
"github-mcp-3": {
"command": "uvx",
"args": [
"github-mcp-readonly@1.2.0"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"github-mcp-3": {
"command": "uvx",
"args": [
"github-mcp-readonly"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}{
"servers": {
"github-mcp-3": {
"command": "uvx",
"args": [
"github-mcp-readonly@1.2.0"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"github-mcp-3": {
"command": "uvx",
"args": [
"github-mcp-readonly"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}{
"mcpServers": {
"github-mcp-3": {
"command": "uvx",
"args": [
"github-mcp-readonly@1.2.0"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
GITHUB_TOKEN required secret — 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).最近更新于 35 天前 · MIT license
GitHub MCP Server: Teaching an AI to Pick the Right Tool…
Summary from the project README — github.com/AbdulMuhaiminKhan/github-mcp
Distributed as Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.
GitHub MCP Server: Teaching an AI to Pick the Right Tool
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/AbdulMuhaiminKhan/github-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/github-mcp-3/)
HTML
<a href="https://mcpnav.net/server/github-mcp-3/"><img src="https://mcpnav.net/badge/github-mcp-3.svg" alt="Listed on MCPNav" height="20"></a>