
ipybox
by gradion-ai·★ 74·综合分 46
一个统一的执行环境,支持 Python 代码、Shell 命令和 MCP 工具调用,基于 IPython 内核。
概述
ipybox 是一个全面的执行环境,通过 IPython 内核实现有状态的代码执行,允许在单个环境中无缝集成 Python 代码、Shell 命令和程序化 MCP 工具调用。它通过 Anthropic 的 sandbox-runtime 提供可选的轻量级沙箱功能,确保安全性的同时保持对本地数据和工具的访问。项目使用 mcpygen 为 MCP 服务器工具生成 Python API,并在执行期间提供工具调用和 Shell 命令的应用级别审批机制。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当你需要一个包含 Python、Shell 命令和 MCP 工具的统一环境,具有沙箱和审批控制时,选择 ipybox,尤其适合构建安全的 AI 应用。
什么时候不要选它
如果你需要纯 JavaScript/TypeScript 执行环境,或者寻找的是托管云服务而非本地执行解决方案,则应避免使用 ipybox。
此 server 暴露的工具
从 README 抽取出 4 个工具execute_pythonExecute Python code in a stateful IPython kernel
execute_shellExecute shell commands with captured output
mcp_tool_callCall MCP tools programmatically via generated Python API
create_code_actionCreate code actions for modifying files or content
说明:Tools inferred from the capabilities section which mentions programmatic MCP tool calls and shell command execution, but exact tool names are not explicitly listed in the README.
可对比工具
安装
安装
pip install ipyboxClaude Desktop 配置
添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"ipybox": {
"command": "python",
"args": ["-m", "ipybox.mcp_server"]
}
}
}FAQ
- ipybox 是什么?
- ipybox 是一个统一的执行环境,将 Python 代码、Shell 命令和程序化 MCP 工具调用集成在有状态的 IPython 内核中,并支持可选的沙箱功能。
- ipybox 与传统 IPython 有何不同?
- ipybox 扩展了传统 IPython,增加了程序化 MCP 工具调用、命令审批机制和可选的沙盒功能,以提高安全性。
ipybox 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。