# GitLab

Enable project management and file operations with GitLab.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add smithery-ai/gitlab

# Browse available tools
npx -y @smithery/cli@latest tool list smithery-ai/gitlab

# Get full schema for a tool
npx -y @smithery/cli@latest tool get smithery-ai/gitlab create_or_update_file

# Call a tool
npx -y @smithery/cli@latest tool call smithery-ai/gitlab create_or_update_file '{}'
```

## Tools (9)

- `create_or_update_file` — Create or update a single file in a GitLab project
- `search_repositories` — Search for GitLab projects
- `create_repository` — Create a new GitLab project
- `get_file_contents` — Get the contents of a file or directory from a GitLab project
- `push_files` — Push multiple files to a GitLab project in a single commit
- `create_issue` — Create a new issue in a GitLab project
- `create_merge_request` — Create a new merge request in a GitLab project
- `fork_repository` — Fork a GitLab project to your account or specified namespace
- `create_branch` — Create a new branch in a GitLab project

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get smithery-ai/gitlab <tool-name>
```

---

Source: https://github.com/smithery-ai/reference-servers/tree/main/src/gitlab | License: MIT
