Skip to content

First Steps with GitLab MCP

Your first interactions with GitLab MCP. These prompts help you explore what's available and understand the basics.

Discover Your Projects

"List all projects I have access to"

"Show me the projects in the my-org group"

"Find projects with the topic python"

json
{
  "action": "list",
  "membership": true,
  "per_page": 20
}
json
{
  "action": "search",
  "q": "backend-api",
  "per_page": 20
}
json
{
  "action": "list",
  "group_id": "my-org",
  "per_page": 20
}

Check Your Todos

"What tasks need my attention?"

"Show me my pending review requests"

"Mark all my todos as done"

json
{
  "per_page": 20,
  "state": "pending"
}
json
{
  "per_page": 20,
  "action": "review_requested"
}

Explore a Project

"Show me the file structure of my-org/backend-api"

"Read the README of my-org/frontend"

"What branches exist in my-org/api?"

json
{
  "action": "tree",
  "project_id": "my-org/backend-api",
  "per_page": 100
}
json
{
  "action": "content",
  "project_id": "my-org/backend-api",
  "file_path": "README.md"
}
json
{
  "action": "list_branches",
  "project_id": "my-org/backend-api"
}

Find People

"Who are the members of my-org/backend-api?"

"Find the user with username alice"

json
{
  "project_id": "my-org/backend-api",
  "per_page": 50
}
json
{
  "search": "alice",
  "per_page": 20
}

Next Steps

Released under the Apache 2.0 License.