MCP Server for GitLab API integration - project management, issue tracking, merge requests, CI/CD pipelines, labels, and milestones
|
All checks were successful
Publish Package / publish (push) Successful in 27s
Complete refactor with comprehensive improvements: ✨ New Features: - 27 comprehensive unit tests with Vitest - 100% TypeScript type safety - Complete JSDoc documentation 🏗️ Architecture: - Modular structure (types, tool-definitions, handlers, gitlab-service, index) - Type-safe interfaces: Project, Issue, MergeRequest, Pipeline, User, Comment - index.ts: 345 → 80 lines (77% reduction) 🧪 Testing: - Type validation tests - Tool definition validation tests - Full test coverage 📦 Dependencies: - MCP SDK upgraded to 1.20.0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .forgejo/workflows | ||
| src | ||
| .gitignore | ||
| CHANGELOG.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||
🦊 gitlab-mcp
MCP Server for GitLab API integration - featuring project management, issues, merge requests, pipelines, and comprehensive testing.
What's New in v2.0.0
✨ Complete Refactor - Modular architecture with 77% code reduction
🧪 27 Unit Tests - Full test coverage with Vitest
🎯 100% Type Safety - Eliminated all any types
📚 Complete JSDoc - Comprehensive API documentation
📦 MCP SDK 1.20.0 - Latest SDK with improved capabilities
Features
Project Operations
- 📋
list_projects- List all accessible GitLab projects with optional search filter - 🔍
get_project- Get detailed information about a specific GitLab project
Issue Management
- 📝
list_issues- List issues in a GitLab project with optional state filter - ➕
create_issue- Create a new issue in a GitLab project - 💬
comment_issue- Add a comment to an existing GitLab issue
Merge Request Operations
- 🔀
list_merge_requests- List merge requests in a GitLab project - ➕
create_merge_request- Create a new merge request in a GitLab project - ✅
merge_mr- Merge an approved merge request
CI/CD Pipeline Operations
- 🚦
get_pipeline_status- Get the status of a specific CI/CD pipeline - 📊
list_pipelines- List all CI/CD pipelines for a GitLab project
Installation
npm install
npm run build
Configuration
Set environment variables:
GITLAB_URL- Your GitLab instance URL (e.g., https://gitlab.com)GITLAB_TOKEN- Personal Access Token
Usage
export GITLAB_URL="https://gitlab.com"
export GITLAB_TOKEN="your-token-here"
npm start
API Reference
GitLab API: /api/v4
License
MIT