beingnishas/gitlab-mcp
3.2
If you are the rightful owner of gitlab-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Model Context Protocol (MCP) server template provides a framework for building and deploying MCP servers using containerization technologies like Podman or Docker.
gitlab-mcp-server
Gitlab MCP (ModelContextProvider) server
Running locally in a MCP client like cursor
To run this MCP server from cursor. Go to cursor settings -> Tools & integrations -> Add MCP server
{
"mcpServers": {
"gitlab-mcp-local": {
"command": "python",
"args": ["gitlab_mcp_server.py"],
"trust": true
}
}
}
Building locally
To build the container image locally using Podman, run:
podman build -t gitlab-mcp-server:latest -f Containerfile .
This will create a local image named gitlab-mcp-server:latest that you can use to run the server.
Running with Podman or Docker
Example configuration for running with Podman:
{
"mcpServers": {
"gitlab-mcp-server": {
"command": "podman",
"args": [
"run",
"-i",
"--rm",
"--env", "MCP_GITLAB_URL",
"--env", "MCP_GITLAB_TOKEN",
"localhost/gitlab-mcp-server:latest"
],
}
}
}