GitLab MCP: Documentation
Updated:
Connection
Remote: https://<your-instance>/api/v4/mcp — for both GitLab.com and self-managed installs (swap in your own domain for <your-instance>). Authorization is OAuth 2.0 with Dynamic Client Registration: the client registers itself automatically, no manual OAuth app setup required.
Tools
create_issue— create an issue with a description, labels and assignee.get_merge_request_diffs— a merge request's diff for review without opening the web UI.manage_pipeline— trigger, stop and check CI/CD pipeline status.get_job_log— logs for a specific pipeline job, including failed ones.semantic_code_search— search the codebase by meaning rather than exact string matches.
Agent flow
"Why did the pipeline fail on feature/auth?", "find where the refresh token is handled and file an issue to refactor it", "show the diff of the latest merge request in this project".
Limits
The server is Beta — the tool interface may change. Available capabilities depend on the project's plan: some Duo AI features require Premium/Ultimate plus a GitLab Duo Pro/Enterprise add-on.
Pricing
Available on Free, Premium and Ultimate tiers; some Duo functionality may require an additional license — check with your instance administrator.