Retrieve metadata information for this 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 /metadata

This feature was introduced in GitLab 15.2.

Responses

  • 200 application/json

    Retrieve metadata information for this 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 /metadata
curl \
 --request GET 'https://www.gitlab.com/api/v4/metadata' \
 --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
}