Gitee MCP Server logo

Gitee MCP Server

by normal-coder

Gitee MCP Server allows AI to operate Gitee repositories, issues, and pull requests through the Model Context Protocol (MCP). It provides a set of tools for automating various Gitee operations.

View on GitHub

Last updated: N/A

What is Gitee MCP Server?

The Gitee MCP Server is a tool that enables AI agents to interact with and manage Gitee repositories. It exposes a set of MCP tools that allow AI to perform actions such as creating repositories, managing branches, handling files, managing issues, and handling pull requests.

How to use Gitee MCP Server?

The server can be installed via Smithery or run using NPX or Docker. Configuration requires a Gitee personal access token (PAT). The server exposes a standard input/output interface for MCP clients to interact with.

Key features of Gitee MCP Server

  • Repository Management (create, fork)

  • Branch Management (create, list, get)

  • File Operations (get contents, create/update, push)

  • Issue Management (create, list, get, update, add comment)

  • Pull Request Management (create, list, get, update, merge)

  • User Information Retrieval

Use cases of Gitee MCP Server

  • Automated repository creation and setup

  • AI-powered code review and issue triage

  • Automated branch management and merging

  • AI-driven documentation updates

  • Chatbot integration for Gitee project management

FAQ from Gitee MCP Server

What is a Gitee Personal Access Token (PAT)?

A PAT is a token that allows applications to access your Gitee account without requiring your password. You can generate one in your Gitee account settings.

How do I install the Gitee MCP Server?

You can install it via Smithery using the command npx -y @smithery/cli install @normal-coder/gitee-mcp-server --client claude, or run it using NPX or Docker (see the README for details).

What environment variables are required?

The GITEE_PERSONAL_ACCESS_TOKEN is required. GITEE_API_BASE_URL and DEBUG are optional.

How do I enable debug logging?

Set the DEBUG environment variable to true.

What is Model Context Protocol (MCP)?

Model Context Protocol (MCP) is a protocol that allows AI models to interact with external tools and services. This server implements the MCP protocol to provide access to Gitee.