# GitLab

**Type:** Official

**Source Type:** Repository

**Source:** [GitHub](https://github.com/modelcontextprotocol/servers/tree/main/src/gitlab)

**Description:** GitLab MCP server enables AI assistants to interact with GitLab's DevOps platform for source control, CI/CD, and project management. It provides access to repositories, merge requests, pipelines, and issue tracking for comprehensive development workflow automation.

**Configuration Parameters:**

* **Your GitLab personal access token.** \* - Personal access token for authentication
* **Base URL for GitLab API, optional for self-hosted instances.** - Service instance URL (optional). Default: `https://gitlab.com/api/v4`

**Setup Steps:**

1. Log in to your GitLab account
2. Navigate to User Settings → Access Tokens
3. Generate a new API token or key
4. Copy the token for configuration
5. Ensure your account has appropriate permissions for GitLab API access

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.natoma.ai/apps/gitlab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
