Gitee MCP Server logo

Gitee MCP Server

Manage Gitee repository statistics, issues, stargazers, and commit-based Chinese changelogs through MCP.

Install Gitee MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gitee-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "gitee-mcp"
      ],
      "env": {
        "GITEE_ACCESS_TOKEN": "YOUR_VALUE_HERE",
        "GITEE_MODE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y gitee-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Gitee MCP Server MCP server connects MCP-compatible AI clients to Gitee repositories through a standard STDIO process. It exposes tools for repository statistics, stargazer lists, issue management, and Chinese CHANGELOG generation from commits, plus a repository resource containing stats and recent commit snapshots. Use it when an agent needs to inspect or update Gitee projects through natural-language requests; real API access requires a Gitee personal access token, while mock mode supports demonstrations without credentials.

Use cases

  • Check repository stars, forks, watchers, and open issues
  • Filter issues by status or label
  • Create and update Gitee issues
  • List repository stargazers with a token
  • Generate a Chinese CHANGELOG from recent commits

Key features

  • Repository statistics
  • Issue creation and updates
  • Issue filtering by status and label
  • Stargazer listing
  • Commit-based Chinese CHANGELOG generation
  • Mock and real API modes

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 48d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · gitee-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads238Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity16 viewsConfig copies, upvotes, and views on AllMCPs.

How Gitee MCP Server works

What Gitee MCP Server MCP server does

Gitee MCP Server MCP server gives an AI client a focused interface for common Gitee repository operations. It can retrieve counts for stars, forks, watchers, and open issues; list users who starred a repository; read issues with status or label filters; create issues; and update issue state or labels. The server also provides a generate_changelog tool that turns commit data into a Chinese CHANGELOG, covering a result that Gitee does not expose as a native API.

A repository resource is available at gitee://repo/{owner}/{repo}. Reading it returns repository statistics together with a snapshot of the five most recent commits. This gives an agent both tool calls for actions and a resource for compact repository context.

How it works

The process communicates with an AI client over MCP STDIO. Internally, a service layer selects either a local mock implementation or the Gitee API v5 implementation. Mock mode uses local snapshots, so the package can be started and demonstrated without a credential. Real mode sends requests to Gitee after a token is configured.

The changelog feature combines commit information rather than calling a dedicated Gitee changelog endpoint. Issue updates can change status and labels, including closing an issue or applying labels through the exposed update operation. Listing issues supports filtering by state and label.

Setup and configuration

The quickest installation is to run:

Terminal
npx -y gitee-mcp

For a local build, clone the repository, run npm install, then npm run build and npm start. The default startup mode is mock, which is suitable for testing the MCP connection and demonstrating the tools.

For live Gitee data, copy .env.example to .env in the project root and set GITEE_ACCESS_TOKEN. The token should include the projects permission. The server reads this root-level file without requiring the client to set its working directory. GITEE_MODE may be left empty for automatic selection, set to mock to force mock behavior, or set to real to request API access. If real mode lacks a token, the server falls back to mock mode and emits a warning.

An MCP client configuration can launch the npm package with command: "npx" and arguments [-y, "gitee-mcp"]. A locally built installation can instead use an absolute Node.js path and the built build/index.js file.

Tools and capabilities

Gitee MCP Server MCP server currently exposes these capabilities:

  • get_repo_stats: returns star, fork, watch, and open-issue counts.
  • list_stargazers: lists users who starred a repository; this requires a personal access token.
  • list_issues: retrieves issues with state and label filters.
  • create_issue: creates a new issue for a request or task.
  • update_issue: changes issue status or labels, including automatic labeling and closing.
  • generate_changelog: creates a Chinese CHANGELOG from repository commits.

Limitations and notes

The documented version is v1. Stargazer and subscriber-related Gitee interfaces require authentication, and list_stargazers therefore cannot operate anonymously against the live service. Without a token, mock data remains available for demonstrations. Planned items such as pull-request management, comments, webhooks, releases, and Gitee-to-GitHub mirroring are roadmap entries rather than current capabilities.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gitee MCP Server

Gitee MCP Server is an MCP server that connects AI clients to Gitee repositories through STDIO. Its main tools retrieve repository statistics, list stargazers, filter and manage issues, and generate Chinese CHANGELOG files from commits. It also exposes a repository resource containing statistics and the five latest commit snapshots.

Run `npx -y gitee-mcp` to start it without cloning the repository. For a local installation, clone the source, run `npm install`, then `npm run build` and `npm start`. Add the command to your MCP client's server configuration.

Set `GITEE_ACCESS_TOKEN` in a `.env` file at the project root to use the live Gitee API. The token needs the `projects` permission. Leave `GITEE_MODE` empty for automatic selection or set it to `real`; without a token, real mode falls back to mock mode.

Yes, it works with Cursor because the README identifies Cursor as a supported MCP client. Configure Cursor to launch `npx -y gitee-mcp`, or point it to the locally built Node.js entry point using an absolute path.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGitee MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gitee-mcp-server?style=directory)](https://allmcps.com/mcp/gitee-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/gitee-mcp-server"><img src="https://allmcps.com/api/badge/gitee-mcp-server?style=directory" alt="Gitee MCP Server on AllMCPs" /></a>