gitlab_get_project
Retrieve complete project metadata, settings, and statistics from a GitLab repository using the project ID or path. Use to verify configurations or access detailed project information for management tasks.
Instructions
Get detailed project information Returns: Complete project metadata, settings, statistics Use when: Need full project details, checking configuration Required: Project ID or path
Example response: { "id": 12345, "name": "my-project", "path_with_namespace": "group/my-project", "default_branch": "main", "visibility": "private", "issues_enabled": true, "merge_requests_enabled": true, "wiki_enabled": true, "statistics": { "commit_count": 1024, "repository_size": 15728640 } }
Related tools:
gitlab_list_projects: Find projects
gitlab_get_current_project: Auto-detect from git
Input Schema
Name | Required | Description | Default |
---|---|---|---|
project_id | Yes | Project identifier (required) Type: integer OR string Format: numeric ID or 'namespace/project' Required: Yes Examples: - 12345 (numeric ID from project settings) - 'gitlab-org/gitlab' (full path from URL) - 'my-company/backend/api-service' (nested groups) How to find: Check project URL or Settings > General > Project ID |