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
Describe the bug
The mcp install server.py adds a simple uv command to the config. However, this doesnt work on my macOS system. I always need to provide the full uv path even though i have set it up in my $PATH.
To Reproduce
Steps to reproduce the behavior:
Use MCP server from Quickstart
mcp install server.py
appears in claude config
When launching Claude Desktop: Failed to start MCP server: Could not start MCP server Demo: Error: spawn uv ENOENT
Expected behavior
For most people it seems to work with just "uv". I want that as well.
Desktop (please complete the following information):
OS: macOS 15.3
The text was updated successfully, but these errors were encountered:
As documented in the MCP Quick Start, it is the user's responsibility to specify the full path to the uv executable in the claude_desktop_config.json:
You may need to put the full path to the uv executable in the command field. You can get this by running which uv on MacOS/Linux or where uv on Windows.
Another approach would be to configure the PATH environment variable for application launches using OS-specific mechanisms (such as launchd on macOS).
Potential Automation
Currently, the command is hardcoded as "uv" in the update_claude_config function:
While automatic path detection in python-sdk might be possible, it would be unreliable because the environment where update_claude_config runs may have different PATH settings than Claude Desktop's runtime environment.
Describe the bug
The
mcp install server.py
adds a simpleuv
command to the config. However, this doesnt work on my macOS system. I always need to provide the full uv path even though i have set it up in my $PATH.To Reproduce
Steps to reproduce the behavior:
mcp install server.py
Failed to start MCP server: Could not start MCP server Demo: Error: spawn uv ENOENT
Expected behavior
For most people it seems to work with just "uv". I want that as well.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: