gitlab-mcp-server
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PORT | No | The port to use for SSE transport | 3000 |
USE_SSE | No | Set to 'true' to use SSE transport instead of stdio | false |
GITLAB_API_URL | No | The GitLab API URL | https://gitlab.com/api/v4 |
GITLAB_PERSONAL_ACCESS_TOKEN | Yes | Your GitLab personal access token |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
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 |
list_group_projects | List all projects (repositories) within a specific GitLab group |
get_project_events | Get recent events/activities for a GitLab project |
list_commits | Get commit history for a GitLab project |
list_issues | Get issues for a GitLab project |
list_merge_requests | Get merge requests for a GitLab project |
list_project_wiki_pages | List all wiki pages for a GitLab project |
get_project_wiki_page | Get a specific wiki page for a GitLab project |
create_project_wiki_page | Create a new wiki page for a GitLab project |
edit_project_wiki_page | Edit an existing wiki page for a GitLab project |
delete_project_wiki_page | Delete a wiki page from a GitLab project |
upload_project_wiki_attachment | Upload an attachment to a GitLab project wiki |
list_group_wiki_pages | List all wiki pages for a GitLab group |
get_group_wiki_page | Get a specific wiki page for a GitLab group |
create_group_wiki_page | Create a new wiki page for a GitLab group |
edit_group_wiki_page | Edit an existing wiki page for a GitLab group |
delete_group_wiki_page | Delete a wiki page from a GitLab group |
upload_group_wiki_attachment | Upload an attachment to a GitLab group wiki |
list_project_members | List all members of a GitLab project (including inherited members) |
list_group_members | List all members of a GitLab group (including inherited members) |