GitHub MCP Server
TrendingEnables AI models to search repositories, manage issues, inspect pull requests, read files, and trigger workflows directly on GitHub.
Install
Terminal
$npx -y @modelcontextprotocol/server-githubmcp_config.json
{
"mcpServers": {
"github": {
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_GITHUB_TOKEN>"
},
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"command": "npx"
}
}
}Tools exposed4
- search_repositories
- Search GitHub repositories with topic, star, and language filters.
- create_issue
- Create an issue with title, body, assignees, and labels.
- get_file_contents
- Retrieve content of a file or directory at a specific branch or commit.
- create_pull_request
- Creates a pull request across branches.
Documentation
GitHub Model Context Protocol (MCP) Server
Overview
The GitHub MCP Server connects your AI assistants to GitHub's REST and GraphQL APIs, enabling complete lifecycle management of code repositories.
Quick Setup
Add to your mcp_config.json or Claude Desktop Configuration:
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Available Tools
search_repositories: Search repositories by language, stars, or topic.create_issue: Open a new issue with labels and assignees.get_file_contents: Read repository files at specific git refs.create_pull_request: Submit pull requests automatically.
Sourced from the repository README.
More in Developer Tools
- N8nFair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.202,280
- Gemini CliAn open-source AI agent that brings the power of Gemini directly into your terminal.106,664
- World MonitorLive global intelligence: real-time markets, conflicts, country risk, chokepoints, energy. 39 tools.84,026
- WorldmonitorReal-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface84,024
- Scrapling๐ท๏ธ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!76,275
- Ruflo๐ The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated69,270