Quick answer: Retiring an MCP tool is a two-plane problem, not a delete action. The catalog controls whether agents can discover a tool; the backend controls whether a saved call still reaches it, and the two move independently. Run a staged lifecycle: mark the entry deprecated with a named replacement, keep the backend reachable through a fixed sunset window while logging who still calls it, remove the entry from discovery, then decommission the backend. Deleting first turns saved agents into hard failures with no pointer to the replacement.
The catalog and the backend are two different planes
An MCP deployment has a catalog plane and a runtime plane. The catalog is the list agents read at discovery; the runtime is the server and backend that answer a call. An entry can be hidden while the server keeps answering, and a server can be shut off while the entry stays listed, the worse case because an agent then discovers a tool it cannot call. Change both planes on purpose and in order.
The staged lifecycle
Each state changes one plane at a time: active, deprecated while fully reachable, a sunset window that warns but keeps working, loss of catalog visibility, then backend decommission.
| Stage | Catalog | Backend | What callers get | Goal |
|---|---|---|---|---|
| Active | Listed, normal | Reachable | Normal result | Current contract |
| Deprecated | Listed, marked with replacement | Reachable | Result plus warning | Steer new calls to the new tool |
| Sunset | Listed and dated | Reachable | Result plus dated warning, counted | Give saved agents a fixed window |
| Removed from catalog | Not discoverable | Still reachable | Saved calls work, new discovery fails | Stop new dependencies before cutover |
| Decommissioned | Absent | Off | Hard failure, expected and announced | Free the runtime |
Keep the backend alive past catalog removal so an agent that cached the address still works. Shutting the backend off while the entry stays listed creates a dangling entry: discovery succeeds, the call fails, nothing signals a planned retirement.
Managed registry versus your own gateway
Where the state lives depends on who runs the catalog. A managed registry supplies the states and marks, so deprecated and archived are platform fields the Hub renders to browsing agents, and the vendor sets the warning readers see. Your control ends at the platform's state machine; with no dated sunset field, you cannot add one through the API.
A self-hosted gateway puts routing and responses in your hands. You can emit machine-readable signals such as the Sunset header and a Deprecation header, keep custom stages, and count calls per retired route yourself. None of it is built in: the state store, warning logic, call logs, and the calendar that flips a stage are code you own and run.
Powerduck Cloud treats retirement as a state change rather than a delete: every edit keeps a version with diff and rollback, and pause, resume, and archive move a hosted entry without erasing its history, so an archived MCP server leaves the public Hub while its versions stay recoverable. The comparison hub sets this against the broader build-versus-buy trade-offs.
Why saved agents do not follow automatically
A catalog mark is a discovery-time signal, not a remote control. A saved prompt or long-running agent holds a tool name and often a direct address and does not re-read the catalog on every call, so marking an entry deprecated edits nothing already saved. That is why the deprecated stage needs a long window and call logs showing who still depends on the old name.
MCP defines no catalog-level lifecycle field, so deprecated and archived are platform conventions, not protocol guarantees the host enforces. HTTP warning headers help only when the caller reads them; a framework that ignores them sees a normal result until the backend goes dark. Verify through declining call counts rather than assuming the signal landed.
Frequently asked questions
What is the difference between removing a tool from the registry and shutting the server down? Removing it from the catalog stops new discovery while saved calls can still reach a running backend. Shutting the server down makes every call fail. Keep the first ahead of the second so saved agents have a working window.
How long should the sunset window be? Long enough that call logs show no traffic to the old tool across a full usage cycle. There is no fixed number; tie the date to measured callers and name the replacement in the deprecated mark.
Can I just delete the entry and have agents switch on their own? No. Deleting produces a hard failure for anything that saved the name, and MCP has no field that rewrites a saved prompt. Mark, warn, and wait out a window first so the model has a named replacement to move to.
The bottom line
The registry lifecycle is mostly about not stranding existing callers. A clean retirement changes the catalog and backend separately, keeps the runtime alive through a measured sunset, and treats every deprecated mark as a signal the platform may not deliver. A managed registry gives you the states and marks; your own gateway gives you the headers and routing but leaves coordination on you. Delete last and verify with call logs, so no saved agent calls a tool that vanished without a pointer.