drio
Open app

Gitee MCP Server

Source

mcp-gitee is a Model Context Protocol (MCP) server implementation for Gitee. It provides a set of tools that interact with Gitee's API, allowing AI assistants to manage repository, issues, pull requests, etc.

Catalog onlyCatalog onlySTDIO

Overview

Gitee MCP Server is a Model Context Protocol (MCP) server implementation for Gitee, designed to facilitate interaction with Gitee's API, enabling AI assistants to manage repositories, issues, pull requests, and more.

To use Gitee MCP Server, you need to install it by cloning the repository and building it from source or using Go install. After installation, configure it with your Gitee access token and API base URL, then run the server with the appropriate command-line options.

  • Interact with Gitee repositories, issues, pull requests, and notifications. - Configurable API base URL to support different Gitee instances. - Command-line flags for easy configuration. - Supports personal, organization, and enterprise operations.
  1. Managing repository issues and pull requests.
  2. Automating repository management tasks for AI assistants.
  3. Integrating Gitee functionalities into other applications.

Add to your AI client

Use these steps to connect Gitee MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-gitee-oschina": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gitee-oschina"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-gitee-oschina": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gitee-oschina"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-gitee-oschina": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gitee-oschina"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-gitee-oschina": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gitee-oschina"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-gitee-oschina": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gitee-oschina"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-gitee-oschina": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gitee-oschina"
      ]
    }
  }
}

FAQ

What are the prerequisites for using Gitee MCP Server?

You need Go 1.23.0 or higher and a Gitee account with an access token.

How can I configure the server?

You can configure the server using command-line options or environment variables for the Gitee access token and API base URL.

Is Gitee MCP Server open-source?

Yes, Gitee MCP Server is licensed under the MIT License.