GitHub MCP
GitHub's official MCP server. Agents can read code, issues and pull requests, open PRs and leave reviews, so a design change can go from canvas to merged code.
Runs on your machine
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serverNeeds these environment variables: GITHUB_PERSONAL_ACCESS_TOKEN
This setup runs GitHub's Docker image, so Docker must be installed and running. Create a fine-grained personal access token with only the repositories and permissions you need, and set it as GITHUB_PERSONAL_ACCESS_TOKEN in your environment. To skip Docker, use GitHub MCP (remote), the hosted version.
Set it up in your agent
Add it from the terminal
Run this in your project folder. It saves the server for you, in this project only.
Terminal claude mcp add github -e 'GITHUB_PERSONAL_ACCESS_TOKEN=${GITHUB_PERSONAL_ACCESS_TOKEN}' -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serverOr share it with your team
Add this to
.mcp.jsonat the project root and commit it. Teammates approve it the first time Claude Code starts..mcp.json { "mcpServers": { "github": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}" } } } }
- Claude Code reads the
${NAME}values from your environment when the server starts.
Check it works
claude mcp listStart a session and run /mcp to see the server, its status and its tools.
Or add it to the project
Add this to
.cursor/mcp.json, or to~/.cursor/mcp.jsonto use it in every project..cursor/mcp.json { "mcpServers": { "github": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${env:GITHUB_PERSONAL_ACCESS_TOKEN}" } } } }
Check it works
Open Cursor Settings, find the MCP section and check the server is enabled with its tools listed.
Add it from the terminal
Adds the server to your VS Code profile, so it works in every workspace.
Terminal code --add-mcp '{"name":"github","type":"stdio","command":"docker","args":["run","-i","--rm","-e","GITHUB_PERSONAL_ACCESS_TOKEN","ghcr.io/github/github-mcp-server"],"env":{"GITHUB_PERSONAL_ACCESS_TOKEN":"${env:GITHUB_PERSONAL_ACCESS_TOKEN}"}}'Or add it to the workspace
Add this to
.vscode/mcp.jsonand commit it to share it with your team..vscode/mcp.json { "servers": { "github": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${env:GITHUB_PERSONAL_ACCESS_TOKEN}" } } } }
Check it works
Run MCP: List Servers from the Command Palette, then open Copilot Chat in Agent mode and check the tools picker.
Add it to the config file
Add this to
~/.codex/config.toml.~/.codex/config.toml [mcp_servers.github] command = "docker" args = ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"] env_vars = ["GITHUB_PERSONAL_ACCESS_TOKEN"]
env_varspasses those variables from your environment to the server, so their values stay out of the file.
Check it works
codex mcp listIn a Codex session, run /mcp to see connected servers and their tools.
Add it from the terminal
Run this in your project folder. It saves the server to the project's
opencode.json.Terminal opencode mcp add github --env 'GITHUB_PERSONAL_ACCESS_TOKEN={env:GITHUB_PERSONAL_ACCESS_TOKEN}' -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serverOr edit the config file
Add this to
opencode.jsonat the project root.opencode.json { "$schema": "https://opencode.ai/config.json", "mcp": { "github": { "type": "local", "command": [ "docker", "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "enabled": true, "environment": { "GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_PERSONAL_ACCESS_TOKEN}" } } } }
Check it works
opencode mcp listStart OpenCode in the project; the server's tools are available to the agent straight away.
Add it to the config file
Add this to
.agents/mcp_config.jsonin your project, or to~/.gemini/config/mcp_config.jsonto use it everywhere (app, editor andagyCLI)..agents/mcp_config.json { "mcpServers": { "github": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN" } } } }
- Antigravity stores environment values in the file itself. Put the real values in your global config, not in a file you commit.
Check it works
In the editor, open the … menu at the top of the agent panel and choose MCP Servers. In the app, open Settings → Customizations → Installed MCP Servers. In the agy CLI, type /mcp.
Add it from the terminal
Run this in your project folder. It saves the server to the project's
.gemini/settings.json.Terminal gemini mcp add -e 'GITHUB_PERSONAL_ACCESS_TOKEN=${GITHUB_PERSONAL_ACCESS_TOKEN}' github docker run -- -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serverOr edit the config file
Add this to
.gemini/settings.jsonin your project, or to~/.gemini/settings.jsonto use it in every project..gemini/settings.json { "mcpServers": { "github": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}" } } } }
- Gemini CLI reads the
${NAME}values from your environment when the server starts.
Check it works
gemini mcp listIn a Gemini CLI session, run /mcp to see each server, its status and its tools.
Add it to the config file
Add this to
.devin/mcp_config.jsonand commit it, or to~/.config/devin/mcp_config.jsonto use it in every project..devin/mcp_config.json { "mcpServers": { "github": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN" } } } }
- Devin keeps environment values in the file itself. Put the real values in
.devin/mcp_config.local.json, which isn't committed.
Check it works
devin mcp listIn Devin Desktop, open Customize from the Agents window, choose MCPs and check the server under This computer.
Add it to your settings
Run zed: open settings file from the command palette and add this inside the top-level object, next to your other settings.
~/.config/zed/settings.json { "context_servers": { "github": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN" } } } }
- Zed keeps environment values in your settings file, which stays on your machine. Replace each
YOUR_…placeholder with the real value.
Check it works
Open Settings → AI → MCP Servers. A green dot next to the server means it is running.
Add it in your editor
In Cline, open the MCP Servers panel, choose Configure, click Configure MCP Servers and add this to the file that opens.
cline_mcp_settings.json { "mcpServers": { "github": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN" } } } }
- Cline keeps environment values in its settings file, which stays on your machine. Replace each
YOUR_…placeholder with the real value.
Check it works
cline config mcpIn VS Code or JetBrains, open the MCP Servers panel in Cline and check the server is listed with its tools.
For Claude Code sessions
Saves the server to your Claude Code user settings, so every Conductor workspace gets it.
Terminal claude mcp add --scope user github -e 'GITHUB_PERSONAL_ACCESS_TOKEN=${GITHUB_PERSONAL_ACCESS_TOKEN}' -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serverOr share it with your team
Add this to
.mcp.jsonat the project root and commit it. Claude Code sessions in every workspace on that branch pick it up..mcp.json { "mcpServers": { "github": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}" } } } }Or edit Codex's config file
Add this to
~/.codex/config.toml.~/.codex/config.toml [mcp_servers.github] command = "docker" args = ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"] env_vars = ["GITHUB_PERSONAL_ACCESS_TOKEN"]
- Start a new session in Conductor after adding a server, so the agent loads it.
- Claude Code reads the
${NAME}values from your environment when the server starts. env_varspasses those variables from your environment to the server, so their values stay out of the file.
Check it works
claude mcp listIn a Conductor session, click the plug icon in the composer or run /mcp-status to see each server's status.
More in Code and QA
- Playwright MCPBrowser automation over MCP from the Playwright team. Agents use it to open the built UI, take screenshots and check layouts against the design.
- Next.js DevTools MCPVercel's MCP server for Next.js. It connects to your running dev server so agents can read build and runtime errors, routes and logs, and search the Next.js docs.
- ChromaticVisual testing and hosting for Storybook. Each build can also publish your Storybook's MCP server, so a whole team's agents can read component docs without running Storybook themselves.
