pyenv-manager-mcp
Provides tools for managing Python versions via pyenv, including listing installed and available versions, installing specific versions, and setting global or local Python versions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pyenv-manager-mcp List installed Python versions and show the current one."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pyenv-manager-mcp
An MCP server for managing Python versions via pyenv.
Requirements
Related MCP server: MCP Python Interpreter
Installation
Linux / macOS
Add to your MCP config:
{
"mcpServers": {
"pyenv-manager": {
"command": "uv",
"args": ["--directory", "/path/to/pyenv-manager-mcp", "run", "pyenv-manager-mcp"]
}
}
}Windows (via WSL)
{
"mcpServers": {
"pyenv-manager": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"export PATH=/home/<user>/.pyenv/bin:/home/<user>/.pyenv/shims:/home/<user>/.local/bin:/usr/local/bin:/usr/bin:/bin && cd /mnt/c/path/to/pyenv-manager-mcp && uv run pyenv-manager-mcp"
]
}
}
}Tools
Tool | Description |
| List installed Python versions |
| Get the currently active Python version |
| List versions available to install (supports optional |
| Install a specific Python version |
| Set the global Python version |
| Set the local (directory) Python version |
Available Tools
6 toolsget_current_versionA
Get the currently active Python version (pyenv version).
Inputs: no named parameters. Returns: result
install_versionB
Install a specific Python version using pyenv.
Args:
version: The exact version string to install (e.g., '3.12.2').
Inputs: version (required). Returns: result
list_available_downloadsA
List all Python versions available for installation via pyenv.
Args:
filter: Optional string to filter versions (e.g., '3.12' to show only 3.12.x versions).
Inputs: filter. Returns: result
list_versionsA
List all Python versions installed locally via pyenv.
Inputs: no named parameters. Returns: result
set_global_versionA
Set the global Python version for pyenv.
Args:
version: The version string to set globally (e.g., '3.12.2').
Inputs: version (required). Returns: result
set_local_versionA
Set the local directory Python version (.python-version).
Args:
version: The version string to set locally (e.g., '3.12.2').
Inputs: version (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool maps to a distinct pyenv operation: listing installed versions, showing the active version, listing downloadable versions, installing, and setting global/local versions. There is minimal overlap, and the descriptions clearly separate installed from available versions.
Tool names consistently follow a predictable verb_noun pattern: list_*, get_*, install_*, set_*. Even though list_available_downloads uses 'downloads' instead of 'versions', the naming style remains uniform and easy to navigate.
Six tools is a well-scoped set for a pyenv manager. Each tool covers a necessary core operation without unnecessary bloat or redundant additions.
The tool surface covers listing, installing, and setting versions, but notably lacks uninstall/remove functionality, which is a standard pyenv lifecycle operation. Agents can work around it, but version cleanup is a meaningful gap.
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Read and write KukGit repositories, files, issues and pull requests from an AI assistant.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Plan Salesforce deploys, open pull requests and trigger pipelines from your AI client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to manage Python environments and dependencies via uv, supporting package inspection, installation, and requirement management.19 PyPI4MIT
- FlicenseNot gradedqualityAmaintenanceEnables LLMs to interact with Python environments, run code and scripts, manage packages, and read or write files within a configured working directory.-
- FlicenseNot gradedqualityAmaintenanceEnables LLMs to interact with Python environments, execute code, manage packages, and perform file operations within a configurable working directory.-
- FlicenseNot gradedqualityAmaintenanceEnables LLMs to interact with Python environments, execute code or scripts, manage packages, and read/write files within an isolated working directory.-