Question: Issues with n8n-nodes-mcp
on VPS
Hi everyone,
I’m encountering an issue with the n8n-nodes-mcp
package on my VPS. I installed it using the community nodes feature in n8n, and I can see the folder inside the node_modules
directory. However, when I try to execute operations involving this package, I get the following error:
NodeOperationError: Failed to execute operation: The file or directory does not exist
Here are some details about my setup:
- Environment: VPS running Windows server
- n8n Version: 1.83.2
- Installation Method: Installed via community nodes
I’ve verified that the paths specified in my workflow are correct and that the files exist. I’ve also checked permissions and ensured that the environment variables are set correctly.
Has anyone else encountered this issue or have any suggestions on how to resolve it? Any help would be greatly appreciated!
{
"errorMessage": "Failed to execute operation: The file or directory does not exist",
"errorDetails": {},
"n8nDetails": {
"nodeName": "MCP Client",
"nodeType": "n8n-nodes-mcp.mcpClient",
"nodeVersion": 1,
"operation": "listTools",
"time": "21.03.2025, 12:47:13",
"n8nVersion": "1.83.2 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"NodeOperationError: Failed to execute operation: The file or directory does not exist",
" at ExecuteContext.execute (C:\\Users\\Administrator\\.n8n\\nodes\\node_modules\\n8n-nodes-mcp\\nodes\\McpClient\\McpClient.node.ts:561:10)",
" at processTicksAndRejections (node:internal/process/task_queues:105:5)",
" at WorkflowExecute.runNode (C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\n8n\\node_modules\\n8n-core\\src\\execution-engine\\workflow-execute.ts:1155:9)",
" at C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\n8n\\node_modules\\n8n-core\\src\\execution-engine\\workflow-execute.ts:1505:27",
" at C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\n8n\\node_modules\\n8n-core\\src\\execution-engine\\workflow-execute.ts:2064:11"
]
}
}
Workflow:
Thanks in advance, Roy