GitHub MCP Server
Connect your AI assistant to GitHub repositories, issues, pull requests, and search.
Ads
Overview
Provides tools to browse repositories, inspect files, create issues, and search code across GitHub organizations you can access.
Installation
npx -y @modelcontextprotocol/server-github
Configuration
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<token>"
}
}
}
}Capabilities
- search_repositories
Search public and private repositories.
- create_issue
Create a new issue in a repository.
- get_pull_request
Fetch pull request metadata and diff context.
- search_code
Search code across accessible repositories.
Supported clients
- Claude Desktop
- Cursor
- VS Code
Tags
- git
- issues
- pull-requests
Related MCP servers
Context7 MCP
OfficialOfficial Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Chrome DevTools MCP
OfficialOfficial Chrome DevTools MCP server for controlling and inspecting a live Chrome browser from coding agents such as Gemini, Claude, Cursor, and Copilot.
Mastra/mcp
OfficialClient implementation for Mastra, providing seamless integration with MCP-compatible AI models and tools.
Kubeshark
OfficialMCP access to cluster-wide L4 and L7 network traffic, packets, APIs, and complete payloads.