GitLab Duo Agent Platform now supports Model Context Protocol (MCP), enabling AI tools to securely access internal systems like project trackers, databases, and cloud services. GitLab functions as both an MCP client (allowing Duo features to connect to external tools) and MCP server (enabling external AI tools like Cursor and Claude Desktop to connect to GitLab instances). This bidirectional support eliminates context switching by letting developers interact with their entire toolkit through natural language directly in their IDE, while maintaining strict security and authentication controls.
Table of contents
What is MCP?Why AI use MCP instead of APIs?GitLab's MCP supportInteractive walkthrough demo of the MCP client workflowSetting up GitLab MCP clientExample projectExample prompts to try with the demo projectGitLab MCP server capabilitiesInteractive walkthrough: GitLab MCP server in actionSummaryTry it todayRead moreSort: