Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

venv-mcp-server

MCP.Pizza Chef: sparfenyuk

venv-mcp-server is an MCP server designed to reliably manage Python virtual environments by resolving dependencies and updating them automatically. It addresses the challenge that LLMs face in handling virtual environment dependencies on their own, providing a stable and hallucination-free solution. It integrates with tools like Cline and Claude Desktop, enabling seamless virtual environment control via command-line interfaces.

Use This MCP server To

Automatically resolve and update Python virtual environment dependencies Integrate virtual environment management into LLM-powered workflows Enable LLMs to manage project dependencies reliably without hallucinations Use command-line tools to control virtual environments in real time Support development environments with consistent dependency states Facilitate dependency updates triggered by LLM commands

README

venv-mcp-server

The MCP server which solves the following problem: LLMs are not able to resolve dependencies and update the virtual environment on their own reliably. With simple list of tools, venv-mcp-server makes it possible.

Integrations

Cline / Claude Desktop

{
  "mcpServers": {
    "venv-management-for-my-project": {
      "command": "uvx",
      "args": [
        "--from=git+https://github.com/sparfenyuk/venv-mcp-server.git",
        "venv-mcp-server"
      ]
    }
  }
}

Command-line arguments

$ uvx --from git+https://github.com/sparfenyuk/venv-mcp-server.git venv-mcp-server --help
usage: venv-mcp-server [-h] [--uv-path UV_PATH]

A MCP server to manage a virtual environment in the given location using 'uv'

options:
  -h, --help         show this help message and exit
  --uv-path UV_PATH  Path to uv executable. Default is the 'uv' command in your PATH.

venv-mcp-server FAQ

How does venv-mcp-server ensure reliable dependency management?
It uses a stable, tested approach to resolve and update virtual environment dependencies, avoiding hallucinations common in LLMs.
Can venv-mcp-server be integrated with other MCP clients?
Yes, it integrates with MCP clients like Cline and Claude Desktop for seamless virtual environment control.
What command-line options does venv-mcp-server support?
It supports options like --uv-path to specify the virtual environment location and -h for help.
Is venv-mcp-server limited to Python environments?
Yes, it is designed specifically to manage Python virtual environments using 'uv'.
How does venv-mcp-server improve LLM workflows?
By reliably managing dependencies, it enables LLMs to execute code and manage environments without errors caused by missing or outdated packages.
Does venv-mcp-server handle dependency conflicts?
It aims to maintain a consistent environment by resolving dependencies reliably, reducing conflicts during updates.
Is the server open source and where can I find it?
Yes, it is open source and available on GitHub at https://github.com/sparfenyuk/venv-mcp-server.git.