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
In addition to the
run_python_codetool, an additional tool, such asinstall_python_dependencieswould be extremely helpful. Currently, when used as an MCP server, dependencies can only be specified in the client'smcp.jsonfile 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 editmcp.jsonand restart themcp-run-pythonserver when a particular chat needs additional dependencies. With the new tool, a minimal set of dependencies can be specified inmcp.jsonand additional requirements can be dynamically installed at runtime.Workflow preserving read-only
node_modulesrun_python_codeand fails due to the lack of a dependencyinstall_python_dependencieswith a list of dependencies to installdenoruntime is stoppeddenowith write permissionsdenoruntime is started in read-only mode with the new dependenciesrun_python_code, which succeeds with the new dependencies