MCP.so
登录

Uv MCP Server

@dmclain

基本信息

分类

其他

传输方式

stdio

作者

dmclain

关于 Uv MCP Server

MCP server for introspection of python environments

Uv MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "uv-mcp": {
      "command": "uvx",
      "args": [
        "uv-mcp"
      ]
    }
  }
}

Uv MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is uv-mcp?

uv-mcp is a Model Context Protocol (MCP) server that gives LLMs direct access to inspect and manage Python environments using the fast Python package installer uv. It is built for developers and AI assistants that need to handle Python dependency management, environment inspection, and troubleshooting tasks programmatically.

How to use uv-mcp?

Start the server by running uvx uv-mcp in your terminal. Once running, it exposes Python environment data and package management functions as standardized MCP resources and tools that any MCP client can consume.

Key features of uv-mcp

  • Query installed packages and their versions
  • Check compatibility between packages
  • Identify differences between local and production environments
  • Parse and validate requirements files
  • Retrieve metadata about PyPI packages
  • Create and manage virtual environments

Use cases of uv-mcp

  • An AI assistant resolves dependency conflicts in a Python project by inspecting installed packages and checking compatibility.
  • Identify outdated packages and automatically generate an upgrade plan.
  • Compare the packages in a local development environment with a CI or production environment.
  • Parse and validate a requirements.txt file for correctness before deployment.
  • Automate the creation and setup of a new virtual environment for a project.

常见问题

1

What is the purpose of uv-mcp?

uv-mcp is an MCP server that allows LLMs to interact with Python installations via the uv package manager, enabling tasks like inspecting environments, managing dependencies, and running pip commands.

2

How do I start the uv-mcp server?

Run the command `uvx uv-mcp` in your terminal. This launches the server using the uvx runner.

3

What resources does uv-mcp expose?

It exposes resources such as the list of installed packages, outdated packages, latest versions, dependencies of a package, and parsed content of requirements files.

4

What tools does uv-mcp provide?

It provides tools to run commands, initialize a project, add/remove dependencies, sync/lock environments, and execute pip operations (install, uninstall, list, pip commands).

5

What are the runtime dependencies of uv-mcp?

The server is built with the MCP Python SDK and requires uv (the Python package manager) to be installed on the system.

评论

其他 分类下的更多 MCP 服务器