You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Windows as my operating system and running WSL within Visual Studio as my coding environment. I'm currently working through the basic "example server" tutorial from the MCP documentation (https://modelcontextprotocol.io/quickstart/server), but the MCP server doesn't seem to start when using the Claude Desktop app.
I've followed all the steps in the guide, and while the tools are accessible through the latest Interpreter tool, the server still isn’t spawning. I'm attaching the config file for reference.
2025-04-05T20:35:33.613Z [weather] [info] Initializing server... 2025-04-05T20:35:33.634Z [weather] [error] spawn /home/sourabh/.local/bin/uv ENOENT {"context":"connection","stack":"Error: spawn /home/sourabh/.local/bin/uv ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"} 2025-04-05T20:35:33.635Z [weather] [error] spawn /home/sourabh/.local/bin/uv ENOENT {"stack":"Error: spawn /home/sourabh/.local/bin/uv ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"} 2025-04-05T20:35:33.639Z [weather] [info] Server transport closed 2025-04-05T20:35:33.639Z [weather] [info] Client transport closed 2025-04-05T20:35:33.640Z [weather] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. console.error('...')in JavaScript,print('...', file=sys.stderr)in python) and it will appear in this log. 2025-04-05T20:35:33.640Z [weather] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
above are the logs from the Claude Desktop MCP Server.
I tried different combination of path, tried relative path as well(although it is not recommended) its still getting stucked.
The text was updated successfully, but these errors were encountered:
These are the mcp server that i made in Cursor, and it is working totally fine. Just change command to 'uv' in your server configuration. Probably it'll work.
I was getting the same error and I fixed it by using the absolute path to my uv installation. @agarwalsourabh55 what's the ouptut when you execute this in your terminal? You need to make sure uv path used is the right one.
Hi,
I'm using Windows as my operating system and running WSL within Visual Studio as my coding environment. I'm currently working through the basic "example server" tutorial from the MCP documentation (https://modelcontextprotocol.io/quickstart/server), but the MCP server doesn't seem to start when using the Claude Desktop app.
I've followed all the steps in the guide, and while the tools are accessible through the latest Interpreter tool, the server still isn’t spawning. I'm attaching the config file for reference.
2025-04-05T20:35:33.613Z [weather] [info] Initializing server... 2025-04-05T20:35:33.634Z [weather] [error] spawn /home/sourabh/.local/bin/uv ENOENT {"context":"connection","stack":"Error: spawn /home/sourabh/.local/bin/uv ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"} 2025-04-05T20:35:33.635Z [weather] [error] spawn /home/sourabh/.local/bin/uv ENOENT {"stack":"Error: spawn /home/sourabh/.local/bin/uv ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"} 2025-04-05T20:35:33.639Z [weather] [info] Server transport closed 2025-04-05T20:35:33.639Z [weather] [info] Client transport closed 2025-04-05T20:35:33.640Z [weather] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e.
console.error('...')in JavaScript,
print('...', file=sys.stderr)in python) and it will appear in this log. 2025-04-05T20:35:33.640Z [weather] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
above are the logs from the Claude Desktop MCP Server.
I tried different combination of path, tried relative path as well(although it is not recommended) its still getting stucked.
The text was updated successfully, but these errors were encountered: