Feedback

ipybox MCP Server

@gradion-ai Claim

Basic information

Runtime
Python
Version
1.0.0
Category
License
Apache-2.0
Transports
stdio
Author
gradion-ai
Submitted by
Community
Stars
69

About ipybox MCP Server

ipybox enables secure Python code execution with stateful IPython kernels, real-time output, file operations, and robust network controls in Docker.

ipybox is a MCP server in the Analytics Data category listed in the AddMCP.net directory, published by gradion-ai. It exposes 4 tools, including execute_ipython_cell, upload_file, download_file, reset. Supported transport: stdio. Runtime: Python. License: Apache-2.0. The repository has 69 GitHub stars. Source code is hosted on github.com. Related topics: analytics-data, community, developer-tools.

Setup

{
    "mcpServers": {
        "ipybox": {
            "command": "uvx",
            "args": [
                "ipybox",
                "mcp"
            ]
        }
    }
}

ipybox MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "ipybox": {
            "command": "uvx",
            "args": [
                "ipybox",
                "mcp"
            ]
        }
    }
}

ipybox MCP Server tools

  • execute_ipython_cell — Execute Python code in a stateful IPython kernel within a Docker container. The kernel maintains state across executions - variables, imports, and definitions persist between calls. Each execution builds on the previous one, allowing you to build complex workflows step by step. Use '!pip install package_name' to install packages as needed. The kernel has an active asyncio event loop, so use 'await' directly for async code. DO NOT use asyncio.run() or create new event loops. Executions are sequential (not concurrent) as they share kernel state. Use the reset() tool to clear the kernel state and start fresh. Returns: str: Output text from execution, or empty string if no output.
  • upload_file — Upload a file from the host filesystem to the container's /app directory. Makes a file from the host available inside the container for code execution. The uploaded file can then be accessed in execute_ipython_cell using the path '/app/{relpath}'.
  • download_file — Download a file from the container's /app directory to the host filesystem. Retrieves files created or modified during code execution from the container. The file at '/app/{relpath}' in the container will be saved to the specified location on the host. Parent directories are created automatically if they don't exist.
  • reset — Reset the IPython kernel to a clean state. Creates a new kernel instance, clearing all variables, imports, and definitions from memory. Installed packages and files in the container filesystem are preserved. Useful for starting fresh experiments or clearing memory after processing large datasets.

Overview

What is ipybox?

Provides secure Python code execution in Docker containers with stateful IPython kernels, real-time output streaming, file operations, and network firewall controls for safe AI agent code execution environments.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬