Skip to content

Conversation

yevheniidehtiar
Copy link

@yevheniidehtiar yevheniidehtiar commented Sep 2, 2025

Closes: #258

gemini-milestone-mcp-test.mov

google-labs-jules bot and others added 12 commits August 23, 2025 14:46
This commit adds a new mcp tool command `createMilestone` to create a new milestone in a GitHub repository.

The tool is added to the `issues` toolset and includes the following parameters:
- owner
- repo
- title
- state
- description
- due_on

A test has been added to verify the functionality of the new tool.
This commit fixes the `createMilestone` tool by making the `state` parameter required, as it is a required field in the GitHub API.

The test for this tool has been updated to reflect this change, and the tool snapshot has been updated accordingly.
fix: Make state parameter required for createMilestone
…repository.

The new `edit_milestone` tool allows users to update the title, state, description, and due date of an existing milestone.

The implementation includes:
- A new `EditMilestone` function in `pkg/github/issues.go` to handle the API logic.
- Registration of the new tool in the `issues` toolset in `pkg/github/tools.go`.
- A comprehensive unit test for the `EditMilestone` tool in `pkg/github/issues_test.go`, covering success and error cases.
This commit introduces the `delete_milestone` tool, which allows users to delete a milestone from a GitHub repository.

The new tool includes:
- A `DeleteMilestone` function in `pkg/github/issues.go` that calls the GitHub API.
- A tool definition for `delete_milestone` with the required parameters.
- A unit test for the `DeleteMilestone` function in `pkg/github/issues_test.go`.
- Registration of the new tool in the `issues` toolset.
This commit introduces the `delete_milestone` tool, which allows users to delete a milestone from a GitHub repository.

The new tool includes:
- A `DeleteMilestone` function in `pkg/github/issues.go` that calls the GitHub API.
- A tool definition for `delete_milestone` with the required parameters.
- A unit test for the `DeleteMilestone` function in `pkg/github/issues_test.go`.
- Registration of the new tool in the `issues` toolset.

Note: The documentation in `README.md` was not updated automatically. Please run `script/generate-docs` to update it.
This commit introduces the `delete_milestone` tool, which allows users to delete a milestone from a GitHub repository.

The new tool includes:
- A `DeleteMilestone` function in `pkg/github/issues.go` that calls the GitHub API.
- A tool definition for `delete_milestone` with the required parameters.
- A unit test for the `DeleteMilestone` function in `pkg/github/issues_test.go`.
- Registration of the new tool in the `issues` toolset.
This commit introduces two new commands for interacting with GitHub milestones:
- `list_milestones`: Lists milestones for a repository with options for filtering by state, sorting, and pagination.
- `search_milestones`: Searches for milestones in a repository by a query string, filtering by title and description.

The changes include:
- Implementation of `ListMilestones` and `SearchMilestones` functions in `pkg/github/issues.go`.
- Addition of the new tools to the `issues` toolset in `pkg/github/tools.go`.
- Unit tests for the new functions in `pkg/github/issues_test.go`.
- Updated tool snapshots and generated documentation.
feat: Implement list_milestones and search_milestones commands
@yevheniidehtiar yevheniidehtiar requested a review from a team as a code owner September 2, 2025 06:54
@jayarjo
Copy link

jayarjo commented Sep 5, 2025

Any reason to not merge this? We need this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Milestone
2 participants