gitlab_get_project

Pack: gitlab · Endpoint: https://gateway.pipeworx.io/gitlab/mcp

Get details for a specific GitLab project (e.g., project ID “123” or path “group/project”). Returns name, description, visibility, stars, forks, and default branch.

Parameters

NameTypeRequiredDescription
_apiKeystringyesGitLab personal access token
idstringyesProject ID (numeric) or URL-encoded path (e.g., “group%2Fproject”)

Example call

Arguments

{
  "_apiKey": "your-gitlab-api-key",
  "id": "123"
}

curl

curl -X POST https://gateway.pipeworx.io/gitlab/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gitlab_get_project","arguments":{"_apiKey":"your-gitlab-api-key","id":"123"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('gitlab_get_project', {
  "_apiKey": "your-gitlab-api-key",
  "id": "123"
});

More examples

{
  "_apiKey": "your-gitlab-api-key",
  "id": "group%2Fproject"
}

Response shape

Always returns: id, name, full_path, description, url, stars, forks, open_issues, default_branch, visibility, archived, namespace, topics, created_at, last_activity

FieldTypeDescription
idnumberProject ID
namestringProject name
full_pathstringFull path with namespace
descriptionstring | nullProject description
urlstringProject web URL
starsnumberStar count
forksnumberFork count
open_issuesnumberOpen issues count
default_branchstringDefault branch name
visibilitystringProject visibility (public/private/internal)
archivedbooleanWhether project is archived
namespacestring | nullNamespace full path
topicsarrayProject topics/tags
created_atstringProject creation timestamp
last_activitystringLast activity timestamp
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "number",
      "description": "Project ID"
    },
    "name": {
      "type": "string",
      "description": "Project name"
    },
    "full_path": {
      "type": "string",
      "description": "Full path with namespace"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Project description"
    },
    "url": {
      "type": "string",
      "description": "Project web URL"
    },
    "stars": {
      "type": "number",
      "description": "Star count"
    },
    "forks": {
      "type": "number",
      "description": "Fork count"
    },
    "open_issues": {
      "type": "number",
      "description": "Open issues count"
    },
    "default_branch": {
      "type": "string",
      "description": "Default branch name"
    },
    "visibility": {
      "type": "string",
      "description": "Project visibility (public/private/internal)"
    },
    "archived": {
      "type": "boolean",
      "description": "Whether project is archived"
    },
    "namespace": {
      "type": [
        "string",
        "null"
      ],
      "description": "Namespace full path"
    },
    "topics": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Project topics/tags"
    },
    "created_at": {
      "type": "string",
      "description": "Project creation timestamp"
    },
    "last_activity": {
      "type": "string",
      "description": "Last activity timestamp"
    }
  },
  "required": [
    "id",
    "name",
    "full_path",
    "description",
    "url",
    "stars",
    "forks",
    "open_issues",
    "default_branch",
    "visibility",
    "archived",
    "namespace",
    "topics",
    "created_at",
    "last_activity"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "gitlab": {
      "url": "https://gateway.pipeworx.io/gitlab/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026