Skip to content

fix(mcp): align cycle and milestone tools with the api contract - #16

Merged
BryanFRD merged 3 commits into
mainfrom
fix/11-align-cycle-milestone-tools
Oct 25, 2026
Merged

BryanFRD merged 3 commits into
mainfrom
fix/11-align-cycle-milestone-tools

Conversation

@BryanFRD

Copy link
Copy Markdown
Contributor

Closes #11

  • Drop get_cycle and get_milestone: the API has no GET on those paths (always 405). Re-add if the handlers land in the API.
  • create_cycle/update_cycle: dates validated as ISO datetimes; status removed from update_cycle (derived from dates); created_by added to Cycle.
  • Milestones: description/due_at renamed to summary/target_date; status enum is now planned|in_progress|shipped|canceled.
  • Tests cover the schemas and request bodies. README tool list updated.

Not done: the contract/smoke check against the real API suggested in the issue.

@ferrfleet-interne ferrfleet-interne Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct. Nothing in prompts/resources still references the removed get_cycle/get_milestone or the old milestone field names. The tests cover the new contract. I could not check the API contract itself because the server is not in this repo, so I took the PR's description of the routes and fields as given. One nit inline about datetime offsets.

Comment thread mcp/packages/ferrtrack-mcp/src/tools/cycles.ts Outdated

@ferrfleet-interne ferrfleet-interne Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The offset nit is fixed in 913a0b5 and nothing new came up.

@BryanFRD
BryanFRD merged commit bb0acef into main Oct 25, 2026
15 of 16 checks passed
@BryanFRD
BryanFRD deleted the fix/11-align-cycle-milestone-tools branch October 25, 2026 11:27
ferrflow Bot added a commit that referenced this pull request Oct 26, 2026
## [10.13.3] - 2026-10-26

### Bug Fixes

- fix(deps): override body-parser and fast-uri to patched versions (#21)
- fix(mcp): align cycle and milestone tools with the api contract (#16)
- fix(mcp): annotate destructive and read-only tools (#17)
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.

fix(mcp): align cycle and milestone tools with the api contract

1 participant