Skip to content

Usage Examples

These examples show natural language prompts you can use with any AI assistant connected to GitLab MCP Server. The server translates these into GitLab API operations automatically.

Prompt: “Show me my GitLab projects”

The server calls gitlab_project with action: list, returning project names, descriptions, and URLs.

Prompt: “Create a bug report in my-group/my-project titled ‘Login page returns 404 after password reset’ with labels bug and priority::high”

The server calls gitlab_issue with action: create, setting the title, description, labels, and project in a single operation.

Prompt: “List all labels in the frontend project and create a new label called ‘accessibility’ with color #0052CC”

The server first calls gitlab_label with action: list to show existing labels, then action: create to add the new one.

Prompt: “Show me the progress on the Sprint 14 milestone in my-project”

The server calls gitlab_milestone with action: get, returning completion percentage, open/closed issue counts, and due date.

Prompt: “List all members of the frontend project and their access levels”

The server calls gitlab_member with action: list, returning team members with their roles and permissions.

Prompt: “Analyze the deployment history for the production environment over the last month”

The server uses gitlab_analyze_deployment_history (sampling), examining deployment frequency, success rates, rollback patterns, and DORA-like metrics.