CuratedMCP
✨
OpenAI Agents SDK
Free

How to Install GitLab MCP in OpenAI Agents SDK

GitLab's official MCP server for issues, merge requests and pipelines.

What GitLab MCP does

GitLab's built-in MCP server. Sign in with your GitLab account (OAuth) to let an agent work with issues, merge requests and pipelines. Self-managed instances use their own URL in place of gitlab.com.

gitlab
repo
ci-cd
merge-requests
issues

Installation steps

  1. 1Install: pip install openai-agents
  2. 2Copy the snippet below into your agent code
  3. 3Replace placeholder env values with your real keys
  4. 4Pass mcp_servers=[mcp_server] to your Agent()

Python snippet

Python snippetpython
from agents import Agent
from agents.mcp import MCPServerStreamableHttp

mcp_server = MCPServerStreamableHttp(params={"url": "https://gitlab.com/api/v4/mcp"})

agent = Agent(
    name="My Agent",
    model="gpt-4o",
    mcp_servers=[mcp_server],
)
Full server details Open Config Editor

Install in other clients

For maintainers

If you maintain GitLab MCP, add this badge to your README to show it's verified on CuratedMCP:

CuratedMCP Verified
[![CuratedMCP Verified](https://www.curatedmcp.com/api/badge/gitlab-mcp)](https://www.curatedmcp.com/marketplace/gitlab-mcp)

Related servers