MCP
In this guide, we demonstrate how to use the NoPorts Tunnel to securely access an MCP server running on a remote device, making it accessible via localhost:3001 on your local machine
Command Line
The command should look like:
npt -f @<client> -t @<device> -d <device name> -r @<relay> -p 3001 -l 3000
Example:
npt -f @alice_client -t @alice_device -d my_server -r @rv_am -p 3001 -l 3000
Now you can interact with your OpenAPI-based MCP server by connecting to http://localhost:3001
.
To learn more about NPT
npt UsageDesktop Application
When using the NoPorts desktop application, your connection profile should look something like this:
Profile Name
My MCP Connection
Device atSign
@alice_device
Device Name
my_server
Relay
@rv_am
Local Port
3001
Remote Host
localhost
Remote Port
3000
Last updated