What is the GitHub MCP server?
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
How to install GitHub
Copy-paste configuration for popular MCP clients.
AuthorizationsecretAuthorization header with authentication token (PAT or App token)
{
"mcpServers": {
"github-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/github/github-mcp-server:1.5.0",
"-p",
"127.0.0.1:8085:8085",
"-e",
"GITHUB_OAUTH_CALLBACK_PORT=8085",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN={token}"
],
"env": {
"Authorization": "<YOUR_AUTHORIZATION>"
}
}
}
}{
"mcpServers": {
"github-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/github/github-mcp-server:1.5.0",
"-p",
"127.0.0.1:8085:8085",
"-e",
"GITHUB_OAUTH_CALLBACK_PORT=8085",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN={token}"
],
"env": {
"Authorization": "<YOUR_AUTHORIZATION>"
}
}
}
}{
"mcpServers": {
"github-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/github/github-mcp-server:1.5.0",
"-p",
"127.0.0.1:8085:8085",
"-e",
"GITHUB_OAUTH_CALLBACK_PORT=8085",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN={token}"
],
"env": {
"Authorization": "<YOUR_AUTHORIZATION>"
}
}
}
}{
"servers": {
"github-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/github/github-mcp-server:1.5.0",
"-p",
"127.0.0.1:8085:8085",
"-e",
"GITHUB_OAUTH_CALLBACK_PORT=8085",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN={token}"
],
"env": {
"Authorization": "<YOUR_AUTHORIZATION>"
}
}
}
}claude mcp add github-mcp-server --env Authorization=<YOUR_AUTHORIZATION> -- docker run -i --rm ghcr.io/github/github-mcp-server:1.5.0 -p 127.0.0.1:8085:8085 -e GITHUB_OAUTH_CALLBACK_PORT=8085 -e GITHUB_PERSONAL_ACCESS_TOKEN={token}Related MCP servers
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.
Chrome DevTools MCP
Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.
com.puter/mcp-server
Let AI agents manage your Puter files, websites, and serverless workers over MCP.
Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.
Run arbitrary shell commands from an MCP-connected AI agent.
Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.