MCP failed in ssh remote server

In my case it still runs the mcp server on the local machine instead of the remote one.
Cursor Version: 0.48.7

1 Like

I have the same issue, it’s convenient to say which version you got solved?
My cursor version: 0.48.7

I call BS on this one. You might “think” you’re running on a remote server but its unlikely you actually are. Cursor has a problem using MCP over SSH and they know that it’s a problem.

I am ssh’d into a ubuntu box and have spent two days dealing with this feature limitation… I hope there is a fix coming soon.

at least enough hours burnt on this issue that I am going to use cline for a while.

I am having a similar/same issue. Using cursor SSHed into replit. Trying to use MCP - installed MCP server (taskmaster, GitHub - eyaltoledano/claude-task-master: An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. ) in cursor MCP settings tab. But it can’t see / use the env variables for MCP. it can see the env vars for CLI use but doesn’t really function without the vars for MCP use.

the taskmaster models tool has output that looks like this, saying the keys are missing for MCP use:

{
  "data": {
    "activeModels": {
      "main": {
        "provider": "anthropic",
        "modelId": "claude-3-7-sonnet-20250219",
        "sweScore": 0.623,
        "cost": {
          "input": 3,
          "output": 15
        },
        "keyStatus": {
          "cli": true,
          "mcp": false 
        }
      },

Would definitely appreciate Cursor team fixing this!

Roo code can make it work. When ssh into a remote server, It can use the MCP located in project correctly.
But Cursor doesn’t.

Use cursor version 0.50.7 can solve this issue.

Can you describe how you think it’s solved? I think the issue still persists after V1.0. e.g. while closed, I think this issue is still open: Cursor version 0.47.5 not able to call Remote MCP server SSE endpoint - #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.