GitLab MCP by usefulapi

Read projects, issues, merge requests and pipelines; create issues and comments in GitLab.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
98%
Integridad del esquema
93%
Calidad de los nombres
80%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~3,199Tokens (definiciones de herramientas)
~1.7 KBTamaño de respuesta típico
Impacto significativo en la atención (2.50% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "gitlab": {
      "url": "https://gitlab.usefulapi.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://gitlab.usefulapi.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (16)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢gitlab_whoami

Return the GitLab user this token belongs to (id, username, name). Good first call to check the connection. GET /user.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_list_projects(membership, search, archived, order_by, sort, ...)

List projects visible to the token. Set membership to true to list only the projects you belong to. GET /projects.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "membership": {
      "description": "Only projects the user is a member of.",
      "type": "boolean"
    },
    "search": {
      "description": "Match project names.",
      "type": "string"
    },
    "archived": {
      "description": "Limit by archived status: true returns only archived projects. Omit for both.",
      "type": "boolean"
    },
    "order_by": {
      "type": "string",
      "enum": [
        "id",
        "name",
        "path",
        "created_at",
        "updated_at",
        "last_activity_at"
      ]
    },
    "sort": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_get_project(project)

Return one project: path, default branch, visibility, topics and links. GET /projects/:id.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_list_groups(search, page, per_page)

List groups visible to the token, optionally filtered by name. GET /groups.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "search": {
      "description": "Match group names.",
      "type": "string"
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_list_issues(project, state, labels, search, assignee_username, ...)

List issues in a project, filtered by state, labels, assignee or author. GET /projects/:id/issues.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "state": {
      "description": "Issue state (default all).",
      "type": "string",
      "enum": [
        "opened",
        "closed",
        "all"
      ]
    },
    "labels": {
      "description": "Comma-separated label names; all must match.",
      "type": "string"
    },
    "search": {
      "description": "Match titles and descriptions.",
      "type": "string"
    },
    "assignee_username": {
      "description": "Only issues assigned to this username.",
      "type": "string"
    },
    "author_username": {
      "description": "Only issues created by this username.",
      "type": "string"
    },
    "order_by": {
      "type": "string",
      "enum": [
        "created_at",
        "updated_at",
        "priority",
        "due_date",
        "popularity",
        "weight"
      ]
    },
    "sort": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_get_issue(project, iid)

Return one issue by its project-scoped iid: title, description, state, labels and assignees. GET /projects/:id/issues/:iid.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "iid": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Project-scoped number shown in the URL (for example 42 for !42 or #42)."
    }
  },
  "required": [
    "project",
    "iid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_list_issue_notes(project, iid, sort, order_by, page, ...)

List the comments (notes) on an issue, oldest first by default. GET /projects/:id/issues/:iid/notes.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "iid": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Project-scoped number shown in the URL (for example 42 for !42 or #42)."
    },
    "sort": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "order_by": {
      "type": "string",
      "enum": [
        "created_at",
        "updated_at"
      ]
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "project",
    "iid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_list_merge_requests(project, state, source_branch, target_branch, labels, ...)

List merge requests in a project, filtered by state, branches or author. GET /projects/:id/merge_requests.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "state": {
      "description": "Merge request state (default all).",
      "type": "string",
      "enum": [
        "all",
        "opened",
        "closed",
        "locked",
        "merged"
      ]
    },
    "source_branch": {
      "type": "string"
    },
    "target_branch": {
      "type": "string"
    },
    "labels": {
      "description": "Comma-separated label names; all must match.",
      "type": "string"
    },
    "search": {
      "type": "string"
    },
    "author_username": {
      "type": "string"
    },
    "order_by": {
      "type": "string",
      "enum": [
        "created_at",
        "updated_at",
        "title"
      ]
    },
    "sort": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_get_merge_request(project, iid)

Return one merge request by its project-scoped iid: title, state, branches, author, reviewers and merge status. GET /projects/:id/merge_requests/:iid.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "iid": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Project-scoped number shown in the URL (for example 42 for !42 or #42)."
    }
  },
  "required": [
    "project",
    "iid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_list_pipelines(project, status, ref, order_by, sort, ...)

List CI/CD pipelines in a project, filtered by status or branch or tag. GET /projects/:id/pipelines.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "status": {
      "type": "string",
      "enum": [
        "created",
        "waiting_for_resource",
        "preparing",
        "pending",
        "running",
        "success",
        "failed",
        "canceled",
        "skipped",
        "manual",
        "scheduled"
      ]
    },
    "ref": {
      "description": "Branch or tag name.",
      "type": "string"
    },
    "order_by": {
      "type": "string",
      "enum": [
        "id",
        "status",
        "ref",
        "updated_at"
      ]
    },
    "sort": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_get_pipeline(project, pipeline_id)

Return one pipeline: status, ref, commit sha, duration and who triggered it. GET /projects/:id/pipelines/:pipeline_id.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "pipeline_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Pipeline id."
    }
  },
  "required": [
    "project",
    "pipeline_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_list_pipeline_jobs(project, pipeline_id, page, per_page)

List the jobs of one pipeline with their stage, status and duration. GET /projects/:id/pipelines/:pipeline_id/jobs.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "pipeline_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Pipeline id."
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "project",
    "pipeline_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_list_branches(project, search, page, per_page)

List branches of a repository, optionally filtered by name. GET /projects/:id/repository/branches.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "search": {
      "description": "Match branch names.",
      "type": "string"
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢gitlab_list_commits(project, ref_name, since, until, path, ...)

List commits on a branch, tag or sha, optionally in a time window or touching one path. GET /projects/:id/repository/commits.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "ref_name": {
      "description": "Branch, tag or sha (default: default branch).",
      "type": "string"
    },
    "since": {
      "description": "ISO 8601 timestamp, for example 2026-01-31T00:00:00Z.",
      "type": "string"
    },
    "until": {
      "description": "ISO 8601 timestamp, for example 2026-01-31T00:00:00Z.",
      "type": "string"
    },
    "path": {
      "description": "Only commits that change this file or folder.",
      "type": "string"
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "project"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴gitlab_create_issue(project, title, description, labels)

Create a new issue in a project with a title, optional description and optional labels. POST /projects/:id/issues.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "description": "Issue title."
    },
    "description": {
      "description": "Issue body, Markdown.",
      "type": "string"
    },
    "labels": {
      "description": "Comma-separated label names.",
      "type": "string"
    }
  },
  "required": [
    "project",
    "title"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴gitlab_create_issue_note(project, iid, body)

Add a comment (note) to an existing issue. POST /projects/:id/issues/:iid/notes.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 1,
      "description": "Project id (number) or full path, for example gitlab-org/gitlab."
    },
    "iid": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Project-scoped number shown in the URL (for example 42 for !42 or #42)."
    },
    "body": {
      "type": "string",
      "minLength": 1,
      "description": "Comment text, Markdown."
    }
  },
  "required": [
    "project",
    "iid",
    "body"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada16 herramientas