GitHub MCP ServerServer

modelcontextprotocol
GitHub
GitHubAPIVersion Control

Loading subscription status...

💡 Description

An MCP server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.

📝 JSON Entries

{
  "mcpServers": [
    {
      "github": {
        "env": {
          "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
        },
        "args": [
          "-y",
          "@modelcontextprotocol/server-github"
        ],
        "command": "npx"
      }
    }
  ]
}

🛠️ Tools

create_or_update_filecreate_repositorycreate_issuecreate_branchlist_issuesupdate_issuesearch_issuessearch_users

Features

  • Automatic branch creation
  • Comprehensive error handling
  • Git history preservation
  • Batch operations support
  • Advanced search functionalities

💬 Example Queries

  • Create a new file in my repository
  • List all my open issues
  • Search for repositories related to 'machine learning'
  • Create a new branch for feature development