Skip to content

v1.6.0 - MCP Resources, Prompts & Logging

Latest

Choose a tag to compare

@Alosies Alosies released this 19 Feb 11:55

🚀 What's New in v1.6.0

This release adds full MCP specification compliance with Resources, Prompts, and Logging capabilities, plus 8 new GitLab tools.

✨ MCP Capabilities

Resources

Access GitLab data via gitlab:// URI scheme:

  • gitlab://user/me - Current authenticated user
  • gitlab://project/{id} - Project details
  • gitlab://project/{id}/labels - Project labels
  • gitlab://project/{id}/branches - Project branches
  • gitlab://mr/{project}/{iid} - Merge request
  • gitlab://mr/{project}/{iid}/diffs - MR diffs
  • gitlab://mr/{project}/{iid}/discussions - MR discussions
  • gitlab://mr/{project}/{iid}/approvals - MR approvals
  • gitlab://issue/{project}/{iid} - Issue details
  • gitlab://pipeline/{project}/{id} - Pipeline details
  • gitlab://pipeline/{project}/{id}/jobs - Pipeline jobs
  • gitlab://job/{project}/{id}/trace - Job logs

Prompts

5 workflow prompts for common GitLab tasks:

  • review-mr - Review a merge request with full context
  • analyze-pipeline-failure - Analyze failed pipelines with job logs
  • summarize-mr-changes - Generate release notes from MR changes
  • check-mr-readiness - Check if MR is ready to merge
  • generate-release-notes - Generate release notes from merged MRs

Logging

RFC 5424 syslog levels: debug, info, notice, warning, error, critical, alert, emergency

🛠️ New Tools

Tool Description
upload_project_file Upload files to GitLab projects
list_project_uploads List all uploads in a project
list_project_labels List project labels with search/filter
delete_mr_note Delete a merge request note
update_mr_note Update a merge request note
update_mr_labels Add or remove labels on MRs
get_mr_approvals Get MR approval status
approve_mr / unapprove_mr Approve or revoke MR approval

🎨 Enhancements

  • Attachment embedding: Embed images in MR notes/discussions using named placeholders ({{imageName}})
  • SDK upgrade: Updated @modelcontextprotocol/sdk to v1.26.0

🐛 Bug Fixes

  • Fixed URI parsing for URL-encoded project paths (e.g., group%2Fsubgroup%2Fproject)
  • Added argument validation for prompts with descriptive error messages
  • Integrated logging into resource and prompt handlers

🧪 Testing

  • Added 80+ new tests for resources, prompts, and server capabilities
  • Total: 214 tests passing

Full Changelog: v1.5.0...v1.6.0