Gitee 官方 MCP Server,让 AI 助手通过 Gitee API 管理仓库、Issue、PR 和通知,支持本地运行或远程接入。
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add gitee -- npx -y @gitee/mcp-gitee@latest~/.codex/config.toml
[mcp_servers.gitee]
command = "npx"
args = ["-y", "@gitee/mcp-gitee@latest"]
# codex mcp add gitee -- npx -y @gitee/mcp-gitee@latest~/.cursor/mcp.json
{
"mcpServers": {
"gitee": {
"command": "npx",
"args": [
"-y",
"@gitee/mcp-gitee@latest"
]
}
}
}.vscode/mcp.json
{
"servers": {
"gitee": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@gitee/mcp-gitee@latest"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gitee": {
"command": "npx",
"args": [
"-y",
"@gitee/mcp-gitee@latest"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gitee": {
"command": "npx",
"args": [
"-y",
"@gitee/mcp-gitee@latest"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"gitee": {
"command": "npx",
"args": [
"-y",
"@gitee/mcp-gitee@latest"
]
}
}
}远程托管
claude mcp add --transport http gitee https://api.gitee.com/mcp~/.codex/config.toml
[mcp_servers.gitee]
url = "https://api.gitee.com/mcp"
# codex mcp add gitee --url https://api.gitee.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"gitee": {
"url": "https://api.gitee.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"gitee": {
"type": "http",
"url": "https://api.gitee.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gitee": {
"httpUrl": "https://api.gitee.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"gitee": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.gitee.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"gitee": {
"url": "https://api.gitee.com/mcp"
}
}
}