Skip to content

fix(mcp): align delete receipts and semantics with REST#483

Merged
jiashuoz merged 3 commits into
mainfrom
codex/mcp-delete-semantics
Jul 15, 2026
Merged

fix(mcp): align delete receipts and semantics with REST#483
jiashuoz merged 3 commits into
mainfrom
codex/mcp-delete-semantics

Conversation

@jiashuoz

Copy link
Copy Markdown
Member

Summary

Align MCP delete tools with the REST contract:

  • return the typed API-key deletion receipt instead of fabricating { deleted: id }
  • describe agent deletion as a 30-day soft delete, not a permanent cascade
  • describe domain deletion as non-cascading and surface domain_has_agents
  • lock all five existing MCP delete tools to their typed receipt shapes

Client surface checklist

  • MCP tool behavior and descriptions
  • Exact typed deletion-receipt tests for all existing delete tools
  • No REST/OpenAPI/generated SDK changes required

Operational risk

Low. This changes MCP response fidelity and tool descriptions only; REST behavior is unchanged.

Test plan

  • Focused MCP tests: 99 passed
  • Full MCP suite: 178 passed
  • MCP TypeScript build
  • git diff --check

@jiashuoz jiashuoz marked this pull request as ready for review July 15, 2026 05:44
@jiashuoz jiashuoz merged commit 8ad771c into main Jul 15, 2026
15 checks passed
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