gitlab

gitlab

4.3

MCP Server for the GitLab API, enabling project management, file operations, and more.

create_or_update_file

Create or update a single file in a GitLab project

Try it

Project ID or URL-encoded path

    Path where to create/update the file

      Content of the file

        Commit message

          Branch to create/update the file in

            Path of the file to move/rename

                Result:

                search_repositories

                Search for GitLab projects

                Try it

                Search query

                  Page number for pagination (default: 1)

                    Number of results per page (default: 20)

                        Result:

                        create_repository

                        Create a new GitLab project

                        Try it

                        Repository name

                          Repository description

                            Repository visibility level

                              Initialize with README.md

                              Initialize with README.md

                                  Result:

                                  get_file_contents

                                  Get the contents of a file or directory from a GitLab project

                                  Try it

                                  Project ID or URL-encoded path

                                    Path to the file or directory

                                      Branch/tag/commit to get contents from

                                          Result:

                                          push_files

                                          Push multiple files to a GitLab project in a single commit

                                          Try it

                                          Project ID or URL-encoded path

                                            Branch to push to

                                              Array of files to push

                                              files

                                              Array of files to push

                                              No items yet. Use the button below to add some.

                                                Commit message

                                                    Result:

                                                    create_issue

                                                    Create a new issue in a GitLab project

                                                    Try it

                                                    Project ID or URL-encoded path

                                                      Issue title

                                                        Issue description

                                                          Array of user IDs to assign

                                                          assignee_ids

                                                          Array of user IDs to assign

                                                          No items yet. Use the button below to add some.

                                                            Array of label names

                                                            labels

                                                            Array of label names

                                                            No items yet. Use the button below to add some.

                                                              Milestone ID to assign

                                                                  Result:

                                                                  create_merge_request

                                                                  Create a new merge request in a GitLab project

                                                                  Try it

                                                                  Project ID or URL-encoded path

                                                                    Merge request title

                                                                      Merge request description

                                                                        Branch containing changes

                                                                          Branch to merge into

                                                                            Create as draft merge request

                                                                            Create as draft merge request

                                                                              Allow commits from upstream members

                                                                              Allow commits from upstream members

                                                                                  Result:

                                                                                  fork_repository

                                                                                  Fork a GitLab project to your account or specified namespace

                                                                                  Try it

                                                                                  Project ID or URL-encoded path

                                                                                    Namespace to fork to (full path)

                                                                                        Result:

                                                                                        create_branch

                                                                                        Create a new branch in a GitLab project

                                                                                        Try it

                                                                                        Project ID or URL-encoded path

                                                                                          Name for the new branch

                                                                                            Source branch/commit for new branch

                                                                                                Result: