gitcode-mcp

gitcode-mcp

3.3

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

  1. list_repositories

    Lists the repositories of the current user

  2. get_repository

    Fetches detailed information of a specific repository

  3. create_repository

    Creates a new repository

  4. list_branches

    Lists branches of a repository

  5. get_branch

    Fetches detailed information of a specific branch

  6. create_branch

    Creates a new branch

  7. list_issues

    Lists issues of a repository

  8. get_issue

    Fetches detailed information of a specific issue

  9. create_issue

    Creates a new issue

  10. list_pull_requests

    Lists pull requests of a repository

  11. get_pull_request

    Fetches detailed information of a specific pull request

  12. create_pull_request

    Creates a new pull request

  13. search_code

    Searches code

  14. search_repositories

    Searches repositories

  15. search_issues

    Searches issues

  16. search_users

    Searches users