Sunwood-ai-labs

๐ŸŽฏ GitLab Kanban MCP Server

Community Sunwood-ai-labs
Updated

GitLab Kanban board operations through MCP

๐ŸŽฏ GitLab Kanban MCP Server

A Model Context Protocol server for managing GitLab Kanban board operations.

โœจ Features

๐Ÿ› ๏ธ Available Tools

  • list_tasks - Retrieve task list from project's Kanban board
  • create_task - Create a new task on the Kanban board
  • update_task - Update an existing task
  • delete_task - Delete a task from the board
  • add_comment - Add a comment to a task

๐Ÿ—๏ธ Project Structure

src/
โ”œโ”€โ”€ api/
โ”‚   โ””โ”€โ”€ gitlab.ts      # GitLab API client and methods
โ”œโ”€โ”€ config/
โ”‚   โ””โ”€โ”€ gitlab.ts      # GitLab configuration
โ”œโ”€โ”€ tools/
โ”‚   โ”œโ”€โ”€ handlers.ts    # Tool handler implementations
โ”‚   โ””โ”€โ”€ schemas.ts     # Tool schema definitions
โ””โ”€โ”€ index.ts          # MCP server main entry point

๐Ÿš€ Getting Started

๐Ÿ“ฆ Installation

npm install

๐Ÿ”ง Configuration

Create a .env file with the following environment variables:

GITLAB_TOKEN=your_gitlab_token
GITLAB_URL=your_gitlab_url  # default: https://gitlab.com

๐Ÿ› ๏ธ Build

npm run build

For development with auto-rebuild:

npm run watch

๐Ÿ” Debugging

Since MCP servers communicate over stdio, we recommend using the MCP Inspector:

npm run inspector

๐Ÿ“ Usage

Cline Configuration

Add the following to your cline_mcp_settings.json:

{
  "mcpServers": {
    "gitlab-kanban-mcp-server": {
      "command": "node",
      "args": ["path/to/gitlab-kanban-mcp-server/build/index.js"],
      "env": {
        "GITLAB_TOKEN": "your_gitlab_token",
        "GITLAB_URL": "your_gitlab_url"
      }
    }
  }
}

๐Ÿค Contributing

  1. Fork this repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'โœจ feat: Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Create a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License.

MCP Server ยท Populars

MCP Server ยท New