uv-mcp
The full uv toolchain for AI coding agents. Projects, dependencies, Python versions, virtual environments and tools, as safe, typed MCP tools.
One command
Section titled “One command”claude mcp add --scope user --transport stdio uv -- uvx uv-mcp-server@latestOr codex mcp add uv -- uvx uv-mcp-server@latest, or
gemini extensions install https://github.com/saadmanrafat/uv-mcp.
The only prerequisite is uv.
All clients.
What your agent gets
Section titled “What your agent gets”| Every uv command and option | 51 tools named after the CLI (uv_add, uv_sync, uv_run, uv_python_install, uv_tool_run, uv_pip_compile…), validated extra_args for every other option, uv_help to discover any option, and uv_command for everything else. |
| Structured results | success, exit_code, stdout, stderr and an actionable hint on failure; parsed package, Python and tool lists. |
| Diagnose and repair | uv_diagnose checks interpreter, lockfile, .venv and package consistency; uv_repair fixes what it finds. |
| Secure by design | No shell, argument-injection guards, secret redaction, honest MCP annotations, read-only mode, path confinement, dry-run publishing. |
| Runs in the right place | Always your project’s environment, never the server’s own; uv_info shows exactly where. |
| Context-friendly | Compact schemas, toolsets to load only what you need, bounded output. |
Works with
Section titled “Works with”Claude Code, Codex CLI, Gemini CLI (as an extension), Claude Desktop, Cursor, VS Code, OpenCode, and any client that speaks MCP over stdio.