gitlab-kanban-mcp-server

gitlab-kanban-mcp-server

1

GitLab Kanban MCP Server is a Model Context Protocol server designed to manage GitLab Kanban board operations efficiently. It provides tools for task management, including creating, updating, and deleting tasks, as well as adding comments.

GitLab Kanban MCP
GitLab TypeScript Node.js MCP SDK

šŸŽÆ 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.