github-mcp-server-ts
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
create_or_update_file
Create or update a single file in a repository.
push_files
Push multiple files in a single commit.
search_repositories
Search for GitHub repositories.
create_repository
Create a new GitHub repository.
get_file_contents
Get contents of a file or directory.