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.
replies(1):