io.github.gradion-ai/ipybox

السجل الرسمي أدوات المطورين

Unified execution environment for Python code, shell commands, and programmatic MCP tool calls

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package ipybox
Claude Code
claude mcp add ipybox -- uvx ipybox==0.9.2 --workspace '<directory_path>' --sandbox --sandbox-config '<file_path>' --log-level '<DEBUG|INFO|WARNING|ERROR|CRITICAL>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "ipybox": {
            "command": "uvx",
            "args": [
                "ipybox==0.9.2",
                "--workspace",
                "<directory_path>",
                "--sandbox",
                "--sandbox-config",
                "<file_path>",
                "--log-level",
                "<DEBUG|INFO|WARNING|ERROR|CRITICAL>"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. ipybox
  2. Overview
  3. Documentation:
  4. Capabilities
  5. Usage

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:

Capabilities

CapabilityDescription
Stateful executionState persists across executions in IPython kernels
Unified executionCombine Python code, shell commands, and programmatic MCP tool calls in a code block
Shell command executionRun shell commands via !cmd syntax, capture output into Python variables
Programmatic MCP tool callsMCP tools called via generated Python API ("code mode"), not JSON directly
Python tool API generationTyped functions and Pydantic models generated from MCP tool schemas via mcpygen
Application-level approvalIndividual approval of tool calls and shell commands during code execution
Lightweight sandboxingOptional kernel isolation via Anthropic's sandbox-runtime
Local executionNo cloud dependencies, everything runs locally on your machine

Usage

ComponentDescription
Python SDKPython API for building applications on ipybox
MCP serveripybox as MCP server for code actions and programmatic tool calling
Claude Code pluginPlugin that bundles the ipybox MCP server and a code action skill

[!TIP] Freeact agent

Freeact is a general-purpose agent built on ipybox.

الأسئلة الشائعة

ما هو io.github.gradion-ai/ipybox؟

Unified execution environment for Python code, shell commands, and programmatic MCP tool calls

كيف أثبّت io.github.gradion-ai/ipybox؟

يعمل على جهازك. في Claude Code: claude mcp add ipybox -- uvx ipybox==0.9.2 --workspace '<directory_path>' --sandbox --sandbox-config '<file_path>' --log-level '<DEBUG|INFO|WARNING|ERROR|CRITICAL>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.gradion-ai/ipybox إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.gradion-ai/ipybox مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص Apache-2.0.

من يصون io.github.gradion-ai/ipybox؟

ينشره gradion-ai. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.