Should we consider adding a `name` property to our...
# feedback
e
Should we consider adding a
name
property to our Server-Side Event (SSE) configuration within our MCP support? Wondering if this would make it easier for OpenHands to figure out which MCP server to use if you have multiple configured?
Context: I am trying to use the Figma MCP server, which runs locally within Figma desktop. docs here. I've configured OpenHands MCP using SSE: http://localhost:3845/mcp However, OpenHands cannot seem to figure out that there's an MCP server configured and it's for Figma. It just goes in circles trying to figure it out.
👀 2
f
can you try adding that endpoint to Shttp servers instead?
I think for
/mcp
endpoint it's typically using shttp, and for
/sse
it's using SSE as transport protocol
e
shttp
seems to be working much better; interestingly, Figma's MCP docs recommended to use
sse
yes,
shttp
correctly worked. Do we have a bug with
sse
then?
f
I tried with CLI before and SSE servers still seem to work, my guess is the endpoint exposed by Figma above is using SHTTP so we can't put it under SSE servers
n
I think it makes sense to allow them to be named, considering we'd likely want the ability to enable/disable them in the context of a conversation,... having the ability to control textual and visual decorators is a good idea 😉
âž• 1
l
stdio servers already do require a name, so adding it to the other server types could make things more consistent. Might want to have it added to https://github.com/All-Hands-AI/OpenHands/pull/10145 before it's done.
n
what schemas exist for this already? I'm MODERATELY certain someone's already got existing schema structure that looks sane that feels like adopting it would be a better call than not for the purposes of consistency and the ability to leverage tooling that can consume said schema a lil easier perhaps? then again ... overbuilding/overengineering things is occasionally my nemesis
l
SSE and SHTTP require url and api_key, while STDIO uses name, command, args, and env. I'm certainly not an expert on this, but I can't think of any way to make them more consistent. Maybe requiring a name for SSE/SHTTP could help in cases where multiple servers have the same url but different credentials/API keys. Might want to ping someone more competent in this.