uv-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| UV_MALWARE_CHECK | No | Enable uv's optional malware check for sync operations with UV_MALWARE_CHECK=1. | |
| UV_MCP_CACHE_DIR | No | Documentation cache directory; defaults to the XDG cache directory. | |
| UV_MCP_LOG_LEVEL | No | Logging level, default INFO. | INFO |
| UV_MCP_UV_BINARY | No | Explicit path to the uv executable. | |
| UV_MCP_VENV_PATH | No | Default virtual environment path. | |
| UV_MCP_COMMAND_TIMEOUT | No | Optional uv command timeout in seconds. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| auditC | Audit project dependencies for known vulnerabilities and adverse statuses. |
| tool_auditB | Audit installed uv tools for known vulnerabilities. |
| update_cacheB | Update the cached UV documentation. |
| search_documentationB | Search cached UV documentation. |
| create_virtualenvB | Create a virtual environment and optionally install packages. |
| compare_environmentsA | Compare installed packages between two virtual environments. |
| check_installationA | Check whether uv is installed and report its version. |
| install_instructionsA | Return platform-specific instructions for installing uv. Returns: Installation instructions for the current operating system. |
| diagnose_environmentB | Diagnose a project's metadata, lockfile, and environment consistency. |
| repair_environmentB | Recreate a project's virtual environment and synchronize it. |
| self_healB | Repair an environment with a reinstall-first strategy. |
| pipB | Run an arbitrary uv pip command. |
| pip_installC | Install a package using uv pip. |
| pip_uninstallB | Uninstall a package using uv pip. |
| pip_listA | List packages installed by uv pip. |
| pip_compileB | Compile a requirements input file into a pinned requirements file. |
| pip_syncC | Synchronize an environment to a requirements file. |
| pip_freezeB | Freeze installed packages into requirements syntax. |
| runC | Run a command or script in the project environment. |
| initB | Create a new project. |
| addC | Add a dependency to the current project. |
| removeA | Remove a dependency from the current project. |
| syncC | Synchronize the project environment. |
| lockB | Update the project's lockfile. |
| run_scriptB | Run a PEP 723 script with uv. |
| run_toolC | Run an ephemeral tool through uv. |
| export_requirementsB | Export the project lockfile to a requirements format. |
| buildB | Build source and wheel distributions for a project. |
| publishB | Publish project distributions to the configured package index. |
| bump_versionA | Bump a project's version using |
| manifestA | Read a project's |
| dependency_treeA | Display the project's dependency tree. |
| format_codeB | Format Python code with an ephemeral Ruff installation. |
| python_listA | List Python installations known to uv. |
| python_installB | Install a managed Python version. |
| python_pinC | Pin a Python version in a project. |
| python_findA | Find the path of a Python interpreter. |
| python_upgradeC | Reinstall a managed Python version. |
| python_uninstallA | Uninstall a managed Python version. |
| python_dirB | Show a uv-managed Python directory. |
| self_versionA | Return the installed uv version. |
| self_updateB | Update the uv executable. |
| cache_cleanA | Clear all cache entries, or entries associated with a package. |
| cache_pruneB | Prune dangling cache entries and environments. |
| cache_dirA | Return uv's cache directory. |
| cache_sizeA | Return uv's cache directory and its size in bytes. |
| tool_installB | Install a package as a globally available uv tool. |
| tool_upgradeA | Upgrade one uv tool, or all tools when no name is given. |
| tool_listA | List globally installed uv tools. |
| tool_uninstallA | Uninstall a globally installed uv tool. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| summarize_docs | Generate a prompt for summarizing cached UV documentation. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| installed_packages | List of all installed packages and versions. |
| outdated_packages | List of installed packages with newer versions available. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yriveiro/uv-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server