Hi HN, I was playing around with the recently posted ghidraMCP by LaurieWired (https://github.com/LaurieWired/GhidraMCP) and wanted to try it on a project I'm working, but that has multiple component that interact with each other. So after fixing some minor things in ghidraMCP I went overboard and extended it to support multiple open Ghidra files and interact with all of them in the same session. I also made the HTTP interfaces more REST-like, and am working on adding more functionality to the tool, like renaming local variables.
Huge thanks to LaurieWired for the initial plugin and impetus!