Gitee logo

Gitee

Free

Gitee 官方集成,管理 Gitee 仓库、Issues 和 Pull Requests。

FreeFree tier
Type
Open Source

About Gitee

mcp-gitee is a Model Context Protocol (MCP) server implementation for Gitee. It provides a set of tools that allow AI assistants to manage Gitee repositories, issues, pull requests, and notifications through the Gitee API. The server supports configurable API base URLs for different Gitee instances, personal/organization/enterprise operations, and dynamic toolset enable/disable via whitelist or blacklist modes. It can be run locally (built with Go 1.23+) or connected remotely without installation, using transports such as stdio, SSE, or HTTP. Configuration is flexible through command-line flags or environment variables, and pre-configured examples are provided for popular MCP hosts like Claude Code, Codex, Cursor, and more.

Key Features

Manage repositories, issues, pull requests, and notifications
Configurable API base URL for different Gitee instances
Supports personal, organization, and enterprise operations
Dynamic toolset enable/disable (whitelist/blacklist modes)
Multiple transport modes: stdio, SSE, HTTP
Environment variable and command-line configuration

Pros & Cons

Pros
  • Open source and free to use
  • Easy integration with popular MCP hosts (Claude Code, Codex, Cursor, etc.)
  • Supports remote MCP server without local installation
  • Flexible configuration via environment variables and CLI flags
Cons
  • Requires Go 1.23+ to build from source for local installation
  • Requires a Gitee personal access token for authentication
  • Initial setup and configuration may be needed for specific MCP hosts

Best For

Obtain issues from a repository, implement code changes, and create a pull requestAutomate repository management, issue tracking, and notification handling via AI assistantsIntegrate Gitee operations into AI-powered development workflows across various MCP hosts

FAQ

What is mcp-gitee?
mcp-gitee is an MCP server that provides tools for AI assistants to interact with Gitee's API, enabling management of repositories, issues, pull requests, and more.
How do I install mcp-gitee?
You can install via 'go install gitee.com/oschina/mcp-gitee@latest' or clone the repository and build from source. A remote server option is also available without installation by connecting to https://api.gitee.com/mcp.
How do I configure mcp-gitee?
Configuration can be done via command-line flags (--token, --api-base, --transport, etc.) or environment variables (GITEE_ACCESS_TOKEN, GITEE_API_BASE, etc.). Pre-configured examples for various MCP hosts are provided in the README.