Skip to main content
idapt
HomeAI ModelsExploreResourcesPricing
Sign inUse for Free
All integrations
GitLab

GitLab

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

Developer
Connect GitLabGitLab docs

How an agent reaches it

MCPREST APICLI

How you authenticate

OAuth
API key
Get an 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.

Connection details

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

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
  • Skills
  • Image models
  • Voice models
  • Video models
  • Rankings
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • Blog
  • About
  • Comparisons
  • Benchmarks
  • Model Match
  • Demos
  • Help center
  • FAQ
  • Privacy
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)Discord