Unable to connect to MCP using STDIO transport!

Cursor MCP Logs:

2025-05-04 12:05:23.383 [info] adar: Handling ReloadClient action
2025-05-04 12:05:23.383 [info] adar: Cleaning up
2025-05-04 12:05:23.383 [info] adar: Starting new stdio process with command: env CONFIG_PATH=/■■■ reporadar mcp -r ■■■
2025-05-04 12:05:24.111 [error] adar: Client error for command SSE error: TypeError: fetch failed: connect ECONNREFUSED 127.0.0.1:3001, connect ECONNREFUSED ::1:3001
2025-05-04 12:05:24.111 [error] adar: Error in MCP: SSE error: TypeError: fetch failed: connect ECONNREFUSED 127.0.0.1:3001, connect ECONNREFUSED ::1:3001
2025-05-04 12:05:24.302 [info] adar: Successfully connected to stdio server
2025-05-04 12:05:24.302 [info] adar: Storing stdio client
2025-05-04 12:05:24.302 [info] adar: Successfully reloaded client
2025-05-04 12:05:24.303 [info] a ai: Handling ListOfferings action
2025-05-04 12:05:24.303 [error] a ai: No server info found
2025-05-04 12:05:24.304 [info] king: Handling ListOfferings action
2025-05-04 12:05:24.304 [error] king: No server info found
2025-05-04 12:05:24.304 [info] adar: Handling ListOfferings action
2025-05-04 12:05:24.304 [info] adar: Listing offerings
2025-05-04 12:05:24.304 [info] adar: Connected to stdio server, fetching offerings
2025-05-04 12:05:24.307 [info] listOfferings: Found 1 tools
2025-05-04 12:05:24.307 [info] adar: Found 1 tools, 0 resources, and 0 resource templates
2025-05-04 12:05:24.511 [error] adar: Client error for command SSE error: TypeError: fetch failed: connect ECONNREFUSED 127.0.0.1:3001, connect ECONNREFUSED ::1:3001
2025-05-04 12:05:24.511 [error] adar: Error in MCP: SSE error: TypeError: fetch failed: connect ECONNREFUSED 127.0.0.1:3001, connect ECONNREFUSED ::1:3001
2025-05-04 12:05:25.349 [error] rver: Client error for command SSE error: TypeError: fetch failed: connect ECONNREFUSED 127.0.0.1:3001, connect ECONNREFUSED ::1:3001

Cursor Version

Version: 0.49.6
VSCode Version: 1.96.2
Commit: 0781e811de386a0c5bcb07ceb259df8ff8246a50
Date: 2025-04-25T05:07:16.071Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0

As you can see in the logs it connects and disconnects immediately and tries to connect via SSE transport!

Nevermind, it weirdly got resolved on window reload.