GitHub is a Version Control MCP server that lets Claude Code, Cursor, Windsurf and any MCP-compatible AI agent official GitHub MCP — repos, issues, PRs. Install in 1 minute with mcpizy install github.
Connect your GitHub account once — MCPizy stores the credentials encrypted and uses them whenever you run a recipe in managed mode.
mcpizy install githubnpx -y @modelcontextprotocol/server-githubget_repositoryGet details about a GitHub repository
Inputs
ownerstringrequiredrepostringrequiredlist_issuesList issues in a repository with filters
Inputs
ownerstringrequiredrepostringrequiredstatestringoptionalcreate_issueOpen a new issue with a title and body
Inputs
ownerstringrequiredrepostringrequiredtitlestringrequiredbodystringoptionallist_pull_requestsList pull requests in a repository
Inputs
ownerstringrequiredrepostringrequiredstatestringoptionalcreate_pull_requestOpen a new pull request between two branches
Inputs
ownerstringrequiredrepostringrequiredtitlestringrequiredheadstringrequiredbasestringrequiredget_file_contentsRead a file from a repo at a given ref
Inputs
ownerstringrequiredrepostringrequiredpathstringrequiredcreate_or_update_fileWrite a file to a repo (for commits via the API)
Inputs
ownerstringrequiredrepostringrequiredpathstringrequiredcontentstringrequiredmessagestringrequiredsearch_codeSearch code across GitHub
Inputs
qstringrequiredsearch_repositoriesSearch GitHub repositories
Inputs
querystringrequiredWorks identically across clients. Only the config file path differs.
~/.claude.json{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..."
}
}
}
}.cursor/mcp.json{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..."
}
}
}
}~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..."
}
}
}
}Create a fine-grained personal access token with repo + issues scopes
GITHUB_PERSONAL_ACCESS_TOKENPaste any of these prompts into Claude Code, Cursor or another MCP-compatible client.
“Show me all open issues in `vercel/next.js` tagged `bug` from the last week”
Uses: list_issues
“Open an issue in my repo titled 'Fix CI flakiness' with a description of the problem”
Uses: create_issue
“Read the README of `anthropics/claude-code` and summarise the quickstart”
Uses: get_file_contents
“Find TypeScript repos with more than 10k stars that mention 'MCP server'”
Uses: search_repositories
“Create a PR from my branch `feat/auth` into `main` with title 'Add OAuth flow'”
Uses: create_pull_request
If GitHub doesn't fit your stack, these Version Control MCP servers solve similar problems.
The GitHub MCP server is an Version Control Model Context Protocol server that lets Claude Code, Cursor, Windsurf, VS Code with Copilot, and other MCP-compatible AI agents official GitHub MCP — repos, issues, PRs. It exposes GitHub's capabilities as tools the AI can call directly from your editor or CLI.
The fastest way is the MCPizy CLI: run `mcpizy install github` and MCPizy will add the server to your `.claude.json` automatically. You can also install it manually by adding an entry under `mcpServers` in `.claude.json` with the command `npx -y @modelcontextprotocol/server-github` and restarting Claude Code.
Yes. The GitHub MCP server is free and open source (see the GitHub repository linked on this page). You may still need a GitHub account or API key to connect the server to the underlying service, but the MCP layer itself has no MCPizy subscription cost.
Yes. Any MCP-compatible client works — including Claude Code, Claude Desktop, Cursor (via `.cursor/mcp.json`), Windsurf, VS Code with Copilot Chat, and custom agents built on the MCP SDK. The same install command targets all of them; only the config file path differs.
Once installed, your AI agent can official GitHub MCP — repos, issues, PRs directly inside your conversation. Typical use cases include asking Claude Code or Cursor to run GitHub operations, inspect results, chain GitHub with other MCP servers (see our Workflow Recipes), and automate repetitive version control tasks without leaving your editor.