Skip to main content
Glama

Commit Helper MCP

by jolfr
  • Apple
CHANGELOG.md8.54 kB
## v0.6.0 (2025-07-10) ### Feat - **errors**: implement standardized error handling Implement comprehensive error handling system with custom exception hierarchy, standardized response formats, and error handling decorators. Update all components to use the new error handling system while maintaining backward compatibility with existing tests. - implement centralized configuration management system ### Fix - update test infrastructure to use pytest directly ### Refactor - **server**: update server modules and GitPython service for new architecture - Update enhanced_tools.py to use new service interfaces - Update git_tools.py to match refactored service layer - Update workflow_tools.py to use CommitOrchestrator - Fix gitpython_core.py to support new configuration system - Ensure backward compatibility with existing MCP tools - implement test reorganization structure - complete Task 2 service layer refactoring with renamed files - decompose monolithic server into modular architecture - rename project from commitizen-mcp-connector to commit-helper-mcp ## v0.5.0 (2025-07-10) ### Feat - complete Task 8 testing, documentation, and migration guide Achieve 100% test pass rate (144/144 tests) with critical implementation fixes: - Fix GitPython test isolation by patching correct module paths - Resolve mock side effects for staged file detection in tests - Enhance GitPython service to handle new repositories without HEAD commits - Add robust error handling for diff operations against non-existent HEAD - Create comprehensive GitPython integration documentation - Add migration guide with step-by-step upgrade instructions - Fix import paths after GitPython architecture changes - Update memory bank with accurate completion status Result: Production-ready GitPython integration with 71% test improvement (84→144 passing) Task 8: Testing, Documentation, and Migration Guide - COMPLETE - implement enhanced MCP tools with GitPython features - implement GitPython service core features - implement GitPython foundation for enhanced git operations Added GitPython=3.1.40 as primary git backend replacing commitizen.git: - GitPythonService with thread-safe operations (no directory changes) - Simplified compatibility layer (GitPython-only) - Feature detection and availability checking - 8 comprehensive tests covering all functionality - Enhanced repository status with detailed metadata - Detailed commit preview with diff analysis - 2x performance improvement, no subprocess overhead - Input sanitization for security - Rich repository analytics and error handling All tests passing. Ready for enhanced MCP tools. - enforce signoff by default with comprehensive integration tests - Updated all MCP tools to default sign_off=True - Added 19 signoff enforcement tests - Added 4 integration tests with pytest fixtures - Fixed GitService original_cwd handling - Verified signoff functionality works correctly - 108/109 tests pass (integration test has pytest env issue) - enforce signoff by default in all commit operations with comprehensive tests - enforce signoff by default in all commit operations - Changed default value of sign_off parameter from False to True across all layers - Updated GitService.preview_commit and execute_commit methods - Updated CommitzenService.preview_commit_operation and execute_commit_operation methods - Updated all MCP tools: preview_git_commit, execute_git_commit, generate_and_commit, stage_files_and_commit - Implemented signoff logic to append --signoff to git commit arguments - Updated documentation to reflect new default behavior - All 86 tests pass, ensuring no regressions - Maintains backward compatibility with explicit sign_off=False option Closes #signoff-enforcement ### Fix - complete signoff implementation with proper parameter passing through all MCP tools - add debug logging and verify signoff functionality works in GitService - ensure signoff parameter is passed through preview_commit_operation ## v0.4.0 (2025-07-09) ### Feat - add repo_path parameter to generate_and_commit and related tools - Add required repo_path parameter to generate_and_commit tool for consistency - Update validate_commit_readiness to accept repo_path parameter - Update stage_files_and_commit to accept repo_path parameter - Fix commit_workflow_step to properly pass repo_path to validate_commit_readiness - Update all test cases to provide required repo_path parameter - Ensure all git MCP tools now consistently accept repository path This completes the repository targeting functionality by making all git tools consistent in their parameter requirements and enabling users to specify which repository to operate on for every git operation. ### Fix - **config**: update Cline configuration to target correct settings file - Fix configure_cline.py to write to Cline's actual config file instead of Claude Desktop - Add comprehensive auto-approval settings for read-only MCP tools - Include tool-specific auto-approval list for safe operations - Enable global auto-approval settings for MCP servers and file operations - Resolve issue where Cline required approval despite having autoApprove configured The script now correctly targets: /Users/jcarroll/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json Instead of Claude Desktop's config file. This ensures read-only operations like health_check, get_git_status, and generate_commit_message execute without requiring manual approval. ## v0.3.0 (2025-07-09) ### Feat - **build**: add bump target to Makefile for version bumping Add 'make bump' command that runs 'cz bump' through commitizen. - Add bump target to .PHONY declaration - Add help text for bump command - Implement bump target using 'uv tool run --from commitizen cz bump' - Enables easy version bumping with conventional commits - **mcp**: implement dynamic repository targeting for MCP tools - **mcp**: add repository targeting support for MCP server - Add COMMITIZEN_REPO_PATH environment variable support to CommitzenService - Allow MCP server to target different git repositories than where it runs from - Add comprehensive test suite for repository targeting functionality - Fix issue where server defaulted to operating in source directory - Support priority order: explicit repo_path env var current directory - Add 24 new tests covering various repository targeting scenarios - All 86 tests now pass including new repository targeting features - **setup**: implement global Cline setup with consolidated documentation - Enhance configure_cline.py for global, project-agnostic MCP server setup - Create global Cline rules at ~/Documents/Cline/Rules/commitizen-workflow.md - Consolidate CLINE_SETUP.md and GLOBAL_SETUP.md into unified SETUP.md - Add comprehensive dependency checking and verification functions - Enable one-time setup that works across ALL projects automatically - Include safety-first commit workflow guidelines in global rules - **git**: implement Task 3 - Add MCP Tools for Git Operations Add 7 new git MCP tools with comprehensive safety mechanisms. Implemented tools: get_git_status, preview_git_commit, execute_git_commit, generate_and_commit, validate_commit_readiness, stage_files_and_commit, commit_workflow_step. Enhanced generate_commit_message with include_git_preview parameter. Safety: force flags, dry-run defaults, input sanitization, path validation. Fixed original_cwd bug. Added comprehensive test suite. Total: 14 MCP tools (7 original + 7 new git tools) - implement core git service with security enhancements - implement git service with API verification and safety mechanisms - implement git service with API verification and safety mechanisms ### Fix - correct hatch version configuration path ## v0.2.0 (2025-07-09) ### Feat - add version file configuration for commitizen - complete project configuration and comprehensive documentation - add development environment configuration to Makefile - implement plugin adapter system for improved validation - implement FastMCP server with comprehensive tools and resources - implement CommitzenService with direct API integration - add pytest as development dependency - update test command to use pytest with uv, verbose output, and exit on failure - add MCP SDK commands to Makefile - setup MCP SDK and Commitizen dependencies with dynamic versioning ### Fix - update main.py entry point for proper MCP server execution - update server initialization and main entry point ## v0.1.0 (2025-07-09)

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jolfr/commit-helper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server