Can't find the uvx executable
Symptoms: Error messages like Could not connect to MCP server dbt-mcp, Error: spawn uvx ENOENT, or spawn uvx ENOENT in your MCP client.
Cause: Your MCP client (like Claude desktop) can't find uvx in its PATH because it starts with a limited environment.
Solution: Use the full path to uvx in your configuration.
-
Find the full path:
- macOS/Linux: Run
which uvxin Terminal. - Windows: Run
where uvxin Command Prompt or PowerShell.
- macOS/Linux: Run
-
Replace
"command": "uvx"with the full path:
{
"mcpServers": {
"dbt": {
"command": "/full/path/to/uvx",
"args": ["dbt-mcp"],
"env": { }
}
}
}
Example on macOS with Homebrew: "command": "/opt/homebrew/bin/uvx"
For VS Code (mcp.json), the same fix applies — replace uvx with its full path in the command field.
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
0