# venv-mcp-server

- [venv-mcp-server](#venv-mcp-server)
  - [Integrations](#integrations)
    - [Cline / Claude Desktop](#cline--claude-desktop)
  - [Command-line arguments](#command-line-arguments)

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

```json
{
  "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

```terminal
$ 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.
```
