# mcp-gitee

> MCP Server

Gitee MCP Server is a Model Context Protocol server for Gitee, enabling AI assistants to manage repositories, issues, and pull requests through Gitee's API. It supports personal, organization, and enterprise operations.

## Overview

- **Category:** Developer Tools
- **Language:** Go
- **Stars:** 61
- **Forks:** 1
- **Owner:** oschina
- **GitHub:** https://github.com/oschina/mcp-gitee
- **Created:** 2025-03-12T09:46:56+00:00
- **Updated:** 2025-03-28T07:12:04+00:00
- **Source:** https://model-context-protocol.com/servers/gitee-ai-assistant-repository-management-server

## Setup

## Setup

### Prerequisites

- Go 1.23.0 or higher
- Gitee account with an access token, [Go to get](https://gitee.com/profile/personal_access_tokens)

### Building from Source

1. Clone the repository:
   ```bash
   git clone https://gitee.com/oschina/mcp-gitee.git
   cd mcp-gitee
   ```

2. Build the project:
   ```bash
   make build
   ```
   Move ./bin/mcp-gitee PATH env

### Use go install
   ```bash
   go install gitee.com/oschina/mcp-gitee@latest
   ```

## Tools

## Available Tools

1.  **list_user_repos** (List user authorized repositories)
2.  **get_file_content** (Get the content of a file in a repository)
3.  **create_user_repo** (Create a user repository)
4.  **create_org_repo** (Create an organization repository)
5.  **create_enter_repo** (Create an enterprise repository)
6.  **create_release** (Create a release for a repository)
7.  **list_releases** (List repository releases)
8.  **list_repo_pulls** (List pull requests in a repository)
9.  **merge_pull** (Merge a pull request)
10. **create_pull** (Create a pull request)
11. **update_pull** (Update a pull request)
12. **get_pull_detail** (Get details of a pull request)
13. **comment_pull** (Comment on a pull request)
14. **list_pull_comments** (List all comments for a pull request)
15. **create_issue** (Create an issue)
16. **update_issue** (Update an issue)
17. **get_repo_issue_detail** (Get details of a repository issue)
18. **list_repo_issues** (List repository issues)
19. **comment_issue** (Comment on an issue)
20. **list_issue_comments** (List comments on an issue)
21. **get_user_info** (Get current authenticated user information)
22. **list_user_notifications** (List user notifications)
