frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Has anybody gotten a Node.js MCP server to work with HTTP?

2•rglover•12h ago
Spent the day trying to set this up but no luck. Curious what others have found. It seems like there's iffy agreement on supported transports and while I did get the STDIO transport to work, ideally, I can use HTTP(S) (I'd like to just be able to deploy a standalone MCP server that I can hook into chats/apps/etc).

From what I can tell, this is so new that few clients really support the streaming HTTP stuff. The SSE-alternative isn't terribly clear either (and apparently has been deprecated).

Am I being a dum dum or is this just so bleeding edge that it's riddled with issues and confusion? There's a mishmash of answers and only STDIO seems to be stable/working.

Everything I tried was a dud.

Comments

austin-cheney•11h ago
I avoid LLMs so I have not bothered with MCP, but what you need is trivial. Node provides multiple ways to connect to local services like IPC channels, network sockets, child process and more.

I recommend using the child process spawn method to create the MCP service behind your node based web server. You would write to stdin.write of your spawned process and you would read from the stdout and stderr data events.

revskill•6h ago
MCP is a broken spec.

Ask HN: Where are the AI-driven profits or promotions?

28•arduinomancer•9h ago•33 comments

Ask HN: How are you productively using Claude code?

7•nocobot•5h ago•5 comments

Ask HN: How did Soham Parekh get so many jobs?

314•jshchnz•1w ago•415 comments

Ask HN: How do you get first 10 customers?

8•jcofai•17h ago•10 comments

Ask HN: Has anybody gotten a Node.js MCP server to work with HTTP?

2•rglover•12h ago•2 comments

Ask HN: Are there any tools for tracking GPU prices over time?

2•jepeake•16h ago•2 comments

Attended Windsurf's Build Night 18 hours before founders joined Google DeepMind

5•schwentkerr•1d ago•0 comments

Ask HN: Looking for a directory of PS1 command prompts. Like awesome lists

2•simplecto•1d ago•2 comments

Tell HN: I Lost Joy of Programming

91•Eatcats•5d ago•124 comments

Co-founder exiting after pivot – what's a fair exit package?

42•throwaway-xx•4d ago•78 comments

Ask HN: Bug Bounty Dilemma – Take the $$ and Sign an NDA or Go Public?

22•deep_thinker26•4d ago•14 comments

Helpful function to find memory leaks in JavaScript

3•EGreg•3d ago•1 comments

Ask HN: Worth leaving position over push to adopt vibe coding?

80•NotAnOtter•1w ago•94 comments

Ask HN: People who work different timezones than your company. How sched?

17•tetris11•4d ago•27 comments

Ask HN: What do you do with your list of articles links?

4•electricant•1d ago•10 comments

Ask HN: How to Create Data Flow Diagrams?

4•shivajikobardan•2d ago•2 comments

Tell HN: uBlock Origin on Chrome is finally gone

160•ipsum2•1d ago•149 comments

Ask HN: Good non tech companies to work at

4•nzmkk•2d ago•12 comments

Ask HN: What techniques do you use to remember complex concepts and theories?

5•anonymzz•2d ago•4 comments

The computational cost of corporate rebranding

4•rileygersh•2d ago•0 comments

Ask HN: Does your on-call rotation suck? Can I join it?

11•asciifree•4d ago•23 comments

Ask HN: What's the verdict on GPT wrapper companies these days?

15•NewUser76312•5d ago•18 comments

Google fails to dismiss wiretapping claims on SJ, settles with app users

43•1vuio0pswjnm7•3d ago•8 comments

Ask HN: How can I invest in Solar Power?

4•idontwantthis•2d ago•10 comments

Ask HN: Any resources for finding non-smart appliances?

156•everyone•6d ago•132 comments

I built a AI transcription app because my girlfriend needed one for uni

4•ebukao•2d ago•9 comments

Ask HN: Advice for Starting a Hacker Space?

36•pkdpic•1w ago•36 comments