Custom GitLab MCP Server implementation
Custom GitLab MCP Server implementation
A custom implementation of the GitLab MCP (Model Context Protocol) server for integration with Claude and other MCP-compliant AI assistants.
This MCP server provides seamless integration with GitLab repositories, allowing AI assistants to: - Search GitLab repositories - Fetch file contents - Create or update files - Push multiple files in a single commit - Create issues and merge requests - Fork repositories - Create branches
api for full API access - read_api for read-only access - read_repository and write_repository for repository operationsCompare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| search_repositories | Search for GitLab projects |
| get_file_contents | Get contents of a file or directory |
| create_or_update_file | Create or update a single file |
| push_files | Push multiple files in a single commit |
| create_repository | Create a new GitLab project |
| create_issue | Create a new issue |
| create_merge_request | Create a new merge request |
| fork_repository | Fork a project |
| create_branch | Create a new branch |
{
"mcpServers": {
"github.com/modelcontextprotocol/servers/tree/main/src/gitlab": {
"command": "node",
"args": [
"/path/to/custom-gitlab-server/index.js"
],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "YOUR_GITLAB_PERSONAL_ACCESS_TOKEN",
"GITLAB_API_URL": "https://your-gitlab-instance/api/v4"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
api for full API access - read_api for read-only access - read_repository and write_repository for repository operations| Variable | Description | Required |
|---|---|---|
| GITLAB_PERSONAL_ACCESS_TOKEN | Declared in the maintainer’s client configuration. | Check documentation |
| GITLAB_API_URL | Declared in the maintainer’s client configuration. | Check documentation |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Build a resume that gets past the ATS. AI rewrites your bullets, an ATS score from 0 to 100 shows what to fix, and PDF downloads are free. Cover letters and a job tracker are built in.
Wrap any CLI as a Model Context Protocol server - schema auto-inferred from --help.
MCP server for Harness API integration
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.