github-mcp-server

github-mcp-server

0

The GitHub MCP Server is a Model Context Protocol server designed for developers and tools that require advanced integration with GitHub APIs. It supports automation and interaction with GitHub workflows, enabling the development of AI-powered applications. Key features include seamless setup with VS Code and flexible configuration options.

GitHub MCP Server

The GitHub MCP Server integrates seamlessly with GitHub APIs, offering automation and interaction capabilities for developers and tools. Key features include:

Use Cases

  • Automating GitHub workflows.
  • Data extraction and analysis from repositories.
  • AI-powered tool development interacting with GitHub.

Prerequisites

  • Install Docker.
  • Ensure Docker is running.
  • Create a GitHub Personal Access Token and configure permissions.

Installation

Usage with VS Code

  • Use one-click install buttons or configure manually.

Usage with Claude Desktop

  • Add configuration to mcpServers JSON block.

Build from source

  • Use Go to build if Docker is unavailable.

GitHub Enterprise Server

  • Configure with --gh-host flag or GH_HOST environment variable.

Tools

  • Users: get_me
  • Issues: get_issue, create_issue, add_issue_comment, etc.
  • Pull Requests: get_pull_request, merge_pull_request, etc.
  • Repositories: create_repository, list_branches, etc.
  • Search: search_code, search_users
  • Code Scanning: get_code_scanning_alert

Resources

  • Get repository content at specific paths, branches, commits, or pull requests.

License

Licensed under the MIT open source license.