You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
In addition to the run_python_code tool, an additional tool, such as install_python_dependencies would be extremely helpful. Currently, when used as an MCP server, dependencies can only be specified in the client's mcp.json file using --deps. The user has to either choose an all-encompassing set of dependencies that leads to unnecessary bloat for most chats, or have to edit mcp.json and restart the mcp-run-python server when a particular chat needs additional dependencies. With the new tool, a minimal set of dependencies can be specified in mcp.json and additional requirements can be dynamically installed at runtime.
Workflow preserving read-only node_modules
Model calls run_python_code and fails due to the lack of a dependency
Model calls install_python_dependencies with a list of dependencies to install
The existing read-only deno runtime is stopped
The specified dependencies are installed using deno with write permissions
A new deno runtime is started in read-only mode with the new dependencies
The model retries run_python_code, which succeeds with the new dependencies