Gitlab Get Project
gitlab_get_projectGet details for a specific GitLab project (e.g., project ID "123" or path "group/project"). Returns name, description, visibility, stars, forks, and default branch.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "123",
"_apiKey": "your-gitlab-api-key"
},
"name": "gitlab_get_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project ID (numeric, e.g. "278964") or full path "namespace/project" (e.g. "gitlab-org/gitlab"). Pass the plain path, do NOT URL-encode it; the pack encodes it. | |
| _apiKey | Yes | GitLab personal access token |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project ID | |
| url | Yes | Project web URL | |
| name | Yes | Project name | |
| forks | Yes | Fork count | |
| stars | Yes | Star count | |
| topics | Yes | Project topics/tags | |
| archived | Yes | Whether project is archived | |
| full_path | Yes | Full path with namespace | |
| namespace | Yes | Namespace full path | |
| created_at | Yes | Project creation timestamp | |
| visibility | Yes | Project visibility (public/private/internal) | |
| description | Yes | Project description | |
| open_issues | Yes | Open issues count | |
| last_activity | Yes | Last activity timestamp | |
| default_branch | Yes | Default branch name |