Skip to main content
Glama
harshmaur

GitLab MCP Server

by harshmaur

list_group_projects

Retrieve and filter projects within a GitLab group using criteria like visibility, programming language, or feature availability to manage development resources.

Instructions

List projects in a GitLab group with filtering options

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_idYesGroup ID or path
include_subgroupsNoInclude projects from subgroups
searchNoSearch term to filter projects
order_byNoField to sort by
sortNoSort direction
archivedNoFilter for archived projects
visibilityNoFilter by project visibility
with_issues_enabledNoFilter projects with issues feature enabled
with_merge_requests_enabledNoFilter projects with merge requests feature enabled
min_access_levelNoFilter by minimum access level
with_programming_languageNoFilter by programming language
starredNoFilter by starred projects
statisticsNoInclude project statistics
with_custom_attributesNoInclude custom attributes
with_security_reportsNoInclude security reports
pageNoPage number for pagination (default: 1)
per_pageNoNumber of items per page (max: 100, default: 20)

Implementation Reference

  • Zod input schema definition for the 'list_group_projects' tool. Defines parameters like group_id, include_subgroups, search, ordering, filtering options, and merges with PaginationOptionsSchema.
    export const ListGroupProjectsSchema = z.object({
      group_id: z.string().describe("Group ID or path"),
      include_subgroups: z.boolean().optional().describe("Include projects from subgroups"),
      search: z.string().optional().describe("Search term to filter projects"),
      order_by: z
        .enum(["name", "path", "created_at", "updated_at", "last_activity_at"])
        .optional()
        .describe("Field to sort by"),
      sort: z.enum(["asc", "desc"]).optional().describe("Sort direction"),
      archived: z.boolean().optional().describe("Filter for archived projects"),
      visibility: z
        .enum(["public", "internal", "private"])
        .optional()
        .describe("Filter by project visibility"),
      with_issues_enabled: z
        .boolean()
        .optional()
        .describe("Filter projects with issues feature enabled"),
      with_merge_requests_enabled: z
        .boolean()
        .optional()
        .describe("Filter projects with merge requests feature enabled"),
      min_access_level: z.number().optional().describe("Filter by minimum access level"),
      with_programming_language: z.string().optional().describe("Filter by programming language"),
      starred: z.boolean().optional().describe("Filter by starred projects"),
      statistics: z.boolean().optional().describe("Include project statistics"),
      with_custom_attributes: z.boolean().optional().describe("Include custom attributes"),
      with_security_reports: z.boolean().optional().describe("Include security reports"),
    }).merge(PaginationOptionsSchema);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/harshmaur/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server