List Projects
get_projectsList GitLab projects accessible to your account, including private projects when authenticated. Supports sorting and cursor-based pagination for complete results.
Instructions
List projects accessible to the user (requires authentication to see private projects)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | GitLab project sort string (e.g., latest_activity_desc, created_desc, name_asc, stars_desc). Defaults to latest_activity_desc for recency. | |
| after | No | Pagination cursor. To fetch the next page, pass the previous response pageInfo.endCursor here and repeat until pageInfo.hasNextPage is false. Paginating this way is the reliable path to complete results and accurate totals. | |
| first | No | Number of projects to retrieve | |
| fetchAll | No | Fetch multiple pages in one call, up to "first" items total (max 100) — NOT exhaustive. For complete results or accurate counts, leave this false and paginate via after (pageInfo.endCursor). | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | ||
| hasMore | No | ||
| pageInfo | Yes | ||
| totalFetched | No |