Sometimes I run two agents simultaneously for different tasks. these tasks are often executed in different Slicer sessions also running concurrently (e.g., stable vs a preview version, or different code branches being tested simultaneously).
The issue is my slicerrc.py calls the slicer-skill/slicer-mcp-server.py at main · pieper/slicer-skill · GitHub to auto start the mcp session. If I start two slicer sessions concurrently these mcp servers collide.
Did anyone have a robust solution on how to handle concurrency?