mcp-server-gitlab

by ZephyrDeng
Verified

Gitlab Raw API Tool

Easily call any GitLab REST API, customize requests, and filter response fields for debugging or advanced workflows. Streamline integration with GitLab for efficient project and task management.

Instructions

支持自定义调用任意 GitLab REST API,适合调试和高级用法。

Input Schema

NameRequiredDescriptionDefault
dataNo请求体
endpointYesGitLab API 路径,如 /projects
fieldsNo需要返回的字段路径数组,支持数组或逗号分隔字符串,用于过滤 API 响应字段。 示例: - ["id", "name", "owner.username"] - "id,name,owner.username" - undefined
methodYesHTTP 方法
paramsNo查询参数

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "data": { "additionalProperties": {}, "description": "请求体", "type": "object" }, "endpoint": { "description": "GitLab API 路径,如 /projects", "type": "string" }, "fields": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" } ], "description": "需要返回的字段路径数组,支持数组或逗号分隔字符串,用于过滤 API 响应字段。\n示例:\n- [\"id\", \"name\", \"owner.username\"]\n- \"id,name,owner.username\"\n- undefined" }, "method": { "description": "HTTP 方法", "enum": [ "GET", "POST", "PUT", "DELETE", "PATCH" ], "type": "string" }, "params": { "additionalProperties": {}, "description": "查询参数", "type": "object" } }, "required": [ "endpoint", "method" ], "type": "object" }
ID: x6a0een21s