Skip to main content
Glama
jolfr

Commit Helper MCP

by jolfr

get_git_implementation_info

Check Git implementation details and available features to determine compatibility and functionality for commit operations.

Instructions

Get information about the current git implementation and available features.

Returns: Dict containing: - git_enabled: Whether git operations are available - implementation: Current git implementation ("GitPython") - enhanced_features: Whether enhanced features are available - features: Dict of available feature flags

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler decorated with @mcp.tool(), executes by calling service.get_git_implementation_info() and wrapping in success response.
    @mcp.tool() @handle_errors(log_errors=True) def get_git_implementation_info() -> Dict[str, Any]: """ Get information about the current git implementation and available features. Returns: Dict containing: - git_enabled: Whether git operations are available - implementation: Current git implementation ("GitPython") - enhanced_features: Whether enhanced features are available - features: Dict of available feature flags """ result = service.get_git_implementation_info() return create_success_response(result)
  • Helper method in CommitzenService facade that provides the actual git implementation information based on service state.
    def get_git_implementation_info(self) -> Dict[str, Any]: """Get information about the current git implementation.""" return create_success_response( { "git_enabled": self.git_enabled, "implementation": self.git_implementation, "enhanced_features": self.git_enabled, # GitPython always has enhanced features "features": { "basic_operations": self.git_enabled, "enhanced_status": self.git_enabled, "detailed_diffs": self.git_enabled, "commit_statistics": self.git_enabled, "repository_analytics": self.git_enabled, }, } )
  • The @mcp.tool() decorator registers this function as an MCP tool.
    @mcp.tool() @handle_errors(log_errors=True) def get_git_implementation_info() -> Dict[str, Any]: """ Get information about the current git implementation and available features. Returns: Dict containing: - git_enabled: Whether git operations are available - implementation: Current git implementation ("GitPython") - enhanced_features: Whether enhanced features are available - features: Dict of available feature flags """ result = service.get_git_implementation_info() return create_success_response(result)

Latest Blog Posts

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