Retrieves version information for the GitLab instance

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/demo/doc/gitlab/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Gitlab (Unofficial) MCP server": {
  "url": "https://bump.sh/demo/doc/gitlab/mcp"
}
Close
GET /version

This feature was introduced in GitLab 8.13 and deprecated in 15.5. We recommend you instead use the Metadata API.

Responses

  • 200 application/json

    Retrieves version information for the GitLab instance

    Hide response attributes Show response attributes object
    • version string
    • revision string
    • kas object
      Hide kas attributes Show kas attributes object
      • enabled boolean
      • externalUrl string
      • version string
    • enterprise boolean
  • 401

    Unauthorized

GET /version
curl \
 --request GET 'https://www.gitlab.com/api/v4/version' \
 --header "Private-Token: $API_KEY"
Response examples (200)
{
  "version": "15.2-pre",
  "revision": "c401a659d0c",
  "kas": {
    "enabled": true,
    "externalUrl": "grpc://gitlab.example.com:8150",
    "version": "15.0.0"
  },
  "enterprise": true
}