-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Tool Request : Search Commit Tool #2283
Copy link
Copy link
Open
Labels
Description
Describe the feature or problem you’d like to solve
Currently, the GitHub MCP Server lacks a dedicated tool for searching through commit history using specialized search syntax. Requesting a new search_commits tool
Proposed solution
This tool wraps the GitHub Search Commits API via the go-github library.
Example prompts or workflows (for tools/toolsets only)
- Search for all commits in the 'github/github-mcp-server' repository that mention 'vulnerability' or 'fix' in the last 6 months
- Find all commits authored by 'github' across the organization that were committed after 2024-01-01.
- Find the most recent commit that modified the search.go file with a message containing 'refactor'.
- Search for commits in 'owner/repo' that are tagged with '[RELEASE]' to summarize recent major changes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.