Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
MCP (Model Context Protocol) tools configured for SSH-MCP are not appearing in the available tools list for the AI assistant, even though the MCP server is properly configured in .cursor/mcp.json. This is a regression issue - SSH MCP worked perfectly before the latest Cursor update. As a senior DevOps engineer, I was successfully using MCP tools to execute commands on remote servers through the AI assistant. However, after the latest update, it stopped working completely.
Steps to Reproduce
- Configure SSH-MCP server in
.cursor/mcp.jsonfile (configuration provided below) - Restart Cursor (if needed)
- Open a chat with the AI assistant
- Ask the AI assistant to execute a command on the remote server using MCP tools
- The AI assistant reports that MCP tools are not available in its tool list
- Only
list_mcp_resourcesandfetch_mcp_resourceare available, but not the actual MCP tool execution functions (likeexec)
Steps to Reproduce
Steps to Reproduce
- Create or edit
.cursor/mcp.jsonfile in your workspace root directory - Add the SSH-MCP server configuration (see configuration below)
- Save the file
- Restart Cursor completely (close all windows and reopen)
- Open a new chat with the AI assistant (Cmd/Ctrl + L or click Chat icon)
- Ask the AI assistant to execute a command on the remote server, for example:
- “Use SSH-MCP to execute the command ‘ls’ on the remote server”
- “Connect to the server via SSH-MCP and run ‘pwd’”
- “Use MCP tools to list files in the home directory on the remote server”
- Observe that the AI assistant responds that MCP tools are not available
- The AI assistant will report that only
list_mcp_resourcesandfetch_mcp_resourceare available, but not the actual MCP tool execution functions (likeexecormcp_ssh-mcp_exec)
SSH-MCP Package Information:
The ssh-mcp package is an npm package that implements a Model Context Protocol (MCP) server for secure remote command execution via SSH.
- Package name:
ssh-mcp - Installation source: npm (https://www.npmjs.com/package/ssh-mcp)
- Installation method: The package is automatically downloaded via
npxwhen Cursor starts (usingnpx -y ssh-mcp) - Package location: Downloaded to
C:\Users\Yuri\AppData\Local\npm-cache\_npx\...(verified working) - GitHub repository: GitHub - tufantunc/ssh-mcp: MCP server exposing SSH control for Linux servers via Model Context Protocol. (or similar implementations)
- Main tool:
exec- for executing shell commands on remote servers
Expected Behavior
After configuring SSH-MCP in .cursor/mcp.json and restarting Cursor, the AI assistant should have access to MCP tools from the ssh-mcp server. Specifically:
- MCP tools should be automatically available to the AI assistant when configured in
.cursor/mcp.json - The
exectool (or similarly named tool likemcp_ssh-mcp_exec,mcp_kwork-ai-gemini-ssh-mcp_exec) should appear in the AI assistant’s available tools list - The AI assistant should be able to execute commands on the remote server through MCP tools without needing to use the local terminal
- When asked to execute a command, the AI should successfully call the MCP tool and return the command output from the remote server
Example of expected successful interaction:
- User: “Use SSH-MCP to execute ‘ls’ on the remote server”
- AI: [Calls MCP exec tool with command=“ls”]
- AI: “Here are the files in the remote server’s home directory: [output from remote server]”
Operating System
Windows 10/11
Version Information
cursor ide 2.4.21
For AI issues: which model did you use?
Auto
Does this stop you from using Cursor
Yes - Cursor is unusable