gradion-ai/ipybox
gradion-ai/ipybox · 3 plugins
Marketplace Unified execution environment for Python code, shell commands, and programmatic MCP tool calls.
Install
The repo has no one-line install. Follow its README.
Plugins 3
After adding the marketplace, install one with /plugin install <name>@ipybox.
- 1codeact-defaultRuns ipybox without sandbox-runtime
/plugin install codeact-default@ipybox - 2codeact-sandboxRuns ipybox with sandbox-runtime
/plugin install codeact-sandbox@ipybox - 3codeact-dockerRuns ipybox as a Docker container
/plugin install codeact-docker@ipybox
Files
ipybox
mcp-name: io.github.gradion-ai/ipybox
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
| Capability | Description |
|---|---|
| Stateful execution | State persists across executions in IPython kernels |
| Unified execution | Combine Python code, shell commands, and programmatic MCP tool calls in a code block |
| Shell command execution | Run shell commands via !cmd syntax, capture output into Python variables |
| Programmatic MCP tool calls | MCP tools called via generated Python API ("code mode"), not JSON directly |
| Python tool API generation | Typed functions and Pydantic models generated from MCP tool schemas via mcpygen |
| Application-level approval | Individual approval of tool calls and shell commands during code execution |
| Lightweight sandboxing | Optional kernel isolation via Anthropic's sandbox-runtime |
| Local execution | No cloud dependencies, everything runs locally on your machine |
Usage
| Component | Description |
|---|---|
| Python SDK | Python API for building applications on ipybox |
| MCP server | ipybox as MCP server for code actions and programmatic tool calling |
| Claude Code plugin | Plugin that bundles the ipybox MCP server and a code action skill |
{
"name": "ipybox",
"version": "0.0.2",
"description": "Code action plugins for Claude Code using ipybox",
"owner": {
"name": "gradion-ai"
},
"plugins": [
{
"name": "codeact-default",
"source": "./plugin",
"description": "Runs ipybox without sandbox-runtime ",
"version": "0.0.2",
"keywords": [
"codeact",
"python",
"mcp",
"ipybox"
],
"mcpServers": {
"ipybox": {
"command": "uvx",
"args": [
"ipybox",
"--workspace",
"${PWD}"
]
}
}
},
{
"name": "codeact-sandbox",
"source": "./plugin",
"description": "Runs ipybox with sandbox-runtime",
"version": "0.0.2",
"keywords": [
"codeact",
"python",
"mcp",
"ipybox",
"sandbox"
],
"mcpServers": {
"ipybox": {
"command": "uvx",
"args": [
"ipybox",
"--workspace",
"${PWD}",
"--sandbox",
"--sandbox-config",
"sandbox-config.json"
]
}
}
},
{
"name": "codeact-docker",
"source": "./plugin",
"description": "Runs ipybox as a Docker container",
"version": "0.0.2",
"keywords": [
"codeact",
"python",
"mcp",
"ipybox",
"docker"
],
"mcpServers": {
"ipybox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"${PWD}:/app/workspace",
"ipybox"
]
}
}
}
]
}Facts
- Kind
- Marketplace
- Repo
- gradion-ai/ipybox
- Group
- Uncategorized
- Marketplace name
- ipybox
- Owner
- gradion-ai
- License
- Apache-2.0
- Language
- Python
- Created
- 2024-12-03
- Forks
- 19
- Homepage
- gradion-ai.github.io/ipybox
- Topics
- claude-code-plugin, code-execution, code-interpreter, code-mode, code-sandbox, ipython, mcp, mcp-client, mcp-server, programmatic-tool-calling, python, sandbox-runtime
- Plugins
- 3
- 1f/prompts.chatf/prompts.chatf.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
- 2affaan-m/everything-claude-codeaffaan-m/everything-claude-codeThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
- 3obra/superpowersobra/superpowersAn agentic skills framework & software development methodology that works.
- 4anthropics/skillsanthropics/skillsPublic repository for Agent Skills
- 5anthropics/claude-codeanthropics/claude-codeClaude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
- 6nextlevelbuilder/ui-ux-pro-max-skillnextlevelbuilder/ui-ux-pro-max-skillAn AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
