Skip to main content
Glama
jolfr

Commit Helper MCP

by jolfr

get_commit_questions

Generate conventional commit messages by answering interactive questions that guide proper formatting and structure.

Instructions

Get interactive questions for commit message generation.

Returns: Dict containing the questions and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the 'get_commit_questions' MCP tool. Decorated with @mcp.tool() for registration and @handle_errors for error handling. Retrieves commit questions from the CommitzenService, formats the response with count and plugin info, and returns a success response.
    @mcp.tool() @handle_errors(log_errors=True) def get_commit_questions() -> Dict[str, Any]: """ Get interactive questions for commit message generation. Returns: Dict containing the questions and metadata """ questions = service.get_questions() result = { "questions": questions, "count": len(questions), "plugin": service.get_info().get("plugin_name"), } return create_success_response(result)
  • Import statement in mcp_server.py that brings in the get_commit_questions tool function, triggering its @mcp.tool() decorator registration when the module is imported.
    from .server.workflow_tools import ( get_commit_questions, health_check, refresh_configuration, commit_workflow_step, )

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