# Gitlab Mcp Zed

> Gitlab MCP Server for Zed

- **Type:** MCP server
- **Install:** `agentstack add mcp-akbxr-gitlab-mcp-zed`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [akbxr](https://agentstack.voostack.com/s/akbxr)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [akbxr](https://github.com/akbxr)
- **Source:** https://github.com/akbxr/gitlab-mcp-zed

## Install

```sh
agentstack add mcp-akbxr-gitlab-mcp-zed
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# GitLab MCP Server Extension for Zed

This is a Zed extension that integrates the Model Context Protocol (MCP) server for GitLab, enabling project management, file operations, and more within the Zed editor.

## Features

- **GitLab Integration**: Seamless integration with GitLab API for project management and file operations
- **Optional API URL**: Support for both gitlab.com and self-hosted GitLab instances
- **Automatic Authentication**: Handles GitLab authentication using personal access tokens

## Installation

Navigate to: **Zed** > **Extensions** Or use the command palette ([macOS](https://github.com/zed-industries/zed/blob/main/assets/keymaps/default-macos.json#L581), [Linux](https://github.com/zed-industries/zed/blob/main/assets/keymaps/default-linux.json#L459)) to search `extensions`

## Configuration

### Required Settings

You need to configure the following settings in your `settings.json`:

```json
{
  "context_servers": {
    "mcp-server-gitlab": {
      "settings": {
        "gitlab_personal_access_token": "YOUR_TOKEN"
      }
    }
  }
}
```

### Optional Settings

For self-hosted GitLab instances, you can specify a custom API URL:

```json
{
  "context_servers": {
    "mcp-server-gitlab": {
      "settings": {
        "gitlab_personal_access_token": "YOUR_TOKEN",
        "gitlab_api_url": "https://your-gitlab-instance.com/api/v4"
      }
    }
  }
}
```

## Agent Mode Configuration

If you're using Zed's agent mode, you need to enable this context server for your assistant:

1. Open Zed's Agent settings
2. Enable the GitLab MCP server. If you see that the status of the tool is a red dot, make sure you added your gitlab_personal_access_token in settings.json.
3. Enable the GitLab MCP Server in the active assistant profile. In the chat section, click on the `Write | Ask` button, then click on `tools`, then enable the GitLab MCP server.

### Personal Access Token

To create a GitLab Personal Access Token:

1. Go to GitLab User Settings > Access Tokens
2. Select the required scopes:
   - `api` for full API access
   - `read_api` for read-only access
   - `read_repository` and `write_repository` for repository operations
3. Create the token and save it securely
4. Add the token to your Zed settings as shown above

### Building from Source

1. Ensure you have Rust and Cargo installed
2. Clone the repository
3. Run `cargo build --release`

## License

Apache-2.0

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [akbxr](https://github.com/akbxr)
- **Source:** [akbxr/gitlab-mcp-zed](https://github.com/akbxr/gitlab-mcp-zed)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-akbxr-gitlab-mcp-zed
- Seller: https://agentstack.voostack.com/s/akbxr
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
