|
|
|
|
|
by wedn3sday
506 days ago
|
|
The example code reminds me how much I absolutely loath python async/await syntax. >>> server_names=["fetch", "filesystem"] This is, IMO, bad design. Where is the fetch defined? How would I find these? If it was an imported module I could easily find the definition to see what its doing, or subclass it to make my own, but instead its just some magic strings getting passed making it astronomically more difficult to understand what the heck is going on. |
|
I am open to alternative suggestions for this. I just wanted to make it easy to reference MCP servers by name and hide the logic of how they are initialized, what transport they use, what args are passed to them, into configs