Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
All integrations
GitLab

GitLab

Issues, merge requests, pipelines and code across your GitLab projects.

Developer
Connect GitLabGitLab docs

How an agent reaches it

  • MCP

    Official MCP server. The agent lists its tools and calls them.

  • REST API

    Always available. The agent calls the API directly with your credential attached.

  • CLI

    The `glab` command, run on one of your computers with the credential mounted.

How you authenticate

  • OAuth
  • API key
  1. In GitLab, open your top-level group, then Settings, then General.
  2. Under GitLab Duo, set availability to always on and turn on beta and experimental features.
  3. Still under GitLab Duo, turn on access to the MCP server for the group.
  4. Without those group settings GitLab answers 404 and the MCP lane cannot come online. The REST lane works regardless.

How agents reach it

Base URL
https://gitlab.com/api/v4
Pagination
link_header
MCP server
https://gitlab.com/api/v4/mcp
CLI
glab

Common endpoints

who am IGET /user
list projectsGET /projects?membership=true
list issuesGET /projects/{id}/issues
create issuePOST /projects/{id}/issues
list merge requestsGET /projects/{id}/merge_requests
create merge requestPOST /projects/{id}/merge_requests
list pipelinesGET /projects/{id}/pipelines

Worth knowing

  • Project ids in paths must be URL-encoded when using the `group/project` form: `mygroup%2Fmyproject`.
  • GitLab answers 404 rather than 403 for resources your token cannot see.
  • Self-hosted instances use a different base URL. Ask the user rather than assuming gitlab.com.
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Containers
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Skills
  • Learn
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)