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 Server
A Model Context Protocol server for managing GitLab Kanban board operations.
⨠Features
š ļø Available Tools
list_tasks
- Retrieve task list from project's Kanban boardcreate_task
- Create a new task on the Kanban boardupdate_task
- Update an existing taskdelete_task
- Delete a task from the boardadd_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
- Fork this repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m '⨠feat: Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Create a Pull Request
š License
This project is licensed under the MIT License.