github-mcp-server-ts

github-mcp-server-ts

0

The GitHub MCP Server is a tool for interacting with the GitHub API to facilitate file operations, repository management, and searches. It offers features such as automatic branch creation, comprehensive error handling, and advanced search capabilities. This project enhances the functionality of the GitHub API with additional abilities beyond the official server.

GitHub MCP Server

MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.

Features

  • Automatic Branch Creation
  • Comprehensive Error Handling
  • Git History Preservation
  • Batch Operations
  • Advanced Search

Tools

  • create_or_update_file
  • push_files
  • search_repositories
  • create_repository
  • get_file_contents
  • create_issue
  • create_pull_request
  • fork_repository
  • create_branch
  • list_issues
  • update_issue
  • add_issue_comment
  • search_code
  • search_issues
  • search_users
  • list_commits
  • get_issue
  • get_pull_request
  • list_pull_requests
  • create_pull_request_review
  • merge_pull_request
  • get_pull_request_files
  • get_pull_request_status
  • update_pull_request_branch
  • get_pull_request_comments
  • get_pull_request_reviews
  • list_sub_issues
  • reprioritize_sub_issue
  • remove_sub_issue
  • add_sub_issue
  • list_labels_for_issue
  • add_labels_to_issue
  • set_labels_for_issue
  • remove_label_from_issue
  • remove_all_labels_from_issue
  • list_labels_for_repo
  • create_label
  • get_label
  • update_label
  • delete_label
  • list_labels_for_milestone
  • list_milestones
  • create_milestone
  • get_milestone
  • update_milestone
  • delete_milestone

Setup

Personal Access Token

Create a GitHub Personal Access Token with appropriate permissions. Copy the generated token.

Usage with Claude Desktop

To use with Claude Desktop, configure claude_desktop_config.json.

Docker

Use Docker to run the server.

NPX

Use NPX to run the server.

Build

Use Docker build to create an image for the server.