I’ve been looking into adding new mcp connections ...
# proj-agent
q
I’ve been looking into adding new mcp connections during an ongoing conversation, and the mcp connection/resolution logic is quite hairy This PR adds a gateway connection to a pool of mcp connections, so its easy to add/remove connections in the future Would appreciate some early feedback on this 🙏 https://github.com/OpenHands/software-agent-sdk/pull/6790
c
Probably dumb question, are we still using MCP 1.x and are we willing to consider upgrading to 2.0? My agent says we’re on “legacy” and have some complexity in sessions, while the new protocol has changed that
Could it be that we can do like • add the new way • support addition of a new server, but the new way • support the old way for a while longer but deprecate it and don’t add more complexity to it
if that makes sense
q
good callout, that makes sense
It seems something like the PR above might still be beneficial for different reasons (as per @curved-angle-80449): https://openhands-ai.slack.com/archives/C06R25BT5B2/p1794497269082609?thread_ts=1794490679.740289&cid=C06R25BT5B2
Also its still not clear that adding new servers is convenient even with the protocol upgrade (although we should do it regardless): github.com/OpenHands/software-agent-sdk/pull/6794/changes
c
Yes, for sure, list functions and search functions seems like a great idea, and I’m sure it’s something I’ve also seen in the industry - so much, actually, that it may be worth a bit of an investigation in whether MCP itself, new versions, or current proposals to MCP future, does something about it