GitHub

by GitHub (official)

GitHub

14,000563,613/mov2025.4.8stdioVerified on npm
Developer ToolsMCP / Integrations

Install & run

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ]
    }
  }
}

Overview

Official GitHub MCP server. Lets an AI assistant manage repositories, issues, pull requests, code search and file contents through the GitHub API — ideal for agentic coding and repo automation.

Tools (6)

  • search_repositories

    Search GitHub repositories

  • create_issue

    Open a new issue

  • create_pull_request

    Open a pull request

  • get_file_contents

    Read a file from a repo

  • list_commits

    List commits on a branch

  • create_or_update_file

    Commit a file change

Key features

  • Full repo/issue/PR management
  • Code and repo search
  • Commit and file operations
  • Official GitHub API

Use cases

  • Agentic coding that opens PRs
  • Triage and label issues
  • Search code across repos

Frequently asked questions about GitHub

Yes — a GitHub personal access token with the scopes you want the agent to use.

Did you find this helpful?

Promote GitHub

Show your audience this tool is featured on Dhanasvi — embed the badge or share it.

G
GitHub Featured on Dhanasvi