| name | gitlab-groups |
| description | Manages GitLab groups. Use for listing, editing groups, subgroups, projects, or merge requests. Triggers: group management, namespaces. |
Overview
Handles group structures and contents.
Available Tools
get_groups: Retrieve a list of groups, optionally filtered by search, sort, ownership, or access level or retrieve a single group by id.- Parameters:
group_id(Optional[str]): Optional. - Group ID or pathsearch(Optional[str]): Optional. - Filter groups by search term in name or pathsort(Optional[str]): Optional. - Sort order (e.g., 'asc', 'desc')order_by(Optional[str]): Optional. - Field to sort by (e.g., 'name', 'path')owned(Optional[bool]): Optional. - Filter groups owned by the authenticated usermin_access_level(Optional[int]): Optional. - Filter groups by minimum access level (e.g., 10 for Guest)top_level_only(Optional[bool]): Optional. - Include only top-level groups (exclude subgroups)
- Parameters:
edit_group: Edit a specific GitLab group's details (name, path, description, or visibility).- Parameters:
group_id(str): Optional. - Group ID or pathname(Optional[str]): Optional. - New name for the grouppath(Optional[str]): Optional. - New path for the groupdescription(Optional[str]): Optional. - New description for the groupvisibility(Optional[str]): Optional. - New visibility level (e.g., 'public', 'private')ctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
get_group_subgroups: Retrieve a list of subgroups for a specific GitLab group, optionally filtered.- Parameters:
group_id(str): Optional. - Group ID or pathsearch(Optional[str]): Optional. - Filter subgroups by search term in name or pathsort(Optional[str]): Optional. - Sort order (e.g., 'asc', 'desc')order_by(Optional[str]): Optional. - Field to sort by (e.g., 'name', 'path')owned(Optional[bool]): Optional. - Filter subgroups owned by the authenticated user
- Parameters:
get_group_descendant_groups: Retrieve a list of all descendant groups for a specific GitLab group, optionally filtered.- Parameters:
group_id(str): Optional. - Group ID or pathsearch(Optional[str]): Optional. - Filter descendant groups by search term in name or pathsort(Optional[str]): Optional. - Sort order (e.g., 'asc', 'desc')order_by(Optional[str]): Optional. - Field to sort by (e.g., 'name', 'path')owned(Optional[bool]): Optional. - Filter descendant groups owned by the authenticated user
- Parameters:
get_group_projects: Retrieve a list of projects associated with a specific GitLab group, optionally including subgroups.- Parameters:
group_id(str): Optional. - Group ID or pathinclude_subgroups(Optional[bool]): Optional. - Include projects from subgroupssearch(Optional[str]): Optional. - Filter projects by search term in name or pathsort(Optional[str]): Optional. - Sort order (e.g., 'asc', 'desc')order_by(Optional[str]): Optional. - Field to sort by (e.g., 'name', 'path')
- Parameters:
get_group_merge_requests: Retrieve a list of merge requests associated with a specific GitLab group, optionally filtered.- Parameters:
group_id(str): Optional. - Group ID or pathstate(Optional[str]): Optional. - Filter merge requests by state (e.g., 'opened', 'closed')scope(Optional[str]): Optional. - Filter merge requests by scope (e.g., 'created_by_me')milestone(Optional[str]): Optional. - Filter merge requests by milestone titlesearch(Optional[str]): Optional. - Filter merge requests by search term in title or description
- Parameters:
Usage Instructions
- Use group_id for specifics.
- Filters: search, sort, owned.
Examples
- List subgroups:
get_group_subgroupswith group_id="mygroup". - Get projects:
get_group_projectswith group_id="mygroup", include_subgroups=true.
Error Handling
- Access denied: Check permissions.