Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

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

NameRequiredDescriptionDefault
project_idYesProject 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

Input Schema (JSON Schema)

{ "properties": { "project_id": { "description": "Project identifier (required)\nType: integer OR string\nFormat: numeric ID or 'namespace/project'\nRequired: Yes\nExamples:\n - 12345 (numeric ID from project settings)\n - 'gitlab-org/gitlab' (full path from URL)\n - 'my-company/backend/api-service' (nested groups)\nHow to find: Check project URL or Settings > General > Project ID", "type": "string" } }, "required": [ "project_id" ], "type": "object" }

Other Tools from MCP GitLab Server

Related Tools

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/Vijay-Duke/mcp-gitlab'

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