gitcode-mcp
If you are the rightful owner of gitcode-mcp 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.
GitCode MCP Go Server is a Go language implementation of the GitCode MCP server, providing a standard MCP interface encapsulation for the GitCode API.
The GitCode MCP Go Server is designed to offer a comprehensive implementation of the GitCode API using the Model Context Protocol (MCP). It leverages the mark3labs/mcp-go SDK to ensure compatibility with the MCP standard, supporting both STDIO and SSE transmission methods. This server is lightweight and optimized for fast response times, making it suitable for high-load scenarios. Its modular code structure facilitates easy expansion and maintenance, allowing developers to adapt the server to their specific needs. The server requires Go 1.16+ and network access to the GitCode API, and it uses environment variables for configuration, which are managed through a .env file.
Features
- Complete support for major GitCode API functionalities
- Implemented using the standard MCP protocol with mark3labs/mcp-go SDK
- Supports STDIO and SSE transmission methods
- Lightweight with fast response times
- Strong concurrent processing capabilities for high-load scenarios
Tools
list_repositories
Lists the repositories of the current user
get_repository
Fetches detailed information of a specific repository
create_repository
Creates a new repository
list_branches
Lists branches of a repository
get_branch
Fetches detailed information of a specific branch
create_branch
Creates a new branch
list_issues
Lists issues of a repository
get_issue
Fetches detailed information of a specific issue
create_issue
Creates a new issue
list_pull_requests
Lists pull requests of a repository
get_pull_request
Fetches detailed information of a specific pull request
create_pull_request
Creates a new pull request
search_code
Searches code
search_repositories
Searches repositories
search_issues
Searches issues
search_users
Searches users