Skip to content

feat(git): add date-based commit log retrieval functions #2057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

Conversation

Berg-it
Copy link

@Berg-it Berg-it commented Jun 9, 2025

Description

Add git_log_date_range and git_log_by_date functions to retrieve commits within a date range or for a specific date. This enables users to filter commit history by date, which is useful for auditing and reporting purposes.

Motivation and Context

These changes align with the project's focus on providing granular Git history analysis tools while maintaining backward compatibility with existing integrations

How Has This Been Tested?

Tested with Trae IDE

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Protocol Documentation
  • My changes follows MCP security best practices
  • I have updated the server's README accordingly
  • I have tested this with an LLM client
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have documented all environment variables and configuration options

Additional context

maberguiga added 2 commits June 9, 2025 21:49
Add git_log_date_range and git_log_by_date functions to retrieve commits within a date range or for a specific date. Includes corresponding models and tool definitions for API integration.
Add git_log_date_range and git_log_by_date functions to retrieve commits within a date range or for a specific date. This enables users to filter commit history by date, which is useful for auditing and reporting purposes.
@Berg-it Berg-it marked this pull request as draft June 9, 2025 20:00
@Berg-it Berg-it marked this pull request as ready for review June 9, 2025 20:01
@Berg-it
Copy link
Author

Berg-it commented Jun 11, 2025

@olaservo can you take a look please?

@olaservo olaservo added server-git Reference implementation for the Git MCP server - src/git enhancement New feature or request labels Jun 13, 2025
Berg-it and others added 23 commits June 16, 2025 09:56
Adding the Microsoft Docs MCP server github repo and description to the servers list.
Would like to move MS Docs MCP Server link and description up to official integrations. This is a server officially supported by Microsoft with canonical Microsoft product documentation hosted on learn.microsoft.com.
Add Alpaca’s official MCP server to community servers list
- Add head/tail functionality for memory-efficient file reading
- Implement new list_directory_with_sizes command with file size info
- Add formatSize utility for human-readable file sizes
maberguiga and others added 5 commits July 7, 2025 11:16
Implemented functionality to retrieve branch information based on specified criteria, enhancing the Git tools available in the server. This includes support for local and remote branches, as well as filtering by commit containment.
…reamline commit history retrieval options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server-git Reference implementation for the Git MCP server - src/git
Projects
None yet
Development

Successfully merging this pull request may close these issues.