gitee.com
gitee.com logo

Gitee

Integrates with Gitee repositories to enable repository creation, code management, issue tracking, and pull request work...

Created byApr 23, 2025

Gitee MCP Server

Let AI operate Gitee repositories/Issues/Pull Requests for you through MCP
[![Node Version](https://img.shields.io/badge/node-%3E%3D22.12.0-brightgreen.svg)](./package.json) ![NPM Version](https://img.shields.io/npm/v/gitee-mcp-server) ![Docker Pulls](https://img.shields.io/docker/pulls/normalcoder/gitee-mcp-server) ![Docker Image Version](https://img.shields.io/docker/v/normalcoder/gitee-mcp-server) [![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![smithery badge](https://smithery.ai/badge/@normal-coder/gitee-mcp-server)](https://smithery.ai/server/@normal-coder/gitee-mcp-server)
[<img width="380" height="200" src="https://glama.ai/mcp/servers/cck9xigm1d/badge" />](https://glama.ai/mcp/servers/Cck9XigM1d)

Supported AI Operations

[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]

Usage

Installing via Smithery

To install Gitee MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@normal-coder/gitee-mcp-server):

Configuration

  • `GITEE_API_BASE_URL`: Optional, Gitee OpenAPI Endpoint, default is `https://gitee.com/api/v5`
  • `GITEE_PERSONAL_ACCESS_TOKEN`: Required, Gitee account personal access token (PAT), can be obtained from Gitee account settings [Personal Access Tokens](https://gitee.com/profile/personal_access_tokens)
  • `DEBUG`: Optional, set to `true` to enable debug logging, default is disabled

Run MCP Server via NPX

Run MCP Server via Docker Container

  1. Get Docker Image
  1. Configure MCP Server

Development Guide

Install Dependencies

Build

After successful build, `/dist` will contain the runnable MCP server.

Run Server

The MCP server will run on stdio, allowing it to be used as a subprocess by MCP clients.

Build Docker Image

You can also run the server using Docker:
Run MCP Server with Docker:

Debug MCP Server

You can use `@modelcontextprotocol/inspector` for debugging:
Create a `.env` file in the root directory for environment variables:
Run the debug tool to start the service and web debug interface:
The project includes a `debug()` function for printing debug information, usage:
Debug logs are only printed when the `DEBUG` environment variable is set to `true`.

Dependencies

  • `@modelcontextprotocol/sdk`: MCP SDK for server implementation
  • `universal-user-agent`: For generating user agent strings
  • `zod`: For schema validation
  • `zod-to-json-schema`: For converting Zod schemas to JSON schemas

License

Licensed under MIT License. You are free to use, modify and distribute the software, subject to the terms and conditions of the MIT License. For more details, see the [LICENSE](./LICENSE) file in the project repository.

Related Links

  • [Model Context Protocol](https://modelcontextprotocol.io)
  • [Gitee](https://gitee.com)