Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host abstraction for multiple client → server connections in one process #9

Open
jspahrsummers opened this issue Oct 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jspahrsummers
Copy link
Member

Multiplexing has recurred for me a few times now—clients often need to connect to multiple servers simultaneously. Might be worth building something for it into the client SDK.

I think it's not too hard (send all list commands to all servers, then associate the IDs you get back with the server for follow-up gets, reads, calls), it's just annoying boilerplate.

Maybe we build an actual Host abstraction into the SDK, which has multiple Clients?

See also modelcontextprotocol/typescript-sdk#6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant