
Ipybox
io.github.gradion-aiPublished by GitHub account gradion-aiv0.9.2Updated Oct 24, 2026
Unified execution environment for Python code, shell commands, and programmatic MCP tool calls
Overview
Runs Python code, shell commands, and MCP tool calls in a stateful local IPython kernel.
- What you can do
- Ipybox provides a unified execution environment where a single code block can mix Python code, shell commands, and programmatic MCP tool calls. State persists across executions in an IPython kernel, and shell output can be captured into Python variables. It generates typed Python APIs and Pydantic models from MCP tool schemas, and supports application-level approval of individual tool calls and shell commands. Kernels can optionally be sandboxed with sandbox-runtime for filesystem and network restrictions.
- When to use it
- Useful when an assistant needs to run multi-step Python or shell work with persistent state, or to call MCP tools through generated Python APIs instead of raw JSON. It suits local workflows that need protected access to local data and tools, and can be added as an MCP server for code actions and programmatic tool calling.
- Requirements
- Runs locally as a stdio process, installed from PyPI as ipybox and started with uvx. No authentication, environment variables, or headers are declared. Optional sandboxing uses sandbox-runtime. Desktop only; no web executable.
Installation
In SourceWeft
- Open Ipybox in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ipybox
mcp-name: io.github.gradion-ai/ipybox
[Website] [PyPI - Version] [GitHub Release] [GitHub Actions Workflow Status] [GitHub License]
ipybox is a unified execution environment for Python code, shell commands, and programmatic MCP tool calls.
Overview
ipybox executes code blocks in a stateful IPython kernel. A code block can contain any combination of Python code, shell commands, and programmatic MCP tool calls. Kernels can be sandboxed with sandbox-runtime, enforcing filesystem and network restrictions at OS level.
It generates Python APIs for MCP server tools via mcpygen, and supports application-level approval of individual tool calls and shell commands during code execution. ipybox runs locally on your computer, enabling protected access to your local data and tools.
[!NOTE] Next generation ipybox
This is the next generation of ipybox, a complete rewrite. Older versions are maintained on the 0.6.x branch and can be obtained with
pip install ipybox<0.7.
Documentation:
- 📚 Documentation
- 🏗️ Architecture
- 🤖 llms.txt
- 🤖 llms-full.txt
Capabilities
Usage
[!TIP] Freeact agent
Freeact is a general-purpose agent built on ipybox.
Source: README.md at commit 264ed6c
Tools
0Version history
1- v0.9.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts