Projects & Namespaces

July 26, 2026 ยท View on GitHub

Project/namespace listing, member queries, group iterations, and server health.

Tools in this group


get_project

๐Ÿ“– Read-only

Get details of a specific project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path

list_projects

๐Ÿ“– Read-only

List projects accessible by the current user

Parameters

ParameterTypeRequiredDescription
searchstringSearch term for projects
search_namespacesbooleanNeeds to be true if search is full path
ownedbooleanFilter for projects owned by current user
membershipbooleanFilter for projects where current user is a member
simplebooleanReturn only limited fields
archivedbooleanFilter for archived projects
visibilityenum (public | internal | private)Filter by project visibility
order_byenum (id | name | path | created_at | updated_at | last_activity_at)Return projects ordered by field
sortenum (asc | desc)Return projects sorted in ascending or descending order
with_issues_enabledbooleanFilter projects with issues feature enabled
with_merge_requests_enabledbooleanFilter projects with merge requests feature enabled
min_access_levelnumberFilter by minimum access level
topicstringFilter by topic (projects tagged with this topic)
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

update_project

โœ๏ธ Writes

Update project settings such as description, visibility, default branch, and feature access levels

Parameters

ParameterTypeRequiredDescription
project_idstringProject ID or complete URL-encoded path to project
namestringProject display name
pathstringProject path/slug
descriptionstringProject description
default_branchstringDefault branch name
visibilityenum (private | internal | public)Project visibility
topicsarrayProject topics
request_access_enabledbooleanAllow users to request access
remove_source_branch_after_mergebooleanRemove source branches after merge by default
only_allow_merge_if_pipeline_succeedsbooleanRequire successful pipeline before merge
only_allow_merge_if_all_discussions_are_resolvedbooleanRequire all discussions to be resolved before merge
squash_optionenum (never | always | default_on | default_off)Squash commits setting
merge_methodenum (merge | rebase_merge | ff)Merge method
issues_access_levelenum (disabled | private | enabled)Issues feature visibility
merge_requests_access_levelenum (disabled | private | enabled)Merge requests feature visibility
builds_access_levelenum (disabled | private | enabled)CI/CD pipelines feature visibility
wiki_access_levelenum (disabled | private | enabled)Wiki feature visibility
snippets_access_levelenum (disabled | private | enabled)Snippets feature visibility
container_registry_access_levelenum (disabled | private | enabled)Container registry feature visibility
environments_access_levelenum (disabled | private | enabled)Environments feature visibility
forking_access_levelenum (disabled | private | enabled)Forking feature visibility
package_registry_access_levelenum (disabled | private | enabled)Package registry feature visibility
pages_access_levelenum (disabled | private | enabled | public)Pages feature visibility

list_project_members

๐Ÿ“– Read-only

List members of a GitLab project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
querystringSearch for members by name or username
user_idsarrayFilter by user IDs
skip_usersarrayUser IDs to exclude
include_inheritancebooleanInclude inherited members. Defaults to false.
per_pagenumberNumber of items per page (default: 20, max: 100)
pagenumberPage number for pagination (default: 1)

list_namespaces

๐Ÿ“– Read-only

List all namespaces (users and groups) available to the current user. Filter by kind='group' for groups only.

Parameters

ParameterTypeRequiredDescription
searchstringSearch term for namespaces
ownedbooleanFilter for namespaces owned by current user
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

get_namespace

๐Ÿ“– Read-only

Get details of a namespace (user or group) by ID or path. Groups are namespaces with kind='group'.

Parameters

ParameterTypeRequiredDescription
namespace_idstringโœ“Namespace ID or full path

verify_namespace

๐Ÿ“– Read-only

Verify if a namespace path exists. Use parent_id to scope the check to a specific parent namespace โ€” required for nested namespaces where the same path may exist under different parents.

Parameters

ParameterTypeRequiredDescription
pathstringโœ“Namespace path to verify
parent_idintegerParent namespace ID; required to correctly resolve paths in nested namespaces where the same path may exist under different parents

list_group_projects

๐Ÿ“– Read-only

List projects in a group

Parameters

ParameterTypeRequiredDescription
group_idstringโœ“Group ID or path
include_subgroupsbooleanInclude projects from subgroups
searchstringSearch term to filter projects
order_byenum (name | path | created_at | updated_at | last_activity_at)Field to sort by
sortenum (asc | desc)Sort direction
archivedbooleanFilter for archived projects
visibilityenum (public | internal | private)Filter by project visibility
with_issues_enabledbooleanFilter projects with issues feature enabled
with_merge_requests_enabledbooleanFilter projects with merge requests feature enabled
min_access_levelnumberFilter by minimum access level
with_programming_languagestringFilter by programming language
starredbooleanFilter by starred projects
statisticsbooleanInclude project statistics
with_custom_attributesbooleanInclude custom attributes
with_security_reportsbooleanInclude security reports
topicstringFilter by topic (projects tagged with this topic)
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

list_group_iterations

๐Ÿ“– Read-only

List group iterations with filtering options

Parameters

ParameterTypeRequiredDescription
group_idstringโœ“Group ID or URL-encoded path
stateenum (opened | upcoming | current | closed | all)Return opened, upcoming, current, closed, or all iterations.
searchstringReturn only iterations with a title matching the provided string.
search_inarray<enum (title | cadence_title)>Fields in which fuzzy search should be performed with the query given in the argument search. The available options are title and cadence_title. Default is [title].
include_ancestorsbooleanInclude iterations for group and its ancestors. Defaults to true.
include_descendantsbooleanInclude iterations for group and its descendants. Defaults to false.
updated_beforestringReturn only iterations updated before the given datetime. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
updated_afterstringReturn only iterations updated after the given datetime. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

health_check

๐Ÿ“– Read-only

Verify server status and authentication. When authenticated, also reports the GitLab instance version from GET /api/v4/version (version, revision, enterprise). Version lookup failures do not fail the health check โ€” those fields are omitted.

Parameters

No parameters.