Skip to content

Add MCP tools for vendor drop cancel and complete - #1101

Open
ehoogerbeets wants to merge 1 commit into
mcp-13-drop-listfrom
mcp-14-drop-cancel-complete
Open

ehoogerbeets wants to merge 1 commit into
mcp-13-drop-listfrom
mcp-14-drop-cancel-complete

Conversation

@ehoogerbeets

Copy link
Copy Markdown
Contributor

Transferred from ehoogerbeets#24 onto box/mojito (rebased onto master).

Stack note: this PR targets mcp-13-drop-list — merge bottom-up.

Summary

  • Add mojito_drop_cancel (POST /api/drops/cancel) with { dropId } — marks canceled, deletes exporter files, returns a pollableTask (no --wait).
  • Add mojito_drop_complete (POST /api/drops/complete/{dropId}) — synchronous empty-body POST that clears partiallyImported. Completing a drop that was never partially imported can succeed without changing state.
  • Standalone XLIFF import stays out of this slice.

Stacked on PR #10899000 (mcp-13-drop-list).

Test plan

  • cd mojito-mcp && npm test
  • Confirm mojito_drop_cancel against mojito-dev, then poll pollableTask.id
  • Confirm mojito_drop_complete against a partially imported drop on mojito-dev

Made with Cursor

Made with Cursor

Agents already list/export/import drops; cancel and complete are the remaining REST calls so they can close a drop without using the Java CLI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ehoogerbeets
ehoogerbeets force-pushed the mcp-14-drop-cancel-complete branch from 1f2f11f to 8904eca Compare October 5, 2026 22:24

This branch has not been deployed

No deployments
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.

1 participant