github-mcp-server-ts

github-mcp-server-ts

3.2

If you are the rightful owner of github-mcp-server-ts and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

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

The GitHub MCP Server is a TypeScript-based server that extends the capabilities of the official GitHub MCP server. It provides a comprehensive interface for interacting with the GitHub API, allowing users to perform a wide range of operations such as file management, repository creation, issue tracking, and more. This server is designed to automate and streamline GitHub workflows by offering features like automatic branch creation, comprehensive error handling, and advanced search capabilities. It supports batch operations for handling multiple files at once and ensures that Git history is preserved during operations. The server is built on the base code from the modelcontextprotocol repository and includes additional features that enhance its functionality beyond the official server. Users can leverage this server to efficiently manage their GitHub repositories and collaborate on projects with ease.

Features

  • Automatic Branch Creation: Automatically creates branches when creating/updating files or pushing changes if they don't exist.
  • Comprehensive Error Handling: Provides clear error messages for common issues to facilitate troubleshooting.
  • Git History Preservation: Ensures operations maintain proper Git history without force pushing.
  • Batch Operations: Supports both single-file and multi-file operations for efficient management.
  • Advanced Search: Enables searching code, issues/PRs, and users with advanced query capabilities.

Tools

  1. create_or_update_file

    Create or update a single file in a repository.

  2. push_files

    Push multiple files in a single commit.

  3. search_repositories

    Search for GitHub repositories.

  4. create_repository

    Create a new GitHub repository.

  5. get_file_contents

    Get contents of a file or directory.