[ MCP SERVER SUMMARY ]
GitLab’s official MCP server lets AI tools access project data, manage issues, and perform repository operations with OAuth 2.0. Bifrost handles upstream OAuth token refresh, scopes tool access per virtual key, and records an immutable audit trail for compliance.
| Property | Details |
|---|---|
| Company | GitLab |
| Connection type | HTTP |
| Authentication | OAuth 2.0 |
| Package or endpoint | Your GitLab instance MCP endpoint |
| Capabilities | Project and repository access, Issue management, OAuth-based user access |
| Official documentation | GitLab MCP documentation |
[ HOW TO CONNECT ]
Start the gateway locally or deploy in your VPC.
npx -y @maximhq/bifrost
Open MCP Gateway in the Bifrost dashboard, click New MCP Server, and choose HTTP. Or register via the API below.
• GitLab MCP typically uses OAuth — set Auth Type to oauth or per_user_oauth in Bifrost.
• For shared service accounts, header auth with a project access token may be simpler.
Configure Claude Desktop, Cursor, or Claude Code to use your Bifrost endpoint with a virtual key instead of connecting directly to GitLab.
{
"mcpServers": {
"bifrost": {
"url": "http://localhost:8080/mcp",
"headers": {
"Authorization": "Bearer vk_your_virtual_key"
}
}
}
}[ EXAMPLE CONFIG ]
Add this MCP client with a POST to /api/mcp/client. See Connecting to MCP Servers for full options.
curl -X POST http://localhost:8080/api/mcp/client \
-H "Content-Type: application/json" \
-d '{
"name": "gitlab",
"connection_type": "http",
"connection_string": "https://gitlab.com/api/v4/mcp",
"auth_type": "oauth",
"oauth_config": {
"client_id": "env.GITLAB_OAUTH_CLIENT_ID",
"client_secret": "env.GITLAB_OAUTH_CLIENT_SECRET",
"token_url": "https://gitlab.com/oauth/token"
},
"tools_to_execute": ["*"]
}'[ WHY BIFROST ]
Virtual keys, RBAC, and tool allowlists per team or agent.
Attribute MCP tool spend alongside LLM usage in one view.
Log every tool call with latency, server, and virtual key metadata.
Upstream secrets stay in the gateway — not on every laptop.
[ FAQ ]
GitLab’s official MCP server is designed for OAuth 2.0. Bifrost supports oauth and per_user_oauth auth types and handles token refresh for upstream HTTP MCP servers.
Yes. Set connection_string to your GitLab instance MCP endpoint — gitlab.com or your private hostname — and configure OAuth against that instance.
After the MCP client is registered, external clients call Bifrost’s /mcp endpoint. Bifrost aggregates GitLab tools alongside any other connected servers for that virtual key.