GitHub
OFFICIAL · Model Context ProtocolAUTH REQUIREDMITEmpower your AI agent to read, write, search, and manage repositories on GitHub, including issues, commits, and pull requests.
This server requires a GitHub Personal Access Token (PAT) with repo and workflow scopes to write to repositories.
Setup Guide
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_yourPersonalAccessTokenHere"
}
}
}
}Tools
search_repositories
Search for GitHub repositories by query.
get_file_contents
Retrieve contents of files or directories in a target repository.
create_issue
Open a new issue with a title, description, and tags.
create_pull_request
Create a new pull request between branches.
Compatibility
About
Overview
The GitHub Model Context Protocol (MCP) server bridges your local development workflow with your GitHub repositories. When active, it allows your AI assistant to read file hierarchies, fetch diffs, create issues, review pull requests, and push changes directly to branches.
This tool is especially useful for automated documentation sweeps, issue triage, or initial draft pull request generation directly from your workspace conversation.
Setting Up Your Token
To generate a GitHub Personal Access Token (PAT):
- Go to Settings -> Developer Settings -> Personal Access Tokens -> Tokens (classic) on GitHub.
- Select Generate new token.
- Choose the
reposcope (for accessing private repositories) and optionallyworkflow(if you want the agent to interact with CI actions). - Copy the token and paste it into the
GITHUB_PERSONAL_ACCESS_TOKENenv field of your configuration.
Install and Troubleshooting Intent Coverage
Developer-install and troubleshooting intent for community MCP server listings.
install mcp server / mcp server setup guide
mcp json config example / vscode mcp setup
mcp server not working / mcp tools not showing
mcp server compatibility matrix / cursor vs vscode mcp compatibility
mcp server monetization options / convert community mcp server to paid listing
Related Setup, Debug, and Learning Links
Integration usage patterns
Cross-tool integration usage maps to this docs path.
CLI installation guide
Install baseline for all IDEs before listing-specific setup.
Cursor setup walkthrough
High-intent setup path for developer troubleshooting journeys.
Troubleshooting: server not working
Common failure modes for install and runtime issues.
Troubleshooting: tools not showing
Covers discovery/listing failures across major IDEs.
Registry listing: filesystem
Maps this community reference to install-ready hosted listing.
Related explore entry: Git MCP Server
Keeps same-intent users on matched category and tool shape.
Related explore entry: Confluence
Keeps same-intent users on matched category and tool shape.
Related explore entry: Notion
Keeps same-intent users on matched category and tool shape.
Related explore entry: GitLab
Keeps same-intent users on matched category and tool shape.
Install this server with the AgenticMarket CLI — you'll be prompted for your API credentials or OAuth tokens during setup. No manual JSON editing.
$npx agenticmarket install githubGit MCP Server
Let your AI assistant interact with Git repositories directly. Status, diff, commit, branch, and log — all accessible to your LLM through 12 Git tools.
Confluence
Enable your AI agent to search, read, create, and update Confluence pages and spaces — bringing your team's knowledge base into your AI workflow.
Notion
Connect your AI agent to Notion workspaces to read pages, create documents, update databases, search content, and manage your team's knowledge system.
GitLab
Enable your AI agent to interact with GitLab repositories, merge requests, issues, pipelines, and project files via the official MCP server.
AgenticMarket