HN 提问:有人用 Node.js 的 MCP 服务器通过 HTTP 成功运行了吗?

2作者: rglover6 个月前
今天花了一天时间尝试设置这个,但没成功。想知道其他人有什么发现。看起来大家对支持的传输方式似乎意见不一,虽然我确实让 STDIO 传输方式工作了,但理想情况下,我希望使用 HTTP(S)(我只想部署一个独立的 MCP 服务器,可以接入聊天/应用程序等)。 据我所知,这东西太新了,很少有客户端真正支持流式 HTTP。SSE 替代方案也不是很清楚(而且显然已经被弃用了)。 是我太蠢了吗,还是这东西真的太前沿了,所以问题重重,让人困惑?答案五花八门,似乎只有 STDIO 才是稳定/可用的。 我尝试的一切都失败了。
查看原文
Spent the day trying to set this up but no luck. Curious what others have found. It seems like there&#x27;s iffy agreement on supported transports and while I <i>did</i> get the STDIO transport to work, ideally, I can use HTTP(S) (I&#x27;d like to just be able to deploy a standalone MCP server that I can hook into chats&#x2F;apps&#x2F;etc).<p>From what I can tell, this is so new that few clients really support the streaming HTTP stuff. The SSE-alternative isn&#x27;t terribly clear either (and apparently has been deprecated).<p>Am I being a dum dum or is this just so bleeding edge that it&#x27;s riddled with issues and confusion? There&#x27;s a mishmash of answers and only STDIO seems to be stable&#x2F;working.<p>Everything I tried was a dud.