pathintegral-institute/mcpm.sh

[Feature]: Allow running all enabled MCP servers

Opened this issue · 4 comments

What would you like?

I'd like to be able to run all enabled MCP clients in one command instead of having to do each individually.

Alternatives

No response

Contribution

  • I can help implement this feature

hey @ElanHasson, you should be able to do so with profile:

  1. create a new profile let's call it "all", and select all servers ( I assume MCP clients was a typo and you'd like to run all servers in one command)
  2. mcpm profile run all from your client should start all servers in one command

one issue with this approach is new servers won't be automatically added to this "all" profile.

alternatively we can consider add a build in profile name "all" which always contain all servers defined.

@niechen ohh cool thanks I didn't realize that's what profiles were for also.

I think it's a papercut for new users. The idea of all or default would be great!

Heck, even an --all would be better, i Believe that would be an easier implementation vs having reserved profile names.

--all is a good idea. but it kinda breaks the patter of a mcpm run [server_name] for running a single server.

hmm, maybe we can support running multiple servers in mcpm run command by specifying more than one server name? basically starts a temporary profile.
so we can have this:
mcpm run filesystem for running one server
mcpm run filesystem,contex7,playwright for running multiple servers
mcpm run --all for running all servers

what do you think?

I'm partial to --all

The CSV would be frustrating for me because I now have to remember the ones I want to run and names can be hard 😁