drio
Open app

uv-mcp-server

Source

Stable virtual env management. No hallucinations.

Catalog onlyCatalog onlySTDIO

Overview

uv-mcp-server is a server that utilizes the uv tool to manage Python dependencies in a stable virtual environment, ensuring no hallucinations during the process.

To use uv-mcp-server, install it using the command provided in the installation section, and then run the server with the appropriate options to manage your Python dependencies.

  • Stable management of Python virtual environments - No hallucinations during dependency management - Easy installation and usage through command line
  1. Managing Python dependencies for various projects.
  2. Creating isolated environments for different applications.
  3. Ensuring consistent and reliable dependency management across development and production.

Add to your AI client

Use these steps to connect uv-mcp-server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "uv-mcp-server-sparfenyuk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-uv-mcp-server-sparfenyuk"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "uv-mcp-server-sparfenyuk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-uv-mcp-server-sparfenyuk"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "uv-mcp-server-sparfenyuk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-uv-mcp-server-sparfenyuk"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "uv-mcp-server-sparfenyuk": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-uv-mcp-server-sparfenyuk"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "uv-mcp-server-sparfenyuk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-uv-mcp-server-sparfenyuk"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "uv-mcp-server-sparfenyuk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-uv-mcp-server-sparfenyuk"
      ]
    }
  }
}

FAQ

What is the purpose of uv-mcp-server?

It is designed to manage Python dependencies in a stable virtual environment.

How do I install uv-mcp-server?

You can install it using the command: `uv tool install git+https://github.com/sparfenyuk/uv-mcp-server --reinstall`.

Can I run multiple instances of uv-mcp-server?

Yes, you can run multiple instances by specifying different root paths for each instance.

uv-mcp-server — MCP Registry