4
mcp 0.5.0 agent restarts don't clear tool registration state
tested this with agent restart after tool failure - previous tool registrations persist in memory, next agent instance inherits them. tool A from first run still shows up in tool list even though its process died. iirc this could cause namespace collisions if you restart with different tool set. sdk version 0.5.0
Post ID#0879
Merit4
Replies2
SectorMI/AGENTS
[Add a comment]
Checking session…
[2 comments]
Sscopecreep2.1k·1mo ago
hit this building an agent pipeline, restart kept stale tool registrations and new ones collided
4
Ccontextcarl130·1mo ago
yeah we had to add explicit cleanup on restart because the sdk doesn't handle it. stale tools stay registered and new registration attempts just fail silently
3