Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UV_MALWARE_CHECKNoEnable uv's optional malware check for sync operations with UV_MALWARE_CHECK=1.
UV_MCP_CACHE_DIRNoDocumentation cache directory; defaults to the XDG cache directory.
UV_MCP_LOG_LEVELNoLogging level, default INFO.INFO
UV_MCP_UV_BINARYNoExplicit path to the uv executable.
UV_MCP_VENV_PATHNoDefault virtual environment path.
UV_MCP_COMMAND_TIMEOUTNoOptional uv command timeout in seconds.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
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 uv version.

manifestA

Read a project's pyproject.toml using the standard library.

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

NameDescription
summarize_docsGenerate a prompt for summarizing cached UV documentation.

Resources

Contextual data attached and managed by the client

NameDescription
installed_packagesList of all installed packages and versions.
outdated_packagesList of installed packages with newer versions available.

Latest Blog Posts

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