Install
$ agentstack add mcp-oschina-mcp-gitee-ent ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Gitee Enterprise MCP Server
Gitee Enterprise MCP Server is a Model Context Protocol (MCP) server implementation for Gitee Enterprise. It provides a set of tools for interacting with Gitee Enterprise API, allowing AI assistants to manage enterprise repositories, issues, pull requests, and more.
[](https://cursor.com/en/install-mcp?name=gitee-ent&config=eyJjb21tYW5kIjoibnB4IC15IEBnaXRlZS9tY3AtZ2l0ZWUtZW50QGxhdGVzdCIsImVudiI6eyJHSVRFRV9FTlRfTUNQX0FDQ0VTU19UT0tFTiI6Ijx5b3VyIG1jcCBlbnQgYWNjZXNzIHRva2VuPiJ9fQ%3D%3D)
Features
- Interact with Gitee Enterprise repositories, issues, pull requests
- Support for enterprise-level operations and management
- Configurable API base URL to support different Gitee Enterprise instances
- Support for SSE and Stdio transport
- Dynamic toolset enable/disable
Scenario Example
- Get specific enterprise issues
- Improve the issue content
- Divide subtasks
- Create PR/Review PR
Installation(This step can be skipped directly when starting npx)
Prerequisites
- Go 1.23.0 or higher
- MCP token, Go to get
Building from Source
- Clone the repository:
``bash git clone https://gitee.com/oschina/mcp-gitee-ent.git cd mcp-gitee-ent ``
- Build the project:
``bash make build `` Move ./bin/mcp-gitee-ent PATH env
Use go install
``bash go install gitee.com/oschina/mcp-gitee-ent@latest ``
Usage
Check mcp-gitee-ent version:
mcp-gitee-ent --version
MCP Hosts Configuration
Config example:
- npx
{
"mcpServers": {
"gitee-ent": {
"command": "npx",
"args": [
"-y",
"@gitee/mcp-gitee-ent@latest"
],
"env": {
"GITEE_ENT_API_BASE": "https://api.gitee.com/enterprises",
"GITEE_ENT_MCP_ACCESS_TOKEN": ""
}
}
}
}
- executable
{
"mcpServers": {
"gitee-ent": {
"command": "mcp-gitee-ent",
"env": {
"GITEE_ENT_API_BASE": "https://api.gitee.com/enterprises",
"GITEE_ENT_MCP_ACCESS_TOKEN": "",
}
}
}
}
Command-line Options
--token: access token--api-base: Gitee Ent API base URL (default: https://api.gitee.com/enterprises)--version: Show version information--transport: Transport type (stdio or sse, default: stdio)--sse-address: The host and port to start the SSE server on (default: localhost:8000)--enabled-toolsets: Comma-separated list of tools to enable (if specified, only these tools will be enabled)--disabled-toolsets: Comma-separated list of tools to disable
Environment Variables
You can also configure the server using environment variables:
GITEE_ENT_MCP_ACCESS_TOKEN: Gitee MCP ent access tokenGITEE_ENT_API_BASE: Gitee ENT API base URLENABLED_TOOLSETS: Comma-separated list of tools to enableDISABLED_TOOLSETS: Comma-separated list of tools to disable
Toolset Management
Toolset management supports two modes:
- Enable specified tools (whitelist mode):
- Use
--enabled-toolsetsparameter orENABLED_TOOLSETSenvironment variable - Specify after, only listed tools will be enabled, others will be disabled
- Example:
--enabled-toolsets="update_enterprise_issue,list_enterprise_repositories"
- Disable specified tools (blacklist mode):
- Use
--disabled-toolsetsparameter orDISABLED_TOOLSETSenvironment variable - Specify after, listed tools will be disabled, others will be enabled
- Example:
--disabled-toolsets="update_enterprise_issue,list_enterprise_repositories"
Note:
- If both
enabled-toolsetsanddisabled-toolsetsare specified,enabled-toolsetstakes precedence - Tool names are case-sensitive
Available Tools
The server provides various tools for interacting with Gitee Enterprise:
| Tool | Category | Description | |----------------------------------------|---------------|-------------| | listenterprises | Enterprise | List user's enterprises | | listenterpriserepositories | Repository | List repositories in an enterprise | | createenterpriserepository | Repository | Create a repository in an enterprise | | createenterprisereporelease | Repository | Create a release for repository | | listenterprisereporeleases | Repository | List releases for repository | | getenterpriserepositoryfilecontent | Repository | Get the content of a specific file in the repository | | getenterpriserepotree | Repository | Get the tree structure of a repository | | listenterprisepulls | Pull Request | List enterprise pull requests | | createenterpriserepopull | Pull Request | Create a pull request for repository | | mergeenterprisepull | Pull Request | Merge a pull request | | getenterprisepulldetail | Pull Request | Get pull request detail | | updateenterprisepull | Pull Request | Update a pull request | | getenterprisepulldiff | Pull Request | Get pull request diff | | commententerprisepull | Pull Request | Comment on a pull request | | listenterprisepullcomments | Pull Request | List pull request comments | | createenterpriseissue | Issue | Create an issue | | updateenterpriseissue | Issue | Update an issue | | getenterpriseissuedetail | Issue | Get issue detail | | listenterpriseissues | Issue | List issues | | commententerpriseissue | Issue | Comment on an issue | | listenterpriseissuecomments | Issue | List issue comments | | getuserinfo | User | Get user info | | listenterprisemembers | Member | List members of an enterprise | | listenterprisegroups | Group | List groups in an enterprise | | listenterpriselabels | Label | List labels of an enterprise | | listprograms | Program | List programs of an enterprise | | listscrumsprints | Program | List Scrum Sprints | | createscrumsprint | Program | Create a Scrum Sprint | | listscrumversions | Program | List Scrum Versions | | listissuetypes | Issue Type | List issue types | | listissuetypestates | Issue State | List issue states |
Contribution
We welcome contributions from the open-source community! If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure the code is well-documented.
- Submit a pull request with a clear description of your changes.
For more information, please refer to the [CONTRIBUTING](CONTRIBUTING.md) file.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: oschina
- Source: oschina/mcp-gitee-ent
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.