Uv
БесплатноНе проверенEnables LLMs to manage Python environments and dependencies via uv, supporting package inspection, installation, and requirement management.
Описание
Enables LLMs to manage Python environments and dependencies via uv, supporting package inspection, installation, and requirement management.
README
A Model Context Protocol (MCP) server for interacting with Python installations via uv, the fast Python package installer.
Overview
uv-mcp provides LLMs with direct access to inspect and manage Python environments through the uv package manager. This allows AI assistants to help with Python dependency management, environment inspection, and troubleshooting tasks.
Features
- Environment Inspection: Query installed packages and their versions
- Dependency Resolution: Check compatibility between packages
- Environment Comparison: Identify differences between local and cloud/production environments
- Requirement Management: Parse and validate requirements files
- Package Information: Retrieve metadata about PyPI packages
- Virtual Environment Management: Create and manage virtual environments
How It Works
uv-mcp implements the Model Context Protocol to expose Python environment data and package management functionality through standardized resources and tools.
Resources
python:packages://installed- List of all installed packages and versionspython:packages://outdated- List of installed packages with newer versions availablepython:packages://{package_name}/latest- Latest versions available for a packagepython:packages://{package_name}/dependencies- List of dependencies for a specific packagepython:requirements://{file_path}- Parsed content of requirements files
Tools
run(command: str[])- Run a command or scriptinit()- Create a new projectadd(package_name: str, version: Optional[str])- Add dependencies to the projectremove(package_name: str)- Remove dependencies from the projectsync(dry_run: bool)- Install all declared dependencies, uninstall anything not declaredlock()- Update the project's lockfilepip(command: str[])- Run a pip commandpip_install(package_name: str, version: Optional[str])- Install a package using pippip_uninstall(package_name: str)- Uninstall a package using pippip_list()- List all installed packages using pip
Usage
To start the server:
uvx uv-mcp
Development
This project is built with the MCP Python SDK and uv.
Установка Uv
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/dmclain/uv-mcpFAQ
Uv MCP бесплатный?
Да, Uv MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Uv?
Нет, Uv работает без API-ключей и переменных окружения.
Uv — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Uv в Claude Desktop, Claude Code или Cursor?
Открой Uv на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Uv with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
