Gitcode

by gitcode-org-com

475 downloads
Not rated
GitHub

About

# GitCode MCP Go Server 这是GitCode MCP服务器的Go语言实现版本,提供了GitCode API的标准MCP接口封装。 ## 功能特点 - 完整支持GitCode API的主要功能 - 基于标准MCP协议实现,使用mark3labs/mcp-go SDK - 支持STDIO和SSE两种传输方式 - 轻量级,响应速度快 - 并发处理能力强,适合高负载场景 - 模块化的代码结构,便于扩展和维护 ## 安装要求 - Go 1.16+ - 网络连接以访问GitCode API ## 环境变量配置…

Details

Author
gitcode-org-com
Downloads
475
Categories
Other, API

- Complete support for major GitCode API features
- Implements standard MCP protocol with STDIO and SSE transports
- Lightweight with fast response times
- Strong concurrent processing for high-load scenarios
- Modular code structure for easy extension

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Gitcode
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via the provided install.sh script or run go install github.com/gitcode-org-com/gitcode-mcp@latest. Set the GITCODE_TOKEN and GITCODE_API_URL environment variables, then start the server with gitcode-mcp. Configure your AI platform (Claude, Cline, Cursor, Windsurf) using the reference config files in the docs directory.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "gitcode": {
            "gitcode": {
                "command": "gitcode_mcp",
                "args": [],
                "env": {
                    "GITCODE_TOKEN": "<\u60a8\u7684GitCode\u8bbf\u95ee\u4ee4\u724c>",
                    "GITCODE_API_URL": "https://api.gitcode.com/api/v5"
                }
            }
        }
    }
}

McpServers

{
    "gitcode": {
        "command": "gitcode_mcp",
        "args": [],
        "env": {
            "GITCODE_TOKEN": "<\u60a8\u7684GitCode\u8bbf\u95ee\u4ee4\u724c>",
            "GITCODE_API_URL": "https://api.gitcode.com/api/v5"
        }
    }
}

GitCode MCP Go Server

这是GitCode MCP服务器的Go语言实现版本,提供了GitCode API的标准MCP接口封装。

功能特点

- 完整支持GitCode API的主要功能
- 基于标准MCP协议实现,使用mark3labs/mcp-go SDK
- 支持STDIO和SSE两种传输方式
- 轻量级,响应速度快
- 并发处理能力强,适合高负载场景
- 模块化的代码结构,便于扩展和维护

安装要求

- Go 1.16+
- 网络连接以访问GitCode API

环境变量配置

项目使用.env文件来管理环境变量。您可以复制.env.example文件并重命名为.env,然后设置以下环境变量:

```

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.