repocollab
Provides tools for interacting with GitLab's REST v4 API, enabling project search and creation, forking, branch management, file reading and writing, and issue and merge request tracking.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
repocollab
repocollab puts the everyday GitLab project workflow behind an MCP server: find a project, create or fork one, cut a branch, read and write files, and open and track issues and merge requests. It is a core subset of the documented GitLab MCP surface — the twelve tools an agent reaches for most — talking to the GitLab REST v4 API.
Authentication is a personal access token in
GITLAB_PERSONAL_ACCESS_TOKEN, sent as a Bearer token. By default the
server talks to https://gitlab.com/api/v4; point GITLAB_API_URL
at a self-managed instance to use that instead. A project_id is a
string throughout: either the numeric project id or the
URL-encoded project path both work.
Install
npx @reneturcios/repocollab search_repositories --search my-project
docker run -i -e GITLAB_PERSONAL_ACCESS_TOKEN ghcr.io/cloudcorprecords/repocollabRelated MCP server: GitLab MCP Server
CLI
repocollab search_repositories --search my-project
repocollab create_repository --name demo --visibility private
repocollab get_file_contents --project-id group/demo --file-path README.md --ref main
repocollab create_issue --project-id 42 --title "Bug report" --labels bug
repocollab list_merge_requests --project-id 42 --state opened
repocollab --versionExit codes: 0 success, 1 API error, 2 usage error.
MCP server
npx -y @reneturcios/repocollab mcp{
"mcpServers": {
"repocollab": {
"command": "npx",
"args": ["-y", "@reneturcios/repocollab", "mcp"],
"env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "glpat-..." }
}
}
}Tools
Tool | Required | Optional |
|
| — |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| — |
|
|
|
|
|
|
|
| — |
create_or_update_file checks whether the file already exists on the
target branch and creates it (POST) or updates it (PUT) accordingly.
A missing token is reported as a tool error naming
GITLAB_PERSONAL_ACCESS_TOKEN; upstream HTTP errors surface with
their status and GitLab's message.
Out of scope in this subset: pipelines and CI, wiki, snippets,
milestones, label/epic management, user and group administration,
protected branches, repository tree/archive/compare detail, merge
request approvals, discussions and notes beyond get_merge_request,
and search beyond projects.
Development
npm install
npm run build
npm test
npm run devTests run entirely on fake-fetch fixtures; no network is used.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Unofficial GitLab MCP — wraps the GitLab REST API v4 (BYO API key)
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Manage repositories, users, releases, and automate GitHub workflows
GitLab Public MCP — wraps the GitLab REST API v4 (public endpoints, no auth)
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with GitLab repositories, allowing them to manage merge requests and issues including listing projects, fetching MR details and diffs, adding comments, and updating MR titles and descriptions.94MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to interact with GitLab repositories, monitor documentation changes, manage issues and merge requests, and search across projects with comprehensive file and commit operations.-
- AlicenseNot gradedqualityDmaintenanceEnables project management and repository operations on GitLab through the GitLab API, including file operations, branch management, issue creation, merge requests, and repository forking with support for both GitLab.com and self-hosted instances.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to automate the full GitLab DevOps lifecycle including repos, pipelines, CI generation, security scans, runners, tokens, and merge requests.MIT