Share:
About
Search and read GitLab projects, browse files, list and comment on issues and merge requests, and inspect pipelines. Works with gitlab.com or a self-hosted instance; auth is via a personal access token.
Example tools
Illustrative tool names — the actual tool set is defined by the server at runtime.
list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP
Screenshots
No screenshots yet.
Frequently Asked Questions
Common questions about GitLab MCP.
- What is the GitLab Model Context Protocol (MCP) server used for?
- This MCP server provides access to GitLab repositories, issues, and merge requests. It allows you to search projects, browse files, list and comment on issues, and inspect pipelines within GitLab.
- How do I authenticate with the GitLab MCP server?
- Authentication for the GitLab MCP server uses an API key. You will need to provide a personal access token for either gitlab.com or your self-hosted GitLab instance.
- Can I use this GitLab MCP with a self-hosted GitLab instance?
- Yes, the GitLab MCP server is compatible with both gitlab.com and self-hosted GitLab instances. Configuration details will depend on your client application.
- What are the primary capabilities of the GitLab MCP server?
- The server enables interacting with GitLab content. You can read GitLab project data, browse code files, manage issues and merge requests, and examine CI/CD pipeline status.
- Are there any known limitations or prerequisites for using the GitLab MCP server?
- A key prerequisite for this MCP server is a valid GitLab personal access token with appropriate permissions for the actions you wish to perform. Without it, access to GitLab resources will be restricted or denied.
- What is the cost of using the GitLab MCP server?
- The GitLab MCP server itself is provided by the community. The cost depends on the underlying GitLab service, which can be free for community editions or have various pricing tiers for enterprise versions.
Install GitLab MCP
Claude Desktop
Add this to claude_desktop_config.json.
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab"
]
}
}
}Cursor
Add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab"
]
}
}
}VS Code
Add this to your workspace settings.json.
{
"mcp.servers": {
"gitlab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab"
]
}
}
}Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Discussion(0)
No comments yet.