GLab is an open source GitLab CLI tool that brings GitLab to the terminal.

MCPCLIAPI

What your agent can do

  • Connect agents to GitLab tools and perform permitted project operations.

    Via MCP.

  • Query and mutate GitLab resources through the versionless GraphQL API.

    Via API.

  • Operate GitLab projects, issues, merge requests, pipelines, groups, and other REST resources.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

MCP connection
CLI connection
CLI package
glab

Authentication
GLab supports multiple authentication methods including OAuth and personal access tokens.
API connection

Query and mutate GitLab resources through the versionless GraphQL API.

API path
https://gitlab.com/api/graphql

Authentication
Supply Authorization: Bearer with a correctly scoped token; some public queries work without authentication.

Operate GitLab projects, issues, merge requests, pipelines, groups, and other REST resources.

API path
https://gitlab.com/api/v4

Documentation & experience

  • 1 of 4 connection paths checked
  • Latest documentation check 13 Oct 2026
View sources and checks
How documentation is checked