Excuse me, when developing remotely, does the configured mcp take the remote network when requesting the server?

Describe the Bug

When developing with remote-shh, does the mcp I configured take the local network or the remote network when requesting with the server? At present, mcp doesn’t work normally when the remote server has no network, and mcp can only work normally when the remote server has a network.

Steps to Reproduce

First, connect a LAN server remotely (the server can’t access the Internet).Then configure the following mcp.{
“mcpServers”: {
“context7”: {
“url”: “https://mcp.context7.com/mcp”,
“headers”: {
“CONTEXT7_API_KEY”: “key”
}
}
}
}

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39 (system setup)
VSCode Version: 1.105.1
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260
Date: 2025-11-27T02:30:49.286Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. In a Remote-SSH session, MCP calls are made from the remote host, so without internet on the remote machine, MCP won’t be able to connect (the symptoms you described are expected).

What you can do:

  • Give the remote host internet access or set up a proxy on it (HTTP_PROXY/HTTPS_PROXY), then restart Remote-SSH and check MCP.
  • Alternatively, temporarily open the project locally (without SSH) - then MCP will operate from the local network.

Let me know if setting up a proxy/internet access on the remote host helps.